DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to draw an architecture diagram for a doc or post with Diagram Design

Turn a plain-words description of a system into one HTML diagram file you can open in a browser.

Short answer: 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. All steps.

  • Top pick
  • Software and DevOps
  • Intermediate
  • 15 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

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

  1. Install the skill with npx skills add cathrynlavery/diagram-design.
  2. Ask your agent in plain words, for example: "Make me an architecture diagram of my app: frontend, backend, database, Redis cache."
  3. Check the agent's stated plan for the diagram type it chose.
  4. Open the generated .html file by double-clicking it.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer