Diagram Design
DesignEditorial diagrams as one self-contained HTML and SVG file, in your brand, across dozens of types.
Install
$ /plugin marketplace add cathrynlavery/diagram-design
Works with Claude Code. Its skills also install in other agents: pick one above.
Update
$ /plugin marketplace update diagram-design
Or turn on auto-update for the marketplace under /plugin > Marketplaces. A standalone `npx skills add` copy updates with `npx skills update diagram-design`.
When to use it
- A diagram will go into a doc, a slide or a landing page and must look designed, not default
- You have Mermaid, draw.io, Excalidraw or PlantUML files that need a consistent visual treatment
- You want diagrams that match your brand's colors and fonts every time
Commands & flags
- /plugin install diagram-design@diagram-design
- Install the plugin after adding the marketplace.
- Make me an architecture diagram of my app: frontend, backend, database, Redis cache.
- The agent picks the type and writes one .html file.
- Onboard diagram-design to https://yoursite.com
- Pull your palette and fonts so later diagrams match your site.
- /diagram-design:import-mermaid architecture.mmd --size=slide-16x9 --detail=simplified
- Redraw a Mermaid file in the skill's style.
- /diagram-design:import-drawio platform.drawio
- Redraw a draw.io file (Excalidraw and PlantUML imports also exist).
How to use it
Install the plugin, then ask for a diagram in plain words: architecture, flowchart, sequence, state machine, ER, timeline, swimlane, quadrant and many more. The agent states its plan and writes a single .html file you can open by double-clicking.
/plugin marketplace add cathrynlavery/diagram-design
/plugin install diagram-design@diagram-design
Without the plugin, npx skills add cathrynlavery/diagram-design installs the skill alone, without the slash commands. SVG and PNG export are available through the plugin's export command.
Not the right tool for live, editable whiteboards; the output is a finished static file.
Why it earns its place
Default AI diagrams look generic: shadows, rainbow boxes, Mermaid defaults. This skill treats diagrams as editorial design, with a style guide, a large set of diagram types and a brand onboarding step, and it can redraw the diagrams you already have.
Try it
> Give me a sequence diagram of a bearer call with token refresh on 401.