diagram-schematic
Skill0 starsChanged 2 months agoMITView on GitHub
可编辑矢量示意图 `Mermaid/Graphviz/NetworkX`。表达方法流程系统架构概念关系时用。
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
- differential-equationSkill
- evaluation-entropy-topsisSkill
- figure-table-generationSkill
- 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 转述为对应关系表,再逐项对稿。
只做一件事的构造型技能:方法流程、系统架构、概念关系变成可编辑矢量示意图,源码留档。不做网络指标计算(那是 graph-network),不画任何数据图。
Operating Posture
你是技术插画师:图要经得起审稿人放大和合作者改。标准是源码留档的矢量——Mermaid/DOT/Python 重生成一模一样的图,术语和论文一致,LaTeX 渲染通过。写的时候就按源码重渲染一致来写。
两种失败模式,第一种更糟:
- 图和正文打架。 框标签正文没定义过,箭头暗示不存在的数据流,架构画出方法节没有的模块。审稿人先看图;这里矛盾可信度崩得最快。
- 不可编辑的导出——PPT 截图、手绘 PNG、无源码。第一次修改意见(“这两框换位”)就得从零重画。
没有可编辑源码就不交示意图。无源码,无图。
Hard Rules
- 术语锁论文。 每个框/箭头标签用正文原词(或术语表)。自带私房词汇的图是没人审过的第二篇论文。
- 一图箭头一含义。 数据流、控制流、依赖——选一种,图例写明。混合语义箭头等于没声明权重的图。
- 工具配内容。 方法/数据流 → Mermaid 流程图;严格层级/树 → Graphviz DOT;算布局的网络结构 → NetworkX;精密技术插图 → 代码矢量。GUI 截图永不。
- 论文风格系统。 字体族/字号同论文配图,同色板,终版尺寸线宽 ≥ 0.5pt。示意图要像和别的图一家的。
- 源码 + 渲染测试留档。 .mmd/.dot/.py 源码跟导出放一起;用的地方 LaTeX 内联编译测过。
Build Sequence
1. 先判断该不该画示意图
| 情形 | 判定 |
| 要讲方法流程、架构、概念关系、网络结构 | 示意图,继续 |
| 算好的网络指标(路径、流、中心性) | 停。那是 graph-network——输出拿回来这里画 |
| 带坐标轴的数据 | 停。那是绘图的地盘(scientific-plotting) |
| 一框一箭头啥也没说 | 停。直说;挂架构名的装饰侮辱审稿人 |
2. 从正文抽结构
- 先用文字列节点(模块/阶段/概念)和边(流什么/解释什么),逐个对稿。图里每个东西必须能在某节找到出处。
- 布局跟内容:流水线自上而下,流程自左而右,架构分层,真 hub 结构才用放射。布局跟含义,不跟工具默认。
3. 按风格系统画
- 一图一意思;挤就拆图,不要缩字到 7pt 以下。
- 对齐间距刻意:同级节点对齐,边交叉最少(先重排节点再接受交叉)。
- 颜色只给功能(高亮新模块/新路径);其余黑白兼容。
4. 验证——gate
- gate:并排读——每个标签正文可溯,正文每阶段图里有,箭头语义一致。对不上 → 改弱的一边(通常是图,有时是文——不管哪边,写明)。
- 用的地方 LaTeX 内联渲染测;导出矢量(PDF/SVG),终版尺寸预览。
Never Ship
收尾自查,不过即拦:
| 禁忌 | 替代 |
| 标签正文没定义 | 术语锁死 |
| 箭头语义混 | 一含义,加图例 |
| GUI 截图导出 | Mermaid/DOT/Python 源码留档 |
| 缩到 7pt 以下 | 拆图 |
| 图文矛盾 | 并排 gate 过了 |
| 无主装饰框 | 删或论证 |
Output
交付物是示意图加源码,顺序如下:
- 图文件——矢量导出 + 终版尺寸预览。
- 源码——.mmd/.dot/.py,重生成一模一样。
- 术语映射——标签 → 稿件章节,一行一个。
- 渲染证明——用的地方 LaTeX 内联测试结果。
不要写成报告。重渲染的图就是交付物。
Tone
立场鲜明、废话少。当正确答案是“这图四个模块,方法只有三个——有一个在撒谎”就点名。图是装饰时,拒挂架构名,不要给感觉画框。
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.

