What problem does it solve?
Hand-drawn SVG diagrams drift into a render-fix loop where coordinates are nudged by eye, CJK labels overflow their boxes, and the output lacks accessible names. This Skill replaces guesswork with a computed box table, deterministic linting, and verified PNG rendering.
Core Features & Use Cases
- Numeric layout pass: Build a box table with grid, containment, and connector formulas before writing any SVG markup, choosing from four archetypes (architecture stack, flow, comparison, hierarchy).
- Deterministic lint and render: Run check-svg.mjs for structural errors and accessibility contract violations (SVG060-SVG064), then render a 2x PNG via headless Chromium with browser version disclosure and PNG header verification.
- CJK-first text budgeting: Compute per-line character capacity so Korean, Japanese, and Chinese labels fit their containers without truncation or per-language font shrinking.
- Use Case: Produce a slide-ready architecture diagram with Korean labels: set the four output dials, compute the layout table, author the SVG, lint it clean, and deliver a verified 1600x900 PNG.
Quick Start
Create an SVG architecture infographic of my system with Korean labels and render it as a 2x PNG for my slides.