Academic Figure Workflow
Use this skill for academic and thesis figures. Choose the method by figure type, evidence needs, editability, and reproducibility. For data-backed plots, also prepare the paragraph-level figure argument so正文 text can explain the plot's purpose, quantitative pattern, and implication.
Boundaries
Do:
- Plan figure claims, panels, captions, source files, and exports.
- Create SVG mechanism figures, Draw.io engineering diagrams, and reproducible Matplotlib figures.
- Validate that every visual element traces to evidence, data, code, manuscript text, or user-approved facts.
- For data-backed plots, act as a visualization advisor first: inspect the data and figure argument before choosing or drawing a chart.
Do not:
- Invent data, mechanisms, system modules, experimental results, labels, or visual evidence.
- Use AI image generation without the explicit gate in
ai-image-generation-gate.md.
- Call a figure submission-ready when labels overlap, source files are missing, or evidence trace is incomplete.
Intake
Collect:
- figure purpose and target chapter or section;
- audience and manuscript language;
- source facts: text, evidence table, codebase facts, data columns, equations, or rough sketch;
- target examples, journal/school guide, or lab style guide when available;
- target venue stage: draft, thesis insertion, initial submission, final accepted artwork, or repository supplement;
- output format: SVG, Draw.io, PNG, PDF, DOCX insertion, or source plus export;
- style constraints: grayscale, journal style, school template, colour restrictions, font, size;
- AI image generation permission when relevant.
Before drawing, plotting, generating, or exporting, ask for missing materials that would materially improve figure quality:
Required or high-value materials:
Missing materials:
Can proceed without them: yes/no
Fallback if unavailable:
If key evidence is missing, stop at a figure specification, storyboard, or provisional template until the user confirms execution.
Method Selection
| Figure type |
Default method |
| Mechanism diagrams, conceptual models, moderately complex scholarly schematics |
SVG |
| Workflow, use-case, module, architecture, ER/data-flow, software process diagrams |
Draw.io |
| Data-driven plots or multi-panel quantitative figures |
Data-visualization advisor flow plus Matplotlib Nature-grade protocol with source data, editable SVG/PDF export, and final raster preview |
| Photorealistic, illustrative, texture-like, or hard-to-specify visual assets |
OpenAI image generation after user confirmation |
| Simple numeric comparison |
Native table or chart in manuscript tool |
Read figure-method-selection.md when a figure could be created in more than one way.
Core Rules
- Draw only what the evidence, codebase, experiment, or user-approved concept supports.
- Make every panel serve a scientific claim, method step, result contrast, or design decision.
- Prefer editable source files:
.svg for SVG and .drawio for Draw.io.
- Export publication formats only after the editable source is accepted.
- Keep labels concise and consistent with manuscript terminology.
- Record assumptions and unresolved evidence instead of filling gaps visually.
- Ensure figure text remains readable at final DOCX/PDF insertion size and remove text that should not appear inside the figure.
- Prefer Draw.io for workflow and process diagrams; preserve user-edited
.drawio styling unless a redraw is explicitly requested.
- Preserve formulas, superscripts/subscripts, and notation in labels, captions, tables-as-figures, and exports.
Workflow
- Define the figure claim, target section, source facts, method, output files, and validation checks.
- For complex, multi-panel, submission-bound, code-backed, or data-backed figures, apply figure-argument-contract.md.
- For submission-quality or journal-facing figures, apply publication-visual-standards.md, export-and-editability-standards.md, and accessibility-and-color-standards.md.
- For data-backed plots, chart-choice questions, user-provided CSV/Excel/DataFrame files, or risky user-specified chart types, apply data-visualization-advisor.md before plotting.
- For正文 narration of a data-backed plot, also apply the writing-workflow reference for data-figure body analysis so the manuscript states the figure role, best/worst region, concentration or sparsity, and supported conclusion.
- For Nature-style or multi-panel Matplotlib figures, apply nature-matplotlib-protocol.md, multi-panel-layout-patterns.md, and chart-type-visual-standards.md.
- For SVG mechanism diagrams or Draw.io engineering diagrams, apply svg-and-drawio-diagrams.md; for Draw.io code-backed or engineering diagrams, also apply drawio-engineering-diagram-standards.md.
- For image plates, photographs, microscopy, heatmaps over images, or mixed raster/vector panels, apply image-panel-integrity.md.
- For AI-generated bitmap assets, apply ai-image-generation-gate.md before generation.
- When a venue-specific requirement, external visual example, or numeric artwork standard matters, apply publisher-visual-source-map.md and verify the current official guide when possible.
- Apply notation-and-conversion-integrity-gate.md when figure labels, formulas, superscripts/subscripts, citations, or cross-references may be converted.
- For any submission-quality generated or revised figure, apply rendered-figure-qa.md before calling it ready.
- Provide the editable source, exports if generated, caption draft, placement recommendation, evidence/code trace, rendered QA result, and unresolved issues.
Validation
Before finishing:
- confirm the method matches the figure type;
- inspect generated source files when possible;
- check label overlap, readability, export integrity, and editability;
- inspect a rendered PNG preview at intended final size for submission-quality figures;
- verify final-size readability, font consistency, line weight, colour meaning, grayscale or colour-blind-safe interpretation, and caption/description handoff when relevant;
- report the editable source path, especially
.drawio paths for workflow diagrams;
- trace each panel, node, edge, label, plotted value, or annotation back to approved source facts;
- confirm code-backed diagrams match actual implementation;
- defer figure numbering or final caption style to formatting when the target format is not known;
- list unresolved scientific, data, style, or export issues separately.
Reference
Read figure-method-selection.md for method-choice rules.
Read figure-argument-contract.md for complex, evidence-backed, multi-panel, or submission-bound figures.
Read publication-visual-standards.md for journal-facing typography, sizing, line weight, spacing, and visual hierarchy.
Read export-and-editability-standards.md for SVG/PDF/EPS/TIFF/PNG choice, editable text, embedded fonts, RGB, DPI, and file packaging.
Read accessibility-and-color-standards.md for colour-blind-safe design, grayscale checks, direct labels, contrast, and figure descriptions or alt text.
Read data-visualization-advisor.md before choosing or drawing data-backed plots from CSV/Excel/DataFrame files, when the user asks what chart to use, or when a requested chart type may be misleading.
Read nature-matplotlib-protocol.md for Nature-grade Matplotlib figures.
Read multi-panel-layout-patterns.md for hero panels, asymmetric layouts, shared legends, panel order, and anti-redundancy layout rules.
Read chart-type-visual-standards.md for bars, lines, scatter, heatmaps, matrices, ablations, comparisons, and tables-as-figures.
Read svg-and-drawio-diagrams.md for mechanism diagrams, conceptual SVGs, architecture diagrams, and code-backed Draw.io diagrams.
Read drawio-engineering-diagram-standards.md for Draw.io architecture, workflow, module, use-case, data-flow, and code-backed diagram conventions.
Read notation-and-conversion-integrity-gate.md when figure text, notation, formulas, superscripts/subscripts, citations, or cross-references are converted across figure, manuscript, DOCX, PDF, SVG, or Draw.io outputs.
Read image-panel-integrity.md for photographs, microscopy, image plates, raster panels, scale bars, crop/manipulation notes, and mixed raster/vector figures.
Read ai-image-generation-gate.md before using AI image generation.
Read publisher-visual-source-map.md when mapping standards to a specific publisher, journal family, venue, or external figure-standard source.
Read rendered-figure-qa.md after generating or revising a submission-quality figure to run the rendered-preview QA loop before final export or delivery.
Bundled Utilities
scripts/make_nature_multipanel.py: generate Nature-style multi-panel Matplotlib figures from a panel spec and source data; exports editable SVG/PDF, PNG preview, and QA reports.
scripts/nature_mpl_style.py: shared Nature-style Matplotlib defaults, semantic palette, panel labels, sizing helpers, and export helpers.
1---2name: academic-figure-workflow3description: Plan, create, revise, and validate academic figures for papers, theses, dissertations, and technical reports. Use for SVG mechanism diagrams, conceptual models, Nature-grade multi-panel Matplotlib figures, data-driven plots,正文 figure interpretation handoff, draw.io engineering diagrams, workflow charts, use-case diagrams, architecture diagrams, tables-as-figures, figure captions, publication visual standards, export/editability QA, accessibility/color checks, and user-confirmed OpenAI image generation. Chinese triggers: 论文作图, 机理图, SVG绘图, Nature风格多面板图, matplotlib作图, 数据图正文分析, 图的作用阐释, drawio流程图, 用例图, 架构图, 论文插图标准, 图片投稿标准, 大模型绘图API.4---56# Academic Figure Workflow78Use this skill for academic and thesis figures. Choose the method by figure type, evidence needs, editability, and reproducibility. For data-backed plots, also prepare the paragraph-level figure argument so正文 text can explain the plot's purpose, quantitative pattern, and implication.910## Boundaries1112Do:1314- Plan figure claims, panels, captions, source files, and exports.15- Create SVG mechanism figures, Draw.io engineering diagrams, and reproducible Matplotlib figures.16- Validate that every visual element traces to evidence, data, code, manuscript text, or user-approved facts.17- For data-backed plots, act as a visualization advisor first: inspect the data and figure argument before choosing or drawing a chart.1819Do not:2021- Invent data, mechanisms, system modules, experimental results, labels, or visual evidence.22- Use AI image generation without the explicit gate in `ai-image-generation-gate.md`.23- Call a figure submission-ready when labels overlap, source files are missing, or evidence trace is incomplete.2425## Intake2627Collect:2829- figure purpose and target chapter or section;30- audience and manuscript language;31- source facts: text, evidence table, codebase facts, data columns, equations, or rough sketch;32- target examples, journal/school guide, or lab style guide when available;33- target venue stage: draft, thesis insertion, initial submission, final accepted artwork, or repository supplement;34- output format: SVG, Draw.io, PNG, PDF, DOCX insertion, or source plus export;35- style constraints: grayscale, journal style, school template, colour restrictions, font, size;36- AI image generation permission when relevant.3738Before drawing, plotting, generating, or exporting, ask for missing materials that would materially improve figure quality:3940```text41Required or high-value materials:42Missing materials:43Can proceed without them: yes/no44Fallback if unavailable:45```4647If key evidence is missing, stop at a figure specification, storyboard, or provisional template until the user confirms execution.4849## Method Selection5051| Figure type | Default method |52|---|---|53| Mechanism diagrams, conceptual models, moderately complex scholarly schematics | SVG |54| Workflow, use-case, module, architecture, ER/data-flow, software process diagrams | Draw.io |55| Data-driven plots or multi-panel quantitative figures | Data-visualization advisor flow plus Matplotlib Nature-grade protocol with source data, editable SVG/PDF export, and final raster preview |56| Photorealistic, illustrative, texture-like, or hard-to-specify visual assets | OpenAI image generation after user confirmation |57| Simple numeric comparison | Native table or chart in manuscript tool |5859Read [figure-method-selection.md](references/figure-method-selection.md) when a figure could be created in more than one way.6061## Core Rules62631. Draw only what the evidence, codebase, experiment, or user-approved concept supports.642. Make every panel serve a scientific claim, method step, result contrast, or design decision.653. Prefer editable source files: `.svg` for SVG and `.drawio` for Draw.io.664. Export publication formats only after the editable source is accepted.675. Keep labels concise and consistent with manuscript terminology.686. Record assumptions and unresolved evidence instead of filling gaps visually.697. Ensure figure text remains readable at final DOCX/PDF insertion size and remove text that should not appear inside the figure.708. Prefer Draw.io for workflow and process diagrams; preserve user-edited `.drawio` styling unless a redraw is explicitly requested.719. Preserve formulas, superscripts/subscripts, and notation in labels, captions, tables-as-figures, and exports.7273## Workflow74751. Define the figure claim, target section, source facts, method, output files, and validation checks.762. For complex, multi-panel, submission-bound, code-backed, or data-backed figures, apply [figure-argument-contract.md](references/figure-argument-contract.md).773. For submission-quality or journal-facing figures, apply [publication-visual-standards.md](references/publication-visual-standards.md), [export-and-editability-standards.md](references/export-and-editability-standards.md), and [accessibility-and-color-standards.md](references/accessibility-and-color-standards.md).784. For data-backed plots, chart-choice questions, user-provided CSV/Excel/DataFrame files, or risky user-specified chart types, apply [data-visualization-advisor.md](references/data-visualization-advisor.md) before plotting.79 - For正文 narration of a data-backed plot, also apply the writing-workflow reference for data-figure body analysis so the manuscript states the figure role, best/worst region, concentration or sparsity, and supported conclusion.806. For Nature-style or multi-panel Matplotlib figures, apply [nature-matplotlib-protocol.md](references/nature-matplotlib-protocol.md), [multi-panel-layout-patterns.md](references/multi-panel-layout-patterns.md), and [chart-type-visual-standards.md](references/chart-type-visual-standards.md).817. For SVG mechanism diagrams or Draw.io engineering diagrams, apply [svg-and-drawio-diagrams.md](references/svg-and-drawio-diagrams.md); for Draw.io code-backed or engineering diagrams, also apply [drawio-engineering-diagram-standards.md](references/drawio-engineering-diagram-standards.md).828. For image plates, photographs, microscopy, heatmaps over images, or mixed raster/vector panels, apply [image-panel-integrity.md](references/image-panel-integrity.md).839. For AI-generated bitmap assets, apply [ai-image-generation-gate.md](references/ai-image-generation-gate.md) before generation.8410. When a venue-specific requirement, external visual example, or numeric artwork standard matters, apply [publisher-visual-source-map.md](references/publisher-visual-source-map.md) and verify the current official guide when possible.8511. Apply [notation-and-conversion-integrity-gate.md](../../shared/notation-and-conversion-integrity-gate.md) when figure labels, formulas, superscripts/subscripts, citations, or cross-references may be converted.8612. For any submission-quality generated or revised figure, apply [rendered-figure-qa.md](references/rendered-figure-qa.md) before calling it ready.8713. Provide the editable source, exports if generated, caption draft, placement recommendation, evidence/code trace, rendered QA result, and unresolved issues.8889## Validation9091Before finishing:9293- confirm the method matches the figure type;94- inspect generated source files when possible;95- check label overlap, readability, export integrity, and editability;96- inspect a rendered PNG preview at intended final size for submission-quality figures;97- verify final-size readability, font consistency, line weight, colour meaning, grayscale or colour-blind-safe interpretation, and caption/description handoff when relevant;98- report the editable source path, especially `.drawio` paths for workflow diagrams;99- trace each panel, node, edge, label, plotted value, or annotation back to approved source facts;100- confirm code-backed diagrams match actual implementation;101- defer figure numbering or final caption style to formatting when the target format is not known;102- list unresolved scientific, data, style, or export issues separately.103104## Reference105106Read [figure-method-selection.md](references/figure-method-selection.md) for method-choice rules.107108Read [figure-argument-contract.md](references/figure-argument-contract.md) for complex, evidence-backed, multi-panel, or submission-bound figures.109110Read [publication-visual-standards.md](references/publication-visual-standards.md) for journal-facing typography, sizing, line weight, spacing, and visual hierarchy.111112Read [export-and-editability-standards.md](references/export-and-editability-standards.md) for SVG/PDF/EPS/TIFF/PNG choice, editable text, embedded fonts, RGB, DPI, and file packaging.113114Read [accessibility-and-color-standards.md](references/accessibility-and-color-standards.md) for colour-blind-safe design, grayscale checks, direct labels, contrast, and figure descriptions or alt text.115116Read [data-visualization-advisor.md](references/data-visualization-advisor.md) before choosing or drawing data-backed plots from CSV/Excel/DataFrame files, when the user asks what chart to use, or when a requested chart type may be misleading.117118Read [nature-matplotlib-protocol.md](references/nature-matplotlib-protocol.md) for Nature-grade Matplotlib figures.119120Read [multi-panel-layout-patterns.md](references/multi-panel-layout-patterns.md) for hero panels, asymmetric layouts, shared legends, panel order, and anti-redundancy layout rules.121122Read [chart-type-visual-standards.md](references/chart-type-visual-standards.md) for bars, lines, scatter, heatmaps, matrices, ablations, comparisons, and tables-as-figures.123124Read [svg-and-drawio-diagrams.md](references/svg-and-drawio-diagrams.md) for mechanism diagrams, conceptual SVGs, architecture diagrams, and code-backed Draw.io diagrams.125126Read [drawio-engineering-diagram-standards.md](references/drawio-engineering-diagram-standards.md) for Draw.io architecture, workflow, module, use-case, data-flow, and code-backed diagram conventions.127128Read [notation-and-conversion-integrity-gate.md](../../shared/notation-and-conversion-integrity-gate.md) when figure text, notation, formulas, superscripts/subscripts, citations, or cross-references are converted across figure, manuscript, DOCX, PDF, SVG, or Draw.io outputs.129130Read [image-panel-integrity.md](references/image-panel-integrity.md) for photographs, microscopy, image plates, raster panels, scale bars, crop/manipulation notes, and mixed raster/vector figures.131132Read [ai-image-generation-gate.md](references/ai-image-generation-gate.md) before using AI image generation.133134Read [publisher-visual-source-map.md](references/publisher-visual-source-map.md) when mapping standards to a specific publisher, journal family, venue, or external figure-standard source.135136Read [rendered-figure-qa.md](references/rendered-figure-qa.md) after generating or revising a submission-quality figure to run the rendered-preview QA loop before final export or delivery.137138## Bundled Utilities139140- `scripts/make_nature_multipanel.py`: generate Nature-style multi-panel Matplotlib figures from a panel spec and source data; exports editable SVG/PDF, PNG preview, and QA reports.141- `scripts/nature_mpl_style.py`: shared Nature-style Matplotlib defaults, semantic palette, panel labels, sizing helpers, and export helpers.