figure-bible
Installation
SKILL.md
Figure Bible
Authors one figures/theme.json per project: the palette, typography, composition rules, and image-model preferences that every figure, icon, and plot should share.
This is step zero.
Run it before any generation skill produces output, not after.
When to use
- Starting a new paper, grant, or poster and no
figures/theme.jsonexists yet. - The user wants a consistent look across many figures (same colors, same font cue, same AI model settings).
- A generation or QA skill reports palette drift (
check_svg.py/check_raster.pyfindingpalette_off) and the project has no bible to point them at.
Skip it for a single one-off figure with no reuse; the generation skill's own defaults are fine there.
Scripts
Both scripts live in scripts/ (relative to this skill's base directory) and import the plugin's shared lib/theme.py by resolving their own path, so they work from a plugin install or a checkout.
Scaffold a theme: