academic-figures
Installation
SKILL.md
Academic Figures — Publication-Quality Chart Generator
Generate figures from JSON/CSV data. Local execution, no data leaves the machine.
One command, verified output:
python3 scripts/gen_figure.py -t bar -d data.json -o fig.pdf --theme okabe-ito --verify
# exit 0 = rendered + no real text overlap; exit 2 = overlaps found (fix, don't ship)
Quick Start
# Bar chart with colorblind-safe palette (recommended for all submissions)
python3 scripts/gen_figure.py -t bar -d data.json -o figure.png --theme okabe-ito \
--title "图2 主标题 / Subtitle" --ylabel "准确率 Accuracy (%)"
# Forest plot for meta-analysis (PDF output)
python3 scripts/gen_figure.py -t forest -d forest.json -o forest.pdf --theme okabe-ito