figures4papers-playbook
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Locate and adapt real plotting examples from the figures4papers repository. Use when users ask for a figure in the style of specific papers/projects, want the closest existing script template, or need fast script selection by chart type/domain before customization.
2installs
Sourcel-yifan/skills
Added on
NPX Install
npx skill4agent add l-yifan/skills figures4papers-playbookTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Figures4papers Playbook
Use this skill to find the closest figures4papers example and convert it into a user-specific plotting script quickly.
Workflow
- Parse user intent into chart type and domain (for example: grouped bar + benchmark comparison).
- Run to shortlist candidate scripts.
scripts/example_locator.py - Read for folder-level context and naming patterns.
references/example_index.md - Choose one base script and adapt data, labels, and file outputs.
- If style consistency is required, co-use for final polishing.
scientific-figure-pro
Locator Script
Use keyword and chart filters:
bash
python skills/figures4papers-playbook/scripts/example_locator.py --keyword bar --chart-type grouped_barOutput includes:
- Folder and domain.
- Matching script paths.
- Recommended run commands.
- Notes about the intended figure purpose.
Selection Rules
- Prefer exact chart-type match first.
- Then prefer domain match (biomed, LLM eval, vision survey, etc.).
- If no exact match exists, choose the simplest script with nearest visual grammar.
- Keep output paths under a dedicated directory in the target project.
figures/
References
- : curated index of available figure folders and scripts.
references/example_index.md
Handoff Pattern
After locating a base script, provide:
- Selected template path.
- What to replace (data arrays, labels, colors, limits).
- Command to run.
- Expected output files (and
.png)..pdf