name: method-figure description: Design and draw clean, easy-on-the-eyes methods / pipeline / study-overview figures for research papers and theses: numbered stage panels with simple drawn icons, very short captions and arrows, exported as 300-dpi PNG, PDF and editable SVG. Includes a JSON-driven matplotlib template with an icon library (datasets, images, models, layers, chips, devices, metrics). Use this whenever someone wants a methodology figure, pipeline diagram, workflow or framework overview, "Figure 1" study overview, or graphical summary of an experiment, or wants an existing methods figure made cleaner, more readable or less cluttered, even if they don't call it a pipeline.
Method figure
A methods figure lets a reader understand the study design at a glance, before reading the Methods section. Most bad ones fail the same way: too much text, too many details, too many colors, and boxes that all look alike. This skill makes figures that read like a short visual story: a few numbered stages, each with a simple drawing and a 3–4 word caption.
The rules below came out of several rounds of review on a real paper figure. Each one says why, so you can apply it to cases not listed here.
Workflow
- Get the stages from the methods. Ask for the Methods text or a description of the pipeline if you don't have it. Group the steps into 4–6 stages: fewer and the figure says nothing, more and it becomes a flowchart nobody reads.
- Agree on the text before drawing. Propose a short outline: each panel's title, 1–3 caption lines and the icons. Ask "does this match your study?". Wording is cheaper to change now than after the drawing.
- Draw with
scripts/method_figure.pyand a JSON spec (format inreferences/spec.md; a full example is inassets/example_spec.json):
It writespython <skill folder>/scripts/method_figure.py my_spec.json <output folder><name>.png(300 dpi),.pdfand.svg. It needs only Python and matplotlib. - Look at the result. Open the PNG and check it against the checklist at the end of this file. Fix overflow and crowding by changing a slot
widthor iconsizein the spec, or by cutting words, not by shrinking fonts. - Show it and ask. Say briefly what each panel shows and ask whether the user agrees. Expect a few rounds: users often delete details once they see them drawn, which is a good sign.
If the user prefers another tool (draw.io, PowerPoint, Inkscape, TikZ, Figma), the same rules apply: use the template's look (assets/example.png) as the reference and rebuild it there.
Design rules
Content: say less
- 3–4 words per caption line; at most 3 lines per panel. Details belong in the figure caption and the Methods text. A panel caption names what happens, not how.
- Cut implementation details. For example: image sizes after resizing, file formats, library names, "about 4× smaller", the name of a statistical test, the number of training runs, version numbers. A reader of the figure doesn't need them; the Methods section has them. When unsure, leave it out and offer it as a possible addition.
- Replace jargon with plain words. "Group-aware 70/30 split" became "70/30 split" in review; the Methods text explains the grouping.
- Write the alternatives you compare as "A vs B", e.g. "Linear probe vs fine-tuning", "PTQ vs QAT vs hybrid", "Original vs enhanced". It tells the reader at once what the experiment compares; a comma list doesn't.
- One line instead of a list. Three device configurations became "3 emulated devices", with the details drawn as labeled icons.
- Every number must be true. Take counts, sizes and percentages from the paper, never estimate them. If the paper changes, the figure must change too.
Pictures: draw, don't write
- Each panel gets simple drawn icons that show the idea: folders for data sources, a funnel for filtering, stacked images for a dataset, a layer stack for a model (gray with a snowflake if frozen), a dense block becoming a chip for compression, monitors of growing size for devices, a target, stopwatch and RAM stick for accuracy, time and memory. The full list is in
references/spec.md. - Icons are drawn from basic shapes, not imported images or icon fonts. That avoids licensing questions in a journal figure, and it keeps one consistent line weight and color.
- Label icons with one or two small words ("probe", "fine-tune", "accuracy"). Check the metaphor fits the label: a target suits "accuracy" better than "recall", which is why that label was changed in review.
- Small arrows inside a panel show a sub-flow (raw → resized → two versions). Large dark arrows between panels show the main order.
Look: calm and consistent
- One color per stage group, each with a light fill (header band), a mid tone (icons) and a dark tone (title, outlines). Stages of the same kind share a color. Use at most about 5 hues; the template's palette is muted and distinguishable for common color-vision deficiencies.
- Neutral everything else: dark gray text, gray panel borders, a white background.
- One sans-serif font (Arial by default). Sizes at final print size: titles 9 pt bold, captions 7.6 pt, icon labels about 5.8 pt. Don't go below 5.5 pt.
- Size for the journal page. 3 columns = 7.2 in wide (a double-column figure); 2 columns = 4.8 in. Don't scale the image down afterwards, which shrinks the fonts below readable size; change the columns instead.
- Reading order is a snake: the top row left to right, then down, then the next row right to left. That keeps every arrow short. Number the panels so the order is never in doubt.
Output
- Deliver PNG (300 dpi) for submission, PDF (vector) for LaTeX, and SVG with editable text (
svg.fonttype: none), so the user can fix a word in Inkscape or PowerPoint without you. - Rerunning the script overwrites the SVG. Ask whether anyone has edited it by hand before regenerating, and carry their edits into the spec first.
- Draft the figure caption too: one sentence on what the figure shows, which panels are done the same way for any secondary dataset, and every abbreviation used in the panels.
Checklist before showing the result
- 4–6 numbered panels, the reading order obvious from the arrows.
- No caption line over 4 words; no panel with more than 3 lines.
- No text overflows a panel or overlaps an icon or arrow.
- Every compared alternative is written "A vs B".
- Every number matches the paper.
- Every icon label fits its picture.
- Every abbreviation is defined in the figure caption.
- Width fits the journal page; no font below 5.5 pt.
- PNG, PDF and SVG written.