scientific-figure
Installation
SKILL.md
Scientific Figure
Compose publication-quality multi-panel figures at exact journal dimensions (mm/pt), validate font sizes against journal minima before export, and write PDF/PNG that the journal will accept without resize.
Why this skill exists
The previous react-pdf workflow had two structural failures:
- Composition did not respect physical size. Flexbox layout shifted dimensions in subtle ways during render.
- Fonts shrank below readable thresholds. When content overflowed, react-pdf uniformly scaled the entire figure, sometimes pushing axis labels under 4 pt.
This skill replaces that workflow. Panels are placed at exact mm coordinates, text is preserved as SVG <text> elements so font sizes are inspectable before export, and the validator rescales individual panels rather than the whole figure when a font minimum is violated.