research-figure
Installation
SKILL.md
Safety Rules
参见 _shared/core/safety-rules.md — 所有安全规则从共享层加载。
关键补充:生成的 SVG 必须 0 failures 才算完成。校验脚本报 FAIL 时绝不能交付,必须进入精修循环。warnings(标题在框外、弧线标签偏移)可接受但应尽量消除。
科研画图 (Research Figure / Sketch-to-SVG)
把老师的草图变成无任何覆盖的科研级 SVG 流程图。核心痛点:人给大模型的指令"画个流程图"太模糊,直接生成的图框重叠、文字溢出、箭头指错。解决方案:先让大模型读草图提取精确布局,再用网格模板生成 SVG,最后自动校验到 0 错误。
The key insight: natural-language instructions are too coarse for precise figure layout. The fix: have a vision LLM read the sketch first and extract a structured layout, then generate SVG on a grid system where overlaps are impossible by construction, then auto-validate.