figure-table-generation
Skill0 starsChanged 2 months agoMITView on GitHub
把分析结果整理成带题注引用的投稿级图表和 booktabs 表格。
In this repository34 other files it gives its agents.
- ahpSkill
- arxiv-literature-synthesisSkill
- ask-mathxSkill
- bp-neural-networkSkill
- chart-decisionSkill
- citation-bibliographySkill
- clustering-classificationSkill
- conjecture-formulationSkill
- counterexample-searchSkill
- diagram-schematicSkill
- differential-equationSkill
- evaluation-entropy-topsisSkill
- genetic-algorithmSkill
- graph-networkSkill
- gray-predictionSkill
- ingest-inputsSkill
- latex-typesettingSkill
- literature-reviewSkill
- monte-carlo-simulationSkill
- numerical-verificationSkill
- optimization-lp-milpSkill
- paper-outlineSkill
- plotly-interactiveSkill
- polish-proofreadSkill
- proof-assistantSkill
- publication-figureSkill
- regression-familySkill
- reproducibility-checklistSkill
- research-evidenceSkill
- scientific-plottingSkill
- setup-mathxSkill
- statistical-plotSkill
- symbolic-computationSkill
- time-series-arimaSkill
The file
Files
论文图表生成与规范化
先读仓库根目录的 CONTEXT.md(术语/单位/venue 默认),全文用它的词。 展品追溯上游到 ingest-inputs 的来源记录(含 JPG 识数误差声明)。
人触发的生产型技能,只做一件事:分析结果变成带题注、带引用、栏宽尺寸的投稿级图表和 booktabs 表格。不画探索图(那是 scientific-plotting 一家),不拼终版(那是 publication-figure)。
Operating Posture
用户键入时运行,结果在手。产品是编号的图/表集,每个数字追溯到计算,每个题注独立成立。标准是题注测试:图 + 题注 + 表注脱离正文讲清结果。
两种失败模式,第一种更糟:
- 无来源的数字。 没人复算得出的 RMSE 表,没人留住的表格画的柱图。每格追溯到代码 + 数据 + 种子,否则这格不发货。
- 装饰性题注。 题注写“实验结果”,单位缺,N 缺,表格线回到电子表格时代(竖线林立)。无信息题注逼读者裸解图形。
无来源追溯、无独立题注,不交图/表。无追溯,无展品。
Hard Rules
- 一展品一消息。 一张图要两个题注,就是两张图。服务三个论点的 mega 图一个也服务不好。
- 题注独立。 展示什么、N、方法一句、关键读数一句、单位处处。“如图 3 所示”在正文也不许承重——那是
polish-proofread的仗;这里题注自己立住。 - booktabs 表格,无竖线。 只用 \toprule/\midrule/\bottomrule;单位放表头行,不逐格重复;有效数字配误差(±0.02 的效应报 4 位小数是噪声 cosplay)。
- 栏宽矢量导出。 宽度按 venue(单栏约 89mm 常见——确认),字号终版,色板走项目系统。按尺寸重生成;截图放大永不。
- 正文引用和图一致。 正文引的每个数字在展品里一模一样(修约一致!)。交付前 grep 正文数字对表格——誊写漂移是经典静默撤稿。
Build Sequence
1. 盘点展品
- 按大纲列:哪个主张要哪张图/表。无引用展品删或领主——绝不“备着”生产。
- 输出格式先定,定死再画——gate:问用户要 PNG / SVG / PDF(三选一或多选):PDF 进论文 LaTeX 内联,SVG 给网页/可编辑矢量,PNG 给幻灯/网页预览(≥300dpi)。用户不答按 venue 默认(论文 PDF,网页/幻灯 PNG@300dpi)。问过一次记入项目(
setup-mathx记录),同项目后续沿用,不重复问。
2. 逐个建
- 图:定画法(图型未定走
chart-decision),经绘图技能画,栏宽矢量导出。 - 表:booktabs,表头单位,数字纪律,方法/缩写备注行。
3. 题注 + 追溯——gate
- 每展品 gate:独立题注朗读(同事只看题注 + 图得结论?)+ 来源行(代码 + 数据 + 种子)+ 正文一致 grep(引用数字到 digit 相符)。
4. 移交
- 编号文件(fig03.pdf / fig03.svg / fig03.png 按定死的格式、tab02.tex)加题注目录;去
latex-typesetting入版,去publication-figure多子图拼版,去polish-proofread修周围文字。
Never Ship
| 禁忌 | 替代 |
| 无追溯数字 | 每格代码 + 数据 + 种子 |
| “……结果”式题注 | 独立:是什么 + N + 方法 + 读数 |
| 竖线表格 | booktabs,表头单位 |
| 超出误差的位数 | 按列数字纪律 |
| 正文展品漂移 | 交付前 grep 对上 |
| 截图放大 | 按栏宽重生成 |
Output
- 展品文件——约定格式的编号图 + 表格源码。
- 题注目录——独立题注,全展品。
- 追溯表——展品 → 代码 + 数据 + 种子。
- 一致 grep——正文数字相符,证据展示。
Tone
立场鲜明、废话少。当正确答案是“这表第四位小数是噪声——砍两位”就砍。某图不服务大纲任何主张,删图,不要写题注给它续命。
模板文件见 assets/templates/figure-table-generation.tex(随本技能分发;改动前先核对 venue spec)。
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.

