math-figure
Skill57 starsChanged 6 months agoMITView on GitHub
Use when 高教社杯/CUMCM 数学建模论文需要规划、选择、审查或修复图、图表、表格转图、图注、图像证据行、正文放置、附录降级或图后结论。
In this repository13 other files it gives its agents.
- math-abstractSkill
- math-codeSkill
- math-complianceSkill
- math-consistencySkill
- math-hubSkill
- math-latexSkill
- math-literatureSkill
- math-modelSkill
- math-problem-readerSkill
- math-reviewSkill
- math-tableSkill
- math-templatesSkill
- math-verifierSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read math-hub/references/quality-contract.md only when promoting a figure to paper-ready, classifying blocked status, running a final gate, …
- Distinctive: line 17
Prefer tables for exact values and figures for patterns, mechanisms, tradeoffs, and robustness.
- Distinctive: line 18
Do not include every generated figure.
- Distinctive: line 19
Write a caption, one post-figure conclusion, and one boundary/risk note near the figure.
- Distinctive: line 36
Verify source output and units.
- Distinctive: line 38
Check caption, conclusion, and boundary sentence.
- Very specific: line 42
Read references/selection-guide.md for chart selection, references/paper-figure-style.md for Nature-style palette, title, and formal-paper …
- Distinctive: line 70
Do not treat attractive figures as evidence.
- Distinctive: line 71
Do not let a figure support a claim without source output and validation status.
- Distinctive: line 72
Do not use screenshots as final simulation evidence.
- Distinctive: line 73
Do not hide exact central results in a chart when a table is needed.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
图表证据
用途
Select, generate, or review figures that prove a claim. Main-body figures must carry mechanism, comparison, robustness, or decision evidence; diagnostic and dense support figures default to appendix.
Read math-hub/references/quality-contract.md only when promoting a figure to paper-ready, classifying blocked status, running a final gate, or writing a cross-module handoff. Local chart choice or visual repair can stay lightweight.
Figure First Principles
- One main-body figure should prove one central claim.
- Prefer tables for exact values and figures for patterns, mechanisms, tradeoffs, and robustness.
- Do not include every generated figure.
- Write a caption, one post-figure conclusion, and one boundary/risk note near the figure.
- A figure with unknown source, unit, scenario, baseline, or validation status is not paper-ready.
Evidence Contract
figure_evidence.csv should record figure id, claim id, source output, role, caption target, post_figure_conclusion, risk note, and validation_status.
The validation_status must be paper_ready before a figure supports abstract, conclusion, or final answer wording. Otherwise, keep it planned, generated, checked, blocked, or diagnostic.
A paper_ready figure_evidence.csv row must include either render_check_status=passed or human_visual_check=passed, plus a final-size readability note. A generated file is not paper-ready simply because it exists in an experiment directory.
For simulation figures, raw traces stay appendix unless they directly prove a required mechanism or failure mode. A single-run screenshot is diagnostic, not a paper-ready simulation result.
Selection And Review
- Identify the claim the figure must prove.
- Select the smallest chart type that makes the claim visible.
- Verify source output and units.
- Generate or inspect the image.
- Check caption, conclusion, and boundary sentence.
- Decide main-body versus appendix.
- Return blockers to
math-code,math-model,math-verifier, ormath-hub.
Read references/selection-guide.md for chart selection, references/paper-figure-style.md for Nature-style palette, title, and formal-paper figure defaults, references/high-impact-chart-assets.md when local templates are visually or structurally too weak, references/visual-readiness-loop.md for visual inspection, and math-hub/references/figure-evidence-rules.md when figure evidence rows matter.
When a requested figure matches a reusable chart family, read references/chart-template-index.md, apply references/paper-figure-style.md, and adapt the closest script from assets/high-impact-templates/ after the claim, source output, unit, and evidence boundary are known. Use assets/chart-templates/paper_style.py when a claim needs a bespoke matplotlib chart rather than a vendored Nature pattern. Treat templates as starting assets, not proof; every adapted figure still needs source, caption, post_figure_conclusion, risk note, and validation status.
For main-body figures, read references/paper-figure-style.md and use the Nature-style contest defaults: calm palette, vector-first export, no in-figure title, light grid, readable labels, and a single claim sentence before plotting. Use assets/chart-templates/paper_style.py when writing matplotlib code.
Visual Readiness
Inspect saved figures before labeling them paper-ready. Block or demote when text is unreadable, labels are clipped, units are missing, legends conflict, colors obscure groups, axes mislead, marks overlap, or the figure does not answer its claim.
For final evidence rows, keep figure_id, render_check_status, human_visual_check, and visual_check_note traceable to the saved file. Use the experiment output path until the claim, caption, units, and readability checks clear; only then copy or reference it as a paper figure.
Output Contract
Return:
- selected or rejected figures;
- figure role and claim id;
- caption and
post_figure_conclusion; - render or human visual check status;
figure_evidence.csvrows or edits;- main-body versus appendix decision;
- blocked figures and repair owner.
Return to hub: math-hub.
Red Lines
- Do not treat attractive figures as evidence.
- Do not let a figure support a claim without source output and validation status.
- Do not use screenshots as final simulation evidence.
- Do not hide exact central results in a chart when a table is needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

