# diagram-design

> Agent skill that draws 52 types of diagrams as one self-contained HTML and SVG file styled to your brand.

- Type: skill
- Field: Image & Design
- Repository: https://github.com/cathrynlavery/diagram-design
- GitHub stars: 74462
- Licence: MIT
- Language: HTML
- Last push: 2026-11-26
- Page: https://imutechz.in/agents/diagram-design

## What it is
diagram-design is an agent skill pack that creates diagrams from plain-language requests. The agent picks a diagram type, states its plan and writes a single .html file you can open by double-clicking. It can be onboarded to a website to pull its palette and fonts, and it can import from drawio, Mermaid, Excalidraw or PlantUML and export to PNG or SVG.

## Features
- 52 diagram types
- Output is one self-contained HTML and SVG file
- Onboarding pulls palette and fonts from your site
- Import from drawio, Mermaid, Excalidraw and PlantUML
- Export to PNG and SVG
- Works with Claude Code, Cursor, Codex and other skill hosts

## Best for
- Architecture diagrams for an app
- Quadrant and sequence diagrams
- Diagrams matching a brand style
- Converting Mermaid sketches to styled files

## Pros
- Single file output needs no build step
- Brand matching keeps diagrams consistent
- Installs across many agent hosts

## Cons
- Needs an agent that supports Agent Skills

## Install
```
npx skills add cathrynlavery/diagram-design
/plugin marketplace add cathrynlavery/diagram-design
/plugin install diagram-design@diagram-design
```

## Usage
```
npx skills add cathrynlavery/diagram-design
```

Tags: diagrams, svg, agent-skill, claude-code, mermaid, drawio, data-visualization, html
