figure-spec

Featured

Generate deterministic publication-quality architecture, workflow, and pipeline diagrams from structured JSON (FigureSpec) into editable SVG. Use when user says "架构图", "workflow 图", "pipeline 图", "确定性矢量图", "figure spec", "draw architecture", or needs precise, editable, publication-ready vector diagrams. Preferred over AI illustration for formal architecture/workflow figures.

AI & Automation 16,018 stars 1375 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# FigureSpec: Deterministic JSON → SVG Figure Generation Generate publication-quality **architecture diagrams**, **workflow pipelines**, **audit cascades**, and **system topology** figures as editable SVG vector graphics using a deterministic JSON → SVG renderer. ## When to Use This Skill **Use `figure-spec`** for: - System architecture diagrams (layered, hub-and-spoke, multi-plane) - Workflow / pipeline figures - Audit cascade / flow-control diagrams - Any structured diagram where node positions, connections, and groupings are semantically important - Figures that need to be edited/tweaked later (SVG is plain text) - Figures where determinism matters (same spec → same SVG) **Do NOT use for:** - Data plots (bar/line/scatter) — use `/paper-figure` - Natural/qualitative illustrations — use `/paper-illustration` - Quick state-machine / flowchart — use `/mermaid-diagram` (lighter syntax) ## Core Properties - **Deterministic**: identical FigureSpec JSON always produces identical SVG output (for a fixed renderer version + fonts) - **Editable**: SVG output is plain-text, can be post-edited by hand or programmatically - **Validated**: renderer enforces schema, rejects malformed specs with clear error messages - **Shape-aware**: edge clipping works correctly for rect/rounded/circle/ellipse/diamond - **CJK support**: multi-line labels with proper Chinese character width estimation - **No external API**: runs fully local, no network, no API keys ## Tool Location Phase 3.1 (Arch ...

Details

Author
wanshuiyin
Repository
wanshuiyin/Auto-claude-code-research-in-sleep
Created
6 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

cvpr-figure

Create, revise and audit publication-grade pipeline, framework, teaser and module figures for CVPR, ICCV, ECCV, NeurIPS, ICLR, ICML, AAAI and ACL papers, and export them as Visio-editable .vsdx, PowerPoint-editable .pptx, plus SVG/PDF/PNG/EMF for LaTeX. Use for architecture diagrams, method overview figures, framework figures, pipeline diagrams, teaser/paradigm-comparison figures, attention and token diagrams, module zoom-ins, and 顶会论文配图、框架图、流程图、pipeline图、方法图、teaser图、 网络结构图、模型架构图、科研绘图、论文示意图、Visio可编辑图. Drives a declarative spec through a deterministic layout engine whose palette, typography and geometry were measured out of 349 figure PDFs from published CVPR/ICCV/ECCV/AAAI papers, then audits the result against a checklist of the things that make a diagram look machine-generated. Works from a paper section, an abstract, a method description, a PyTorch nn.Module source tree, or an mmengine/mmdet `model = dict(...)` config — 根据代码出图、根据论文内容出图. Do not use for data plots — bar charts, curves, heatmaps, scatter and

1 Updated 1 weeks ago
ChizkiyahuOhayon
Data & Documents Listed

svg-diagram

手写 SVG 绘制生产级技术图表。当用户要求画图、绘制流程、展示数据流转、画时序图、 画架构图、解释概念、绘制任何可视化图表时必须使用本 skill。 Production-grade hand-written SVG diagrams. Use when users request diagrams, flowcharts, architecture diagrams, sequence diagrams, data flow, concept visualization, ERDs. Supports: sequence, flowchart, structure, ERD, interactive, illustrative, state machine, timeline. Dark mode support, semantic colors, better than Mermaid. Triggers: 画图 绘图 时序图 流程图 架构图 数据流 示意图 可视化 ER图 状态机 时间线 生命周期 里程碑 diagram flowchart sequence architecture visualize ERD state-machine timeline lifecycle milestone.

2 Updated 1 months ago
wunamesst
Data & Documents Featured

svg-diagram

SVG diagramming conventions blending a technical look with CJK-friendly typography. Use when creating flowcharts, architecture diagrams, and similar SVG figures. For one-shot generation, prefer invoking it from a subagent so the main context does not have to carry this skill plus the SVG XML; for multi-round tweaking, use it directly in the main context.

431 Updated 1 weeks ago
bybit-exchange