diagram-design, created by Cathryn Lavery, lists 51 types of diagrams in its README (architecture, sequence, state machine, Gantt, Sankey, Wardley maps, exploded axonometric, etc.). Each type offers three static styles: light, dark, and editorial. The output is a single HTML file with inline SVG, which can be further exported as PNG or SVG. You can tell the agent, "Integrate diagram-design with https://你的网站」,它会抓首页配色和字体、给出改动,确认后写进风格文件,之后的图都用你的品牌色;Mermaid、draw.io、Excalidraw、PlantUML files to redraw them in this style."
Why It Matters It codifies aesthetics into rules: a single accent color, thin lines, no shadows, and grid-aligned coordinates. It can read your website's color palette and fonts, and also redraw existing diagrams from Mermaid or draw.io.
Star count: 68643 (+271 / 24h)
Reasons
- 271 new stars in 24 hours, totaling 68643 stars (indicating attention only); MIT license, with CI checks for diagram overlaps and clipping
- The README explicitly states limitations: results depend on the model used, the same prompt may yield different layouts on different runs, and the output is not an editable source format
Usage
- Run
npx skills add cathrynlavery/diagram-design, or in Claude Code, run/plugin marketplace add cathrynlavery/diagram-designand then install it. Afterward, tell the agent, "Draw an architecture diagram for the frontend, backend, database, and Redis cache."
Risks
- The output is HTML + SVG, so you cannot compare text differences in code reviews as you would with Mermaid. To modify diagrams, you must ask the agent to redraw them or manually edit the SVG.
- Brand integration fetches data from the URLs you provide. The author notes that only the version published in this repository is official; entries in other plugin directories under similar names are unofficial copies.