figure-spec

Solid

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 11,977 stars 1099 forks Updated yesterday 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
3 months ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

blog-figure-svg

Stop using stock photos. Generate accessible, lightweight SVG figures for any blog or CMS - flow diagrams, comparison bar charts, taxonomy/Venn diagrams, annotated terminal mocks, and 1600x840 OG feature cards. Hand-authored SVG (no embedded fonts, no external assets, no AI-image latency) with a consistent palette, screen-reader metadata (title + desc + aria-labelledby), and a figcaption-required handoff to the writer. Rasterizes to compressed PNG ready for Ghost, WordPress, Webflow, or any static-site generator. Built for content marketers, indie hackers, and dev-tool blogs that want unique illustrations on every post without paying a designer or burning Midjourney credits. Trigger when the user says: 'add a figure to the post', 'illustrate this comparison', 'draw a flow diagram for X', 'make a feature/OG image', or any request to produce a chart/diagram for editorial use.

5 Updated 1 weeks ago
AutomateLab-tech
AI & Automation Listed

fireworks-tech-graph

Use when the user needs technical/system diagrams or image generation with structured, editable SVG output and optional PNG export: architecture, flowchart, sequence, swimlane, data flow, ER/state-machine, agent/memory, or concept map. Trigger on: "架构图" "流程图" "时序图" "泳道图" "系统图" "数据流图" "sequence diagram" "flowchart" "swimlane" "ER diagram" "state machine" "SVG diagram" "生成图片" "画图" "生图".

10 Updated today
codingSamss
DevOps & Infrastructure Listed

svg-precision

Deterministic SVG generation, validation, and rendering. Use for icons, diagrams, charts, UI mockups, or technical drawings requiring structural correctness and cross-viewer compatibility.

0 Updated 2 weeks ago
rvanbaalen