Diagram Design, Tested: Brand-Matched Diagrams Without a Paid Coding Agent

Most "AI diagram" tools are a subscription with a skill attached. Diagram Design is the other way round: a free, MIT-licensed skill — plain Markdown rules plus Python check scripts — that tells a coding agent how to draw clean, on-brand diagrams as one self-contained HTML + SVG file. It gained 1,141 GitHub stars on November 26, 2026 alone, accelerating for four days running. We tested v2.6 the hard way: no Claude Code, no Codex, no Cursor, no Copilot subscription anywhere on this machine. We read the skill, built two diagrams by hand from its rules using our own content, ran its own checkers against good and deliberately broken files, imported a Mermaid flowchart, and re-skinned it with our brand colours. Every result below is from that run — including the two places its own docs contradict its own shipped examples.

1. What Diagram Design is

Diagram Design (cathrynlavery/diagram-design on GitHub, by Cathryn Lavery) is an agent skill for 52 diagram types — architecture, flowchart, sequence, quadrant, timeline, Gantt, Sankey, Wardley maps and more — drawn as a single HTML file with inline SVG, in one opinionated editorial style: warm paper, jet-black ink, one burnt-tangerine accent, no shadows, no Mermaid-default look. You describe the diagram in plain words; the agent picks the type, states its plan, and writes a file you open by double-clicking. It can also pull your palette and fonts from your website once, so later diagrams match your brand, and it can redraw existing draw.io, Mermaid, Excalidraw and PlantUML files in its style.

Version testedv2.6 (commit b228c5d, 2026-11-25)
LicenceMIT — free, commercial use OK
GitHub73,646 stars · +1,141 on Nov 26
Diagram types52 (this version)
Cost / account$0 · none needed for the skill
Date tested2026-11-26

Attribution: Diagram Design is by Cathryn Lavery (cathrynlavery/diagram-design), MIT licence. This tutorial is based on our own hands-on test — the diagrams, the checker runs and the findings are ours; the skill's docs are quoted only where we say so.

2. Install — what we actually did

The documented install is one line, run inside a coding agent that reads Agent Skills:

npx skills add cathrynlavery/diagram-design

That command only copies the skill files into your agent's skills folders (Claude Code, Codex, Cursor, GitHub Copilot, Qoder, Gemini CLI, Cline, Windsurf, Amp and others). There is no server, no account and nothing to compile. Because we own no paid coding agent, we instead cloned the official repository and verified the name character by character — the single most important step, since the README warns that listings under any other name are unofficial copies:

git clone https://github.com/cathrynlavery/diagram-design.git

Then we read skills/diagram-design/SKILL.md (387 lines), the style guide, the architecture and quadrant type references, and the Mermaid import guide — and built the diagrams below by hand. If you do have a coding agent, the same files are what it reads; our test covers the skill itself, not any one agent's behaviour.

Honesty box — what we did and did not run. We did not run the skill inside Claude Code, Codex, Cursor or any other paid agent (we hold no subscription), so we make no claim about how well a particular agent follows the rules — the README itself says output quality depends on your model. What we did verify, all locally and free: the skill's rules as written, its Python check scripts, its Mermaid extractor, its SVG exporter, and two diagrams built to its spec. We also did not test PNG export: it needs Playwright plus a headless browser, which is not installed here, and the skill's own instructions say to skip that step when it is missing.

3. Our test: two diagrams built by hand, then checked by its own scripts

We set six test questions before touching anything, and scored each one against a real result — not a reading of the docs.

