--- id: rookie-ricardo/erduo-skills/anthropic-style-diagram version: "e2e1d109" license: MIT install: manual updated: 2026-07-25 --- # anthropic-style-diagram — Anthropic Style Diagram generates semantic SVGs following Anthropic's visual language and design system, then renders them to PNG. The skill handles architecture, flow, and structural diagrams—automatically managing colors, themes, viewBox cropping, and style baking. Author the geometry and meaning; the rendering pipeline owns the design. Publisher: rookie-ricardo · Stars: 895 · Updated: 2026-07-25 Install (manual): `git clone https://github.com/rookie-ricardo/erduo-skills` ## 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 `