What do you want to do?
4 use cases
-
Draw an architecture diagram for a doc or post
Turn a plain-words description of a system into one HTML diagram file you can open in a browser.
View prompt
Using the diagram-design skill from cathrynlavery/diagram-design, draw an architecture diagram of <system name> showing its components and connections. Write one self-contained .html file with inline SVG. Verify the file opens in a browser and that no labels are clipped or overlapping.
-
Match diagrams to your site's brand
Onboard the skill to your site so every new diagram uses your palette and fonts.
View prompt
Using the diagram-design skill from cathrynlavery/diagram-design, onboard to <site URL> so it pulls the site's palette and fonts. Then draw a quadrant diagram of <topic> and write one self-contained .html file. Verify that the accent color and fonts match the site.
-
Redraw old Mermaid or draw.io diagrams
Convert an existing Mermaid, draw.io or Excalidraw diagram into a styled HTML file.
View prompt
Using the diagram-design skill from cathrynlavery/diagram-design, redraw the existing diagram at <path to Mermaid, draw.io or Excalidraw file> as one self-contained .html file with inline SVG. Verify that every node and connection from the original appears in the output.
-
Export a finished diagram to PNG or SVG
Save a generated diagram as a PNG or SVG file for slides, docs or a website.
View prompt
Using the diagram-design skill from cathrynlavery/diagram-design, export the diagram at <path to .html file> to PNG and to SVG. Verify that both files open and that text and lines are not clipped.
What people are building with Diagram Design
-
Hands-onX
Drew an Azure document platform's architecture with Diagram Design
The author ran Diagram Design on a document intelligence platform built for a client on Azure and got two diagrams in one go: how the pieces connect, and which Azure service handles each step.
By Dhilip Subramanian (@sdhilip)
-
Built withX
Built Diagram Studio on top of diagram-design to map local repos
The team built a stdlib only Python web app and TUI on top of diagram-design that turns any local repo into an HTML and SVG architecture map plus a Markdown knowledge base.
By @regolo_ai
Real builds shared on X, Hacker News, Reddit, DEV and GitHub, summed up by Deduped from each post and its links; each card links to the original post. See what people are building with other repos
Quick start with Diagram Design
- Check you have what it needs: An agent host that reads Agent Skills, such as Claude Code, Codex, Cursor or GitHub Copilot; A terminal that can run `npx skills add` or the host's plugin commands; A web browser to open the generated .html file.
- Open cathrynlavery/diagram-design on GitHub and read the README and license.
- Install the skill with
npx skills add cathrynlavery/diagram-design. - Ask your agent in plain words, for example: "Make me an architecture diagram of my app: frontend, backend, database, Redis cache."
- Check the agent's stated plan for the diagram type it chose.
- Open the generated .html file by double-clicking it.
These steps come from our top use case, Draw an architecture diagram for a doc or post, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cathrynlavery/diagram-design
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeBest AI repos for Software and DevOps · Compared in: Best open-source AI repos for drawing diagrams with AI · Best open-source AI repos for UI design with AI coding agents
About this repo
- Who it is forBuilt for developers, writers and teams who need publishable diagrams and already work with an AI coding agent that supports Agent Skills.
- Why it is hot65k stars on GitHub as of Nov 6, 2026
- LanguageHTML
- Sourcegithub.com/cathrynlavery/diagram-design · Back to Hot repos
Requirements
- An agent host that reads Agent Skills, such as Claude Code, Codex, Cursor or GitHub Copilot
- A terminal that can run `npx skills add` or the host's plugin commands
- A web browser to open the generated .html file
Add this badge to your README
Maintain Diagram Design? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/cathrynlavery-diagram-design/?utm_source=github&utm_medium=badge&utm_campaign=cathrynlavery-diagram-design)
HTML
<a href="https://dedupedai.com/use-cases/cathrynlavery-diagram-design/?utm_source=github&utm_medium=badge&utm_campaign=cathrynlavery-diagram-design"><img src="https://dedupedai.com/badge/cathrynlavery/diagram-design.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Diagram Design
What is Diagram Design?
Diagram Design is an agent skill that makes one self-contained HTML and SVG diagram file in a consistent editorial style, matched to your brand. It is an open-source project on GitHub: https://github.com/cathrynlavery/diagram-design.
How do I use Diagram Design?
Install the skill with npx skills add cathrynlavery/diagram-design; then ask your agent in plain words, for example: "Make me an architecture diagram of my app: frontend, backend, database, Redis cache."; check the agent's stated plan for the diagram type it chose. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Diagram Design for?
Built for developers, writers and teams who need publishable diagrams and already work with an AI coding agent that supports Agent Skills.
What can I do with Diagram Design?
4 use cases so far, for example: Draw an architecture diagram for a doc or post; Match diagrams to your site's brand; Redraw old Mermaid or draw.io diagrams. Each has steps and a copy-paste agent prompt.
What do I need to run Diagram Design?
An agent host that reads Agent Skills, such as Claude Code, Codex, Cursor or GitHub Copilot; A terminal that can run `npx skills add` or the host's plugin commands; A web browser to open the generated .html file.
What are alternatives to Diagram Design?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Diagram Design safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.