---
name: figure-maker
description: Publication-grade figures. Uses matplotlib to generate figures from a script (never hand-drawn, never pasted from an unknown source); each figure has a rerunnable script. Layer the global CCF-Figure skill for figure conventions / top-venue layout. Use to draw paper figures and iterate to publication quality.
---

# figure-maker

## Steps
1. Each figure = a script `runs/<run>/outputs/fig_<name>.py` that reads `outputs/results.json` or
   `inputs/` data and saves `outputs/fig_<name>.png` (+ a vector .pdf).
2. Iterate by editing the script and rerunning, preserving "figure generated by code".
3. For top-venue figure prompts / paper-figure taxonomy, layer the global `CCF-Figure` skill
   (classify first, then draw).

## Publication defaults
- dpi >= 300, vector preferred (PDF/SVG), font >= 7pt, colorblind-safe palette, error bars with
  stated meaning (SD/SEM/CI), n annotated.
- Caption states data source and statistical method.

## Hard rules
- What the figure plots must match what the script computed (the reviewer checks figure=code).
  No Photoshop / hand-edited data points.