TestResultWhat we observed
Use it with no paid coding agentPassThe skill is Markdown + Python scripts. Both diagrams below were built by hand from its rules, with no agent involved. The honest cost: you do the layout arithmetic yourself (4px grid, fanned ports, label masks) — about 30–45 minutes per diagram. The agent's value is automatic layout, not access.
Output truly self-contained / offlinePartialDefault mode is not offline: the template loads Instrument Serif, Geist and Geist Mono from Google Fonts. System-font mode is offline: our quadrant file has no font link at all and passed self_check.py --offline, while the default-mode architecture file correctly failed the same check.
Its checkers catch real mistakesPassself_check.py and verify_geometry.py passed both good diagrams and the shipped example — and failed both deliberately broken copies (a missing <title> failed self-check with 4 findings; a diagonal connector failed geometry with 2). One catch: self-check alone does not catch the diagonal — run both scripts.
Mermaid import without an agentPassOur own 6-node, 8-edge Mermaid flowchart extracted cleanly (mermaid_extract.py: 6n/8e, type candidate "architecture", budget OK, hubs Payment and Buyer). The redraw is the architecture diagram below — same 6 nodes and 8 connections, direction kept, dashed return preserved.
PNG exportNot verifiedNeeds Playwright + a headless browser; neither is installed here, so per the skill's own instruction we skipped it. SVG export (export_svg.py) works with no extra install and produced a valid 12 KB standalone SVG.
Our brand colours pass its contrast rulesPass*Our brand terracotta #bc5a38 measures 4.44:1 on our paper #fffdf9 — just under the skill's 4.5:1 text rule. Our darker #9c4527 measures 6.27:1 and passes, so the quadrant uses that as its accent. The skill's own default accent is darkened the same way for the same reason.

The two diagrams. Both use our own content only. The architecture diagram uses the skill's default skin; the quadrant uses our CluoPrints brand skin (paper #fffdf9, ink #33302b, muted #7c7264, accent #9c4527) in system-font mode. Figures below render in your system fonts — the standalone architecture file loads Instrument Serif and Geist from Google Fonts, the quadrant file loads nothing.

How a CluoPrints order flows Architecture diagram showing a buyer ordering a digital template through Payhip, Ko-fi, or Fourthwall, paying with Stripe or PayPal, and receiving a download link. STOREFRONTS VISIT CHECKOUT PAID LINK EXT Buyer Customer SHOP Payhip Storefront · CAD SHOP Ko-fi Storefront · CAD SHOP Fourthwall Storefront · USD PAY Payment Stripe · PayPal FILE File delivery Download link · email LEGEND Focal / payment Storefront File delivery Buyer Primary flow Return / async

Figure 1 — Architecture, default skin. How a CluoPrints order flows: a buyer visits Payhip, Ko-fi or Fourthwall, pays with Stripe or PayPal, and receives a download link. 6 nodes, 8 connections, 1 accent node (Payment). Verified: self_check.py OK, verify_geometry.py 0 findings.

Template products · Revenue × Effort Revenue-effort matrix of eight CluoPrints template products, showing which to promote first in December 2026. HIGH EFFORT → ← LOW EFFORT ↑ HIGH REVENUE ↓ LOW REVENUE DO FIRST MAJOR PROJECTS QUICK WINS AVOID Debt Freedom Planner Contractor Costing Table Wedding Planner Life Decision Simulator Bookkeeping Sheet Calendar Pack AI/Robotics Pitch Deck Bridal Shower Games LEGEND Promote first Candidate product Position is the signal. Colour is reserved for the single action item.

Figure 2 — Quadrant, CluoPrints brand skin, system fonts. Our template products by revenue vs effort, as a promotion priority for December 2026 — positions reflect what we will push next, not product quality. 8 items, 1 accent item (Debt Freedom Planner). Verified: self_check.py OK, --offline OK, verify_geometry.py 0 findings.

The fidelity ledger for the Mermaid import. Source: 6 nodes, 8 edges, 0 labelled edges, 1 cycle (the dashed return). Redraw: 6 nodes, 8 transitions. Nothing merged, nothing dropped. Four short edge labels were added (VISIT / CHECKOUT / PAID / LINK) — annotation, not source content. The extractor never renders or executes Mermaid; it only parses text, and it treats every label as inert data.

4. Brand skin: one number to check before you trust your palette

The style guide's contrast contract is the part most people skip: every text token must clear 4.5:1 against the paper it sits on, in both skins, and the repo ships verify-contrast.py to enforce it (all 20 of its own checks pass, including light accent 4.71:1). Our brand colours, measured with the WCAG formula:

