DEDUPED We read 1,000+ AI sources. You read one email. Subscribe free

AI USE CASES

How to draw an architecture diagram for your README without a design tool with diagram-design

Describe your app in plain words and get a clean HTML and SVG diagram to drop into your README.

Seen in the wild

Evidence: X, Oct 2026 · X, Oct 2026

Similar to what people reported. The steps and prompt below are AI written, not copied from those posts.

Who it is forSolo developer about to publish a repo who needs an architecture picture and does not want to open Figma or fight Mermaid

The problemREADME diagrams either look like default Mermaid output or take an hour in a drawing app.

The outcomeOne self-contained HTML file with an architecture diagram (frontend, backend, database, cache) you can open by double-clicking and export as PNG or SVG.

What you need first

  • An Agent Skills compatible host such as Claude Code, Codex, Cursor, Qoder, GitHub Copilot, Gemini CLI, Cline, Windsurf or Amp
  • Node.js for the npx install command
  • A browser to open the generated HTML file
  • Optional: a public website URL for brand onboarding

Steps

  1. Run: 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. Open the generated .html file in your browser and check the labels and arrows.
  4. Ask the agent to export a PNG or SVG and add it to your README.

Prompt for your agent

Using the diagram-design skill, draw an architecture diagram of <my project: components and how they connect> as a single HTML and SVG file. Then export it as SVG so I can embed it in the README, and tell me which diagram type you picked and why.

Caveat. The skill works from your description, so any component you forget to mention will be missing from the diagram. Check it against your real code before publishing.

About diagram-design

An agent skill that draws clean diagrams as a single HTML and SVG file in your brand. Part of this week's top 10 repos: ranked #8 on Repo Radar. View cathrynlavery/diagram-design on GitHub.

More with diagram-design

See all use cases for cathrynlavery/diagram-design

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page