Who it is forA developer or technical writer who needs an architecture diagram for a blog post, design doc or README and does not want to draw it by hand.
The problemHand-drawing in Figma or a generic chatbot answer takes too long, and the result often looks unlike the rest of the site.
The outcomeOne .html file with an inline SVG architecture diagram that opens by double-clicking.
What you need first
- 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
Steps
- 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.
- Ask the agent again to remove or rename nodes, or edit the SVG directly.
Prompt for your agent
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.
Caveat. The same prompt can lay out differently on different runs, and the output is not an editable source file, so keep the prompt and the HTML file if you need to reproduce a diagram.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cathrynlavery/diagram-design and "Draw an architecture diagram for a doc or post"
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 freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer