figures4papers-playbook
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
scripts/example_locator.pyto shortlist candidate scripts. - Read
references/example_index.mdfor folder-level context and naming patterns. - Choose one base script and adapt data, labels, and file outputs.
- If style consistency is required, co-use
scientific-figure-profor final polishing.
Locator Script
Use keyword and chart filters:
python skills/figures4papers-playbook/scripts/example_locator.py --keyword bar --chart-type grouped_bar
Output 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
figures/directory in the target project.
References
references/example_index.md: curated index of available figure folders and scripts.
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 (
.pngand.pdf).
More from l-yifan/skills
scientific-figure-pro
Generate publication-ready scientific figures in Python/matplotlib with a consistent figures4papers house style. Use when creating or refining academic bar/trend/heatmap/scatter/multi-panel figures, enforcing visual consistency, or exporting paper-ready PNG/PDF/SVG outputs.
31deep-wiki
Access AI-generated documentation and insights for GitHub repositories via DeepWiki. This skill should be used when exploring unfamiliar codebases, understanding repository architecture, finding implementation patterns, or asking questions about how a GitHub project works. Supports any public GitHub repository.
25gkg
Global Knowledge Graph for codebase analysis. This skill should be used when searching for code definitions (functions, classes, methods), finding references to symbols, understanding code structure, analyzing import usage, generating repository maps, or performing impact analysis before refactoring. Supports TypeScript, JavaScript, Python, Java, and more.
21gh-grep
Search real-world code examples across millions of GitHub repositories using grep.app. This skill should be used when looking for implementation patterns, API usage examples, library integration patterns, or production code references. Supports literal code search, regex patterns, and filtering by language/repo/path.
18github
Interact with GitHub repositories, issues, pull requests, and code via the GitHub MCP server. This skill should be used when managing repositories, creating/updating files, working with issues and PRs, searching code/repos/users, creating branches, and performing code reviews. Supports all major GitHub API operations.
16context7
Fetch up-to-date documentation and code examples for any library or framework. Use when needing API references, code examples, library documentation, or framework guides. Supports React, Next.js, MongoDB, Supabase, and thousands of other libraries.
13