anthropic-style-diagram
Installation
SKILL.md
Anthropic Style Diagram
Author a semantic SVG, let the browser do the rest. scripts/render.mjs supplies the
design system, resolves the theme, audits the layout, crops the viewBox to the real ink
bounds, bakes every computed style into literal attributes, and writes the PNG.
You draw geometry and meaning. The script owns colour, theme, viewBox and export.
Never hardcode a hex value, never write a <style> block, never compute the final
viewBox height by hand.