GitHub·First covered 19 Nov 2026
cathrynlavery/diagram-design
diagram-design is an agent skill that has Claude Code, Codex, Cursor and other coding agents draw diagrams as a single self-contained HTML file with inline SVG, in one restrained editorial style.
Stats
(As of 25 Nov 2026)- Stars
- 73k
- Forks
- 4.8k
- Contributors
- 75
- Open issues
- 18
- Created
- Apr 2026
- Language
- HTML
- Licence
- MIT
- The README lists 51 diagram types, from architecture and sequence diagrams to Sankey, Wardley maps and Gantt charts, each in light, dark and editorial variants.
- The agent picks the type, states a plan and places elements on a 4px grid, with CI checks for overlaps and clipping.
- It can pull a site's palette and fonts so later diagrams match a brand.
- It redraws existing Mermaid, draw.io, Excalidraw and PlantUML files, and exports to SVG or PNG.
- The README is candid on limits: output varies by model and run, and with no diffable source, Mermaid still suits docs that change every sprint.
Try it
npx skills add cathrynlavery/diagram-designAppeared in
19 Nov 2026 · 20 Nov 2026 · 21 Nov 2026 · 22 Nov 2026 · 23 Nov 2026 · 24 Nov 2026 · 25 Nov 2026