TokenOn our paper #fffdf9Verdict
Ink #33302b12.93:1Pass
Muted #7c72644.65:1Pass
Accent #bc5a38 (brand terracotta)4.44:1Fail — by 0.06
Accent-dark #9c45276.27:1Pass — used as the accent

The fix is the one the skill itself prescribes: darken the accent until it clears 4.5:1. Do not ship your raw brand colour as the accent without measuring it — ours missed by a hair, and at 7–8px label sizes that hair is the difference between readable and mush.

5. The limits, stated plainly

6. FAQ

Can I use Diagram Design without Claude Code, Codex, Cursor or any paid coding agent?

Yes — we did exactly that. The skill is a folder of Markdown and Python: clone the repo, read SKILL.md plus the type reference for the diagram you want, copy assets/template.html, and draw by hand. What you lose is automatic layout: node positions, elbow routes, fanned ports and label masks are yours to compute on the 4px grid. What you keep is everything else — the design system, the type rules, the check scripts and the import tools. If you later get an agent, the same files are what it reads.

Is the output really a single self-contained file — and does it work offline?

Almost. The HTML, CSS and SVG are all inline — no build step, no external images. The one exception is the font link: by default the file fetches Instrument Serif, Geist and Geist Mono from Google Fonts. Switch the font source to system (delete the <link>, keep the font stacks) and the file makes zero network requests. Verify with python3 scripts/self_check.py --offline your-diagram.html — it fails while the link is present and passes when it is gone, which we confirmed both ways. Note the trade-off: without the webfonts, readers see their system serif/sans/mono instead of the editorial faces, unless they have Geist installed locally.

Do its built-in checks actually catch mistakes — or do they always pass?

They catch real mistakes, and we proved it with broken copies. Deleting the <title> failed self_check.py with four findings; drawing one diagonal connector failed verify_geometry.py with two (diagonal routing, plus ports 0px apart). Run both scripts: self-check alone passed the diagonal file. The repo also ships verify-contrast.py (20 checks, all passing on its own defaults) and per-type verifiers for imports.

Can I import a Mermaid diagram without an agent — and what survives the import?

Yes. python3 scripts/mermaid_extract.py your-diagram.mmd parses the text locally — no rendering, no network, no execution — and prints a digest: nodes, edges, containers, hubs, budget flags. Then you redraw by hand in the skill's style; Mermaid's layout, theme and classes are discarded by design. What survives is the content: components, relationships, direction, edge labels, and (for quadrant charts) the original axis words and point positions. What does not survive is any styling, and you must report a fidelity ledger — what you merged, collapsed or dropped. Our import: 6 nodes and 8 edges in, 6 nodes and 8 transitions out, nothing dropped.

Will my brand colours work as the skin — or will they fail its contrast rules?

Measure before you trust them. The skill requires every text token to clear 4.5:1 on its paper, and its own default accent is a darkened version of its brand tangerine for exactly that reason. Our brand terracotta #bc5a38 measured 4.44:1 on our paper — a fail by 0.06 — so we used our darker #9c4527 (6.27:1) as the accent instead. Run the numbers with any WCAG calculator, or the repo's verify-contrast.py if you edit the style guide itself.

When should I not use it?

The skill says so itself, and we agree: if a table or a paragraph communicates the same thing, do not draw. Do not use it for one-shape "diagrams", for lists of things, or for live/interactive diagrams embedded in a web app — its output is static HTML/SVG. And do not use it to clone someone else's diagram style or to redraw a diagram you do not have the right to reproduce; the import tools are for your own sources.

Want a website built this way — tested, not just claimed?

This tutorial exists because we run these checks on our own site first. That is the same habit we bring to client work. Our website services build bilingual (English/French) sites for small businesses from C$699 — hand-checked code, modern patterns, and a free preview before you pay. Already have a site? Start with our free tools, or ask us for a modernisation pass: we will test it, show you what actually works, and fix what matters.

Want it printed?

We can put your design on T-shirts, hoodies, mugs, posters and more — printed to order in Quebec, no minimums, with a free preview before you pay.

Contact us for a free quote