Генерация архитектурных диаграмм в SVG

★ 7.1 · design

figure-spec is a Claude Code skill that generates deterministic, publication-quality architecture, workflow, and pipeline diagrams from structured JSON (FigureSpec) into editable SVG vector graphics. The renderer runs fully local with no external API or network calls, guaranteeing that an identical FigureSpec always produces an identical SVG for a given renderer version. It supports rect, rounded, circle, ellipse, and diamond node shapes with correct edge clipping, multi-line labels with proper CJK character-width estimation, and named group regions. The three core commands — `render`, `validate`, and `schema` — are invoked via `figure_renderer.py`, whose canonical location is `skills/figure-spec/scripts/`; a backwards-compatible shim remains at `tools/`. Use this skill when diagrams must be formally precise and post-editable; for quick flowcharts prefer `/mermaid-diagram`, and for data plots prefer `/paper-figure`.