Skip to content
Skillpedia
Images & icons6.2k · #14409

paperFig

What it does

This skill creates scientific figures for papers from plotting code and real project data, and checks their output. It is for researchers who need clear, accurate figures for a manuscript.

When to use it

  • ✓When you need a publication-quality figure built from your plotting code and data.
  • ✓When you want to recreate the layout of a reference figure with your own data.
  • ✓When you need a multi-panel figure or a model architecture diagram for a paper.

Skill link

https://github.com/WUBING2023/PaperSpine/blob/main/paperspine5/core/02_PaperFigure/02_paperFig_skill/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/WUBING2023/PaperSpine/blob/main/paperspine5/core/02_PaperFigure/02_paperFig_skill/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Make a publication-quality figure from my results CSV that shows the accuracy of the three models in separate panels, as PDF and SVG.”

5 new skills a week. 1 minute to read.

How it works

The skill inventories your code and data, plans the story and layout of the figure, and then builds it with a consistent visual style. It renders the outputs as PDF, SVG and PNG and checks them before delivery.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

paperFig

Create scientifically faithful, publication-quality figures through a repeatable process from evidence inventory to final render QA.

This skill governs the research-figure process only. It does not include anonymization, data perturbation, synthetic replacement, identifier removal, or privacy guarantees. If the user separately requests those operations, treat them as an additional workflow with an explicit data-release contract; do not silently mix them into ordinary scientific plotting.

Mandatory routing

Read the following references before acting:

  • references/research-figure-process.md for the phase-by-phase workflow.
  • references/reference-deconstruction.md before imitating or adapting a reference figure.
  • references/architecture-and-multipanel-design.md for model diagrams or compound figures.
  • references/scientific-visual-qa.md before final generation and delivery.

Use the PDF skill whenever a PDF is read, created, or reviewed. Use the spreadsheets skill when the main source is an XLSX workbook requiring inspection or transformation.

Trigger conditions

Use this skill when the user asks to:

  • create or improve scientific, academic, or paper figures;
  • locate the plotting code and data behind figures in a PDF or directory;
  • reproduce the visual logic of public reference figures with project data;
  • build a model architecture, Transformer diagram, mechanism schematic, or evidence-backed workflow panel;
  • redesign benchmark, ablation, transfer, interpretability, or mechanism figures;
  • assemble a consistent multi-figure suite or reference-vs-redraw atlas;
  • standardize an existing plotting project into a reusable process.

Do not use it for generic illustration, ordinary photo editing, UI design, or privacy/anonymization as the primary objective.

Core principles

  1. Scientific truth before aesthetics. Preserve actual data, statistics, units, pairing, uncertainty, sample size, ordering, and analysis logic.
  2. Reference mechanism, not superficial copying. Identify why the reference persuades and transfer that mechanism to the new scientific claim.
  3. Source traceability. Every final panel must map to plotting code and data inputs, or be explicitly marked as a schematic.
  4. One panel, one job. Each panel answers a distinct scientific question.
  5. Complexity must be earned. Dense figures need a clear reading path and evidence hierarchy; decorative complexity is not rigor.
  6. Render verification is mandatory. A script that runs is not a finished figure until the exported artifact has been visually inspected.

Inputs

Discover these from the project before asking the user:

  • reference PDF/images and local citation/index notes;
  • existing paper figures, drafts, and rejected variants;
  • plotting scripts, notebooks, helper modules, and style files;
  • CSV/TSV/XLSX/JSON/NPY/NPZ inputs and generated caches;
  • model source code for architecture details;
  • paper section, claim, or result that the figure must support;
  • target venue, column width, page size, and output formats.

Ask only when a missing choice materially changes the scientific story, such as which result is primary or whether a panel is schematic versus measured.

Workflow

1. Inventory figures, code, and data

Run:

python scripts/inspect_figure_project.py --root "<project-root>" --output "<work-dir>/source-map.md"

Manually verify important mappings. Filename similarity is only a candidate; imports, data reads, savefig paths, and visual comparison are stronger evidence.

Create or update a figure manifest based on assets/figure_manifest.example.json. Every requested figure records:

  • figure/panel ID;
  • scientific question and intended conclusion;
  • public reference(s);
  • existing figure(s);
  • plotting source;
  • data inputs;
  • statistical transformation;
  • output files;
  • verification status.

For tabular medical sources that match the FigMirror clinical-cbc contract, run figmirror.py render-data-study before candidate finalization. Treat its data_profile.json, analysis_summary.csv, and data_binding.json as derived evidence, not replacements for the read-only source workbook. Never infer units, reference intervals, clinical thresholds, or repeated-person identity when the workbook does not provide them.

2. Deconstruct the references

Follow references/reference-deconstruction.md.

For each reference, document:

  • what cl
FAQ

Will it trace the figure to my data?

Yes, the skill traces each figure back to its source code and inputs.

What file types can it output?

It renders PDF, SVG and PNG outputs.

Does it include anonymizing data?

No, the description says the skill covers the research figure process only, not data anonymizing.

Details

Original description by the author

Design, implement, revise, and validate publication-quality scientific figures from references, existing plotting code, and real project data. Trace every figure to source code and inputs; deconstruct reference figures; plan the scientific story and multi-panel structure; build complex model architecture and statistical panels; enforce a consistent visual system; and render-verify PDF/SVG/PNG outputs. Use for 科研配图, 论文配图, 找图的源代码, 参考图复刻与改造, 模型框架图, 多面板主图, figure redesign, or standardizing a research-figure process.

repo: WUBING2023/PaperSpine

Popularity

GitHub stars
6.2k
Ranking position
#14409
License
MIT
Updated
10/14/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills