/fignimble:fignimble-journalfrom fignimble
Restyles Fignimble project figures for journal submission: sets column widths, fonts, minimum text sizes, panel labels, and resolutions. Fixes preflight issues like small text, low-res images, out-of-bounds elements, and colorblind-unfriendly colors. Exports PDF/EPS/TIFF at required DPI with CMYK or outlined text.
Ships in fignimble. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Follow the fignimble skill for the figure language and its rules (load it if it is installed). Find the
fignimble command first (command -v fignimble, else
/Applications/Fignimble.app/Contents/Resources/bin/fignimble).
style.py already uses (Style.journal("...")). fignimble journals
lists the 71 journals (biology, chemistry and materials science: ACS, RSC, Elsevier, Wiley too) with their widths, fonts, minimum sizes, label style and dpi, and how each number was checked
(against the guidelines, from summaries, or the publisher's usual values). Tell the user to check the journal's
current guidelines for anything marked as not checked.Table
files) have no column width to meet: skip the width step for them. Run fignimble check first to see where
things stand.The look of every figure comes from style.py, so restyling is mostly one line there:
STYLE = Style.journal("cell", labels=Labels.journal("cell"), palette="okabe-ito")
Keep the project's own palette and any Labels(...) overrides the user chose (dx=, dy=, format=) unless the
journal's rules contradict them. Then, for each figure:
Figure(width=...) to one of the journal's column widths (single, 1.5, double) from
fignimble journals. If the width changes, scale the positions of the figure's elements to fit, keeping the
arrangement; a fig.layout(...) only needs its w. Keep numbers literal and round them to 0.5 mm.fignimble check # every figure; exit status 1 while problems remain
fignimble info fig1.py # where each element is, and the warnings for one figure
Fix each warning at its cause:
guides="collect"). Don't set fontsize= in panel code.size= to the minimum, or remove the size= so the style's size applies.fignimble snapshot and the user's eyes.pixel_size= from the microscope (the picture's metadata had none), or
check which is right when it disagrees with the metadata.Re-run fignimble check and open fignimble snapshot FIG.py for each figure after the changes: restyling can make
labels collide that didn't before.
fignimble export fig1.py fig1.pdf --journal cell # vector, editable text
fignimble export fig1.py fig1.tiff --journal cell # raised to the journal's dpi (line art / combination)
fignimble export fig1.py fig1.eps --journal cell --cmyk --outline # only if the journal or printer asks
fignimble export fig1.py fig1-dark.pdf --dark # for talks
Export what the journal asks for (many take PDF; some want TIFF or EPS). The command prints the resolution it measured;
report it. Put the exports where the user asks (e.g. submission/), not in .fignimble/. --cmyk, --outline and
EPS conversions need Ghostscript (brew install ghostscript); say so if it is missing.
If the journal asks for source data, fignimble source-data fig1.py writes the values plotted in each panel to
fig1_source_data.xlsx, one sheet per panel. Check each panel's sheet: what couldn't be read back (shaded areas,
violins) is noted there; give that panel a source_data(...) function next to draw returning the data it plots.
Tables go to the journal as text, not pictures: fignimble export table1.py table1.docx for each Table file (Word,
with its title and notes; .xlsx if the journal asks for spreadsheets). A table drawn inside a figure:
fignimble table fig1.py N tableN.docx (N is the element number fignimble info shows). Table files restyle with
style.py like figures; their preflight (values that show as 0.000, mixed decimals, a missing title) is fixed in the
Table(...) call: decimals=, title=.
Per figure: the width chosen, what changed, which warnings were fixed and how, any left for the user (a picture that needs a better scan, a panel that can't fit its content at the column width), and the files written with their measured resolution.
What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/fignimbleEdit, build and check publication figures and conference posters in a Fignimble project, where every figure is a Python file that places panels, pictures, text and arrows in millimeters and every panel is matplotlib code. Covers how a project is laid out, the figure language (fig.panel, fig.image, fig.layout with patchwork-style | / + composition, fig.text, fig.arrow, fig.figure, Style, Labels), the rules that keep a figure draggable on the Fignimble canvas, and how to look at your own work (fignimble snapshot, info, check, export). Use whenever you work in a folder with a fignimble Figure (a .py file with `from fignimble import *`), or the user asks to make, change, restyle, lay out, check or export a figure, table or poster with Fignimble./fignimble-from-notebookTurn the plots of a Jupyter notebook, a Python analysis script, or a folder of matplotlib/seaborn scripts into Fignimble panels and assemble them into a publication figure: move each plot's code into a panel function that draws into the figure Fignimble gives it, strip figsize, font sizes, savefig and plt.show, share data loading through @cached, then lay the panels out and check the result. Use when asked to "turn this notebook's plots into a figure", "make figure 2 from analysis.ipynb", "convert my plotting scripts to Fignimble panels", or "rebuild this published figure from the authors' code"./fignimble-new-figureMake a new multi-panel publication figure with Fignimble from data files and a description of what each panel should show: start a project if there is none, write one matplotlib panel file per kind of plot, place the panels (by hand or as a patchwork-style layout), annotate, then render a snapshot, look at it, and fix what preflight reports until the figure is clean. Use when asked to "make a figure", "build figure 2 from these CSVs", "add a volcano plot as panel c", "lay out these plots as a 3 by 2 grid", or "start a Fignimble project for my paper"./fignimble-new-tableMake a table of a paper (Table 1, Supplementary Table 2) with Fignimble: a Table file of its own whose cells come from a data file, from rows written in the code, or from a function that computes them from the analysis (a pandas DataFrame works), with a title, units in the headers, consistent decimals and footnotes; check it with preflight and export it as the editable Word (or Excel) table journals ask for. Use when asked to "make table 1", "make a table of the top 20 genes", "turn this DataFrame into a table for the paper", "add a supplementary table", or "export my tables as Word"./fignimble-posterMake a conference poster with Fignimble from a paper's own figures: a poster is a Fignimble figure at a poster size (A0, A1, 48x36, 36x48, ...) that places the paper's figures whole with fig.figure, so it is drawn from their code and keeps up with them, plus a title band, text sections from Markdown files, and a QR code; then checks it at printed size and exports a PDF with bleed and crop marks or a PowerPoint slide. Use when asked to "make a poster", "make an A0 poster from fig1 and fig2", "turn my paper into a poster", or "export my poster for the print shop".npx claudepluginhub pachterlab/fignimble --plugin fignimbleOther plugins' skills for the same job