Skills

Figure Style

Publication-grade figure correctness and legibility rules for final-deliverable figures...

Install

npx skills add Boom5426/Nature-Paper-Skills --skill figure-style -g -a claude-code -y
Category
Testing
Updated
22d ago
License
Apache-2.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Publication-grade figure correctness and legibility rules for final-deliverable figures, not every plot. Quick look or iterating on the analysis (EDA scatters, sanity-check histograms)? Plot plainly without this skill. Producing a figure that ships, report, paper, export, or kept artifact, load this skill first and call `apply_figure_style()`, sets a role-mapped font-size ladder, outward ticks, frameless legends, and 300-dpi output. The skill is a checklist, not a house look: data fidelity (claim-titles tested against every row, excluded data never enters summaries), label economy (floor and ceiling), color threading, chart-choice-by-data-shape, layout, and a render-then-verify QA loop (bbox collision + per-panel perceptual check). Ships helpers: focal_palette, bar_with_points, strip_with_median, end_of_line_labels, panel_letter, set_frame, panel_crops. For figure planning (one claim per figure, panel roles) use `figure-planner`; for the full Nature figure production workflow use `nature-figure`.

Publication-Grade Figure Rules

A checklist for correct, legible, internally-consistent scientific figures. This skill does not impose a visual house style, frame, font, and palette are parameters. Once loaded, call apply_figure_style() before plotting.

Dependencies

The prose checklist (§0, §9) is dependency-free: it is guidance you apply by hand. The kernel.py helpers require matplotlib, numpy, and scipy (scipy.stats.t, used by bar_with_points(errorbar="ci95") for the t-distribution 95% CI). In a plain skill install the helpers are not auto-loaded by a host kernel; load them explicitly before calling apply_figure_style() and the other helpers, e.g. exec(open("kernel.py").read()) or import the module (import kernel).

§0 Scope

Load trigger: this skill is for final-deliverable figures, those shipping in a report, paper, or export, or saved as an artifact the user will keep, not for exploratory/intermediate plots (quick looks, EDA, sanity checks), which are drawn plainly without it. Once loaded, "every plot" below means every plot you render toward the deliverable.

§1, §3, §8, and §9 are correctness, they apply to every plot, in every context, and have no aesthetic content. §4, §7 are guidance, defaults that produce a clean result but that a deliberate alternative can override (individual rules inside §4, §7 that state a factual/perceptual invariant, e.g. §4.4 semantic-zero centering, §4.5 CVD, §6.9 leader anchoring, still bind). On its own, this skill is the inner tier (make one plot good); figure-planner supplies per-figure planning (one claim per figure, panel roles) and nature-figure supplies the full multi-panel, whole-paper production workflow.


§1 Data fidelity & self-consistency

Read the whole SKILL.md on GitHub

More in Testing