The Diagram Pack for Claude — cover

Claude Code power-ups · Free PDF · 10 pages

The Diagram Pack for Claude

Clean diagrams from one plain sentence

You get this PDF right away, plus one email a week with the new guide. Unsubscribe in one click. Privacy

The problem

You explain processes with pasted screenshots and arrows drawn on top. Making a proper diagram means an hour fighting a design tool, so you skip it.

After this guide

You describe the diagram in plain words and Claude draws it in your brand colors. Process maps, funnels and project plans go to clients as clean files in minutes.

What's inside

  • The one-line install and a quick check that it works
  • All 44 diagram types sorted by the job they do
  • 10 copy-paste prompts: process maps, funnels, journeys, project plans
  • How to put your own brand colors and fonts on every diagram

Free preview

The Diagram Pack for Claude is a free guide to Diagram Design, an open-source skill that lets Claude Code and other coding agents draw clean diagrams. You describe a diagram in plain words, Claude picks the right type, tells you its plan, and writes one HTML file with a clean SVG inside. It is for anyone who explains processes, plans or systems to clients and wants to send a clear diagram instead of a screenshot.

  1. Install the skillIn a terminal, run npx skills add cathrynlavery/diagram-design. It works with Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Cline, Windsurf and more, and needs Node.js.
  2. Add the Claude Code pluginInside Claude Code, run /plugin marketplace add cathrynlavery/diagram-design, then /plugin install diagram-design@diagram-design. This is the recommended route and adds the export, import and profile commands.
  3. Set your brand colors and fontsThe first time you use it in a project, it asks you to onboard your brand, paste colors, or use the default black and tangerine. Say onboard, and keep one profile per client so brands never overwrite each other.
  4. Pick a type by the jobYou don't have to name a type. Describe what you want to explain and Claude picks one, or use a name such as Flowchart, Swimlane, Gantt, Quadrant or Fishbone when you want a specific look.
  5. Set size, detail and audienceDials control the canvas size, how much detail survives, the audience wording (engineer, mixed or executive) and the output format (html, svg, png or html+png).
  6. Check it before sendingOutput depends on the model and can lay out differently twice, so check every diagram before it goes to a client.

3 prompts from the guide

Check the install works and draw a first flowchart
Run the diagram-design doctor and tell me if anything is missing. Then make me a flowchart of how a customer books a call with us: visit site, fill form, we reply within a day, call booked. Save it to diagrams/booking.html.
Map a process with a swimlane
Use diagram-design. Draw a swimlane of how [client] handles a new order. Lanes: Customer, Sales, Warehouse, Accounts. Steps: [list them in order]. Make the handoff where orders get stuck the focal point. Size slide-16x9, audience executive. Tell me the type and what you'll cut before drawing. Save to diagrams/order-flow.html.
Onboard a client's brand from their site
Onboard diagram-design to https://[your-site.com]. Show me the proposed colors and fonts. If I approve, save it as profile [client-slug] and add a .diagram-design file with profile: [client-slug] to this project.

The full guide has every step, all the prompts and the fixes for what usually goes wrong.

Questions

What is Diagram Design for Claude?

It is a free, open-source skill (MIT license) for Claude Code and other coding agents. You describe a diagram in plain words and Claude writes one HTML file with a clean SVG inside, which opens in your browser when you double-click it.

How do I install the Diagram Design skill?

For any agent, run npx skills add cathrynlavery/diagram-design in a terminal (Node.js needed). In Claude Code, the plugin is recommended: /plugin marketplace add cathrynlavery/diagram-design, then /plugin install diagram-design@diagram-design.

What kinds of diagrams can it draw?

The gallery numbers 44 types, grouped by job: work flows, plans and time, structure, strategy, charts, software, and objects and spaces. Examples include flowcharts, swimlanes, Gantt charts, org charts, quadrants, funnels, architecture diagrams and ER models.

Can I use my own brand colors and fonts?

Yes. Say onboard the first time you use it in a project, then paste colors or point it at a website. Profiles are saved per client in ~/.diagram-design/profiles/, so two client projects never overwrite each other's brand.

When should I not use a diagram?

A list, a before/after comparison or a single box reads better as a table or a sentence. Diagrams that change every week in code docs belong in Mermaid.

More free guides

← All free guides