Logo: PaperFig

PaperFig

CommunautéitBeléift
WUBING2023
paperFig

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.

Iwwersiicht

EditeurWUBING2023
RepositoryPaperSpine
Skill-NummpaperFig
Stären
6.5K
Forks
260
Matgeliwwert Dateien
12
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 12 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    WUBING2023 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill PaperFig an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/WUBING2023/PaperSpine/tree/main/paperspine5/core/02_PaperFigure/02_paperFig_skill
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/WUBING2023/PaperSpine.git /tmp/PaperSpine
mkdir -p .claude/skills
cp -r /tmp/PaperSpine/paperspine5/core/02_PaperFigure/02_paperFig_skill .claude/skills/paperFig
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert PaperFig an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet PaperFig automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass PaperFig net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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:

powershell
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 claim the figure carries;
  • reading order and panel hierarchy;
  • data-to-mark mapping;
  • evidence density and use of full distributions;
  • color and annotation logic;
  • what should be transferred, adapted, or rejected.

Do not copy labels, biological content, or decorative forms that do not serve the project's claim.

3. Write the figure design brief

Before coding, define:

  • one-sentence figure claim;
  • panel list and question answered by each panel;
  • main evidence panel and supporting panels;
  • data source and statistical unit for every panel;
  • visual grammar for every panel;
  • consistent palette and entity mapping;
  • target dimensions and export formats.

If the figure cannot be explained as a short evidence chain, simplify or reorder it before adding detail.

4. Build from actual project sources

Reuse and refactor existing plotting code rather than retyping calculations. Read model source code when drawing architecture. Use the actual project data unless the user explicitly asks for a schematic prototype.

Preserve:

  • paired observations and group structure;
  • exact analysis definitions;
  • uncertainty and statistical tests;
  • meaningful units and axis transforms;
  • sorting/ranking rules;
  • local-signal alignment;
  • color identity across the figure suite.

Never substitute arbitrary random data in a final scientific result figure. Random data is acceptable only for a clearly labeled layout prototype.

5. Design architecture and multi-panel figures

Follow references/architecture-and-multipanel-design.md.

The primary architecture panel must expose the real computation. For a Transformer, show token/input construction, positional information, LayerNorm, multi-head attention, residual Add/Norm, feed-forward layers, repeat count, shapes when known, and output heads. For other models, show the equivalent actual modules rather than forcing a Transformer template.

Tie architecture contributions to measured evidence when appropriate:

  • input/channel evidence;
  • ablation cost;
  • local reconstruction track;
  • scale or attention utilization;
  • objective decomposition;
  • efficiency or robustness.

6. Apply a unified visual system

Use one typography system, one panel-letter convention, stable margins, consistent entity colors, and a controlled palette. Keep measured data plots vector-native through Matplotlib/SVG/PDF. For new schematics, use the current FigMirror default img2ppt_hybrid: audit the AI source before conversion, rebuild scientific text, arrows, frames, and rule-based nodes as native PowerPoint objects, replace declared complex objects with real text-free image assets, then run post-conversion scientific and visual review. Choose high_resolution_raster when a raster-first image is the explicit delivery fit, and direct_vector when the venue or collaboration contract requires live vector objects. These routes change the editable medium, not the scientific story or the obligation to inspect final pixels.

Retain real names and units when scientifically relevant. Do not remove or generalize them merely for visual tidiness.

7. Export and validate

Follow references/scientific-visual-qa.md.

Run:

powershell
python scripts/validate_research_figures.py `
  --pdf "<output.pdf>" `
  --render-dir "<work-dir>/rendered" `
  --expected-pages <n> `
  --report "<output-dir>/FIGURE_QA.json"

Visually inspect every page or figure. Inspect the densest architecture figure and at least one data-heavy figure at full resolution.

Revise until there are no clipped labels, overlapping legends, inconsistent units, missing panel letters, empty groups, misleading scales, unreadable references, or rasterization defects.

Deliverables

Provide the artifacts appropriate to the request:

  • data figures: final vector PDF/SVG plus 300 dpi PNG;
  • schematics by default: publication PNG plus editable PPTX, retained source assets, conversion manifests, scientific/visual QA, and lineage;
  • raster-first PNG/TIFF plus editable annotation source when high_resolution_raster was explicitly selected;
  • vector PDF/SVG when direct_vector was explicitly selected;
  • complete plotting source code;
  • figure manifest and source map;
  • design brief or rationale for major figures;
  • machine-readable QA report;
  • optional reference-vs-redraw comparison PDF when requested.

Keep earlier variants unless the user explicitly asks to replace them.

Completion standard

The task is complete only when:

  • each final panel has a verified scientific purpose;
  • code and data provenance are recorded;
  • values, statistics, labels, and units match the source analysis;
  • reference influence is explained rather than merely copied;
  • the visual hierarchy is clear at page view and details are legible close up;
  • output files compile/render successfully;
  • the final response links all deliverables with absolute paths.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill PaperFig?

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.

Firwat PaperFig op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. PaperFig besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech PaperFig an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/WUBING2023/PaperSpine/tree/main/paperspine5/core/02_PaperFigure/02_paperFig_skill an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen PaperFig benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat PaperFig benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir PaperFig domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill PaperFig gratis?

Jo. WUBING2023 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