Diagram Design
diagramdesign.dev
Agent skill that turns plain-language requests into clean, on-brand HTML + SVG diagrams.
- GitHub stars
- 69,761
- License
- MIT
- Language
- HTML
- Pricing
- Open source
- Published
- Nov 21, 2026
Next steps
- Stitch Skills
Both tools are listed under AI Design Assistant, AI Developer Tools, agent-skills, and claude-code.
- Garden Skills
Both tools are listed under AI Design Assistant, Open Source, agent-skills, and claude-code.
- Hallmark
Both tools are listed under AI Design Assistant, Open Source, codex, and claude-code.
- Astryx
- M3E Canvas
- LexiCAD
What it does
Diagram Design is an MIT-licensed agent skill that draws diagrams as one self-contained HTML + SVG file. Ask your agent in plain words for an architecture diagram, sequence, quadrant or one of around 50 other types; it picks the type, states its plan and writes the file. It can learn your site's palette and fonts, import draw.io, Mermaid, Excalidraw and PlantUML, and export PNG or SVG. Works in Cursor, Claude Code, Codex, Copilot, Gemini CLI and other Agent Skills hosts.

Use cases
- Ask your coding agent for an architecture, sequence or quadrant diagram and get one HTML + SVG file
- Match diagrams to your brand by onboarding the skill to your website's colours and fonts
- Convert existing draw.io, Mermaid, Excalidraw or PlantUML diagrams and export them as PNG or SVG
Frequently asked questions
- What is Diagram Design?
- An open-source agent skill by Cathryn Lavery that draws diagrams as a single self-contained HTML + SVG file in your brand style, with around 50 diagram types.
- Which tools does it work with?
- Any host that reads Agent Skills, including Cursor, Claude Code, Codex, Qoder, GitHub Copilot, Gemini CLI, Cline, Windsurf and Amp.
- How do I install it?
- Run npx skills add cathrynlavery/diagram-design, or add it from the Claude Code or Codex plugin marketplace for updates and slash commands.
- Can it import my existing diagrams?
- Yes, the plugin includes import commands for draw.io, Mermaid, Excalidraw and PlantUML, and can export to PNG or SVG.