mrkeyoor.com_
Fri 25 Sept 22:44 UTC
AI Toolsevaluationupdated 26 Aug 2026

diagram-design review

Diagram Design is a skill and plugin that helps Claude Code, Codex, Factory Droid, and Pi turn a written brief into self-contained HTML and SVG diagrams. It packages 39 diagram types, an editorial visual system, brand profiles, import tools, accessibility rules, and optional motion so generated charts need less design repair.

+988stars / 7d
Verdict

Our Diagram Design run installed 35 packages and built in 19 seconds combined, but no test target existed, so the strongest evidence is its inspectable templates and CI tooling rather than a passing suite. Use it when an agent already sits in your writing workflow and editorial restraint matters more than exact deterministic layout. Choose Mermaid, D2, or draw.io when reproducible source or hands-on canvas control is the deciding need.

We ran it

Lab card: what happened when we ran diagram-designScreenshot of diagram-design (cathrynlavery.github.io/diagram-design)
Install✓ · 15s35 packages · 37 MB
Build✓ · 4s
Testsn/ano test script
Known vulns0(pip-audit)
Repo337 files~21,740 lines of source · 9.2 MB · 2 CI workflows

Answers from our run

Does diagram-design build from source?

Dependencies installed in 15 seconds (35 packages), and the build succeeded in 4 seconds. We cloned commit 4faae66 into a clean Debian container with 3 CPUs and no project-specific setup.

Does diagram-design have tests you can run?

Not through a standard command: the project exposes no test script or target that our harness could run.

Does diagram-design have known vulnerabilities in its dependencies?

pip-audit found none in the dependency tree at the time of our run.

Who should not use diagram-design?

Teams that need a visual drag-and-drop editor: the README says there is no Figma workflow, and source edits happen in HTML and SVG.

What are the alternatives to diagram-design?

Mermaid, D2, draw.io. Our Diagram Design run installed 35 packages and built in 19 seconds combined, but no test target existed, so the strongest evidence is its inspectable templates and CI tooling rather than a passing suite.

Setup4/5Static output is simple; export and agent hosts add separate setup
Docs5/5Detailed types, branding, imports, export, motion, and safety rules
Community4/5Pushed August 2026 with active review across 31 issues and PRs
Maturity3/5Many checks and examples, but no runnable general test target

Who it’s for

Developers and writers who regularly need architecture, process, data, or strategy diagrams.
Small teams without a designer that still care about typography, spacing, and hierarchy.
Claude Code or Codex users who want editable HTML and SVG rather than a locked image.
Brand-conscious teams willing to review generated layouts and maintain shared profiles.

Who it’s NOT for

Teams that need a visual drag-and-drop editor: the README says there is no Figma workflow, and source edits happen in HTML and SVG.
People expecting source coordinates and styling to survive import: draw.io and Mermaid redraws preserve content and relationships but deliberately replace layout, palette, and fonts.
Users who need PNG export with no browser tooling: raster output requires Playwright and a browser installation.
Anyone requiring a conventional stable release artifact: GitHub's latest-release endpoint returns no release, while installation follows plugin marketplaces or Git.
Workflows that cannot review agent-written markup: the repository has many lint and render gates, but our sandbox found no general test target to run.

Setup reality

Our commit 4faae66 checkout installed 35 Python packages in 15 seconds and used 37 MB, then built in 4 seconds. There was no tests script or target, so tests were skipped rather than passed. Pip-audit found 0 known vulnerabilities. The repository had 337 files, about 21,740 source lines, and 2 CI workflows.

The static HTML and SVG templates need no build or external image service. Guided generation needs a supported agent host; brand onboarding may fetch a site, and PNG export or rendered-layout linting adds Playwright plus a browser.

Outputs still need visual review for clipping, routing, density, and brand accuracy. Marketplace update behavior differs across Claude Code, Codex, Droid, and Pi, while editable installs can be overwritten unless profiles and project markers are used as documented.

Thirty-nine types replace the blank-canvas problem

Diagram Design is a set of agent instructions, references, scripts, and reusable assets for producing self-contained HTML with inline SVG. It does not introduce a new canvas or graph engine. Its main idea is that a coding agent draws better when it receives explicit constraints about type, spacing, connectors, palette, density, and accessibility.

The README lists 39 types, each shipped in minimal light, minimal dark, and full-editorial variants. Coverage includes architecture, sequence, state, entity relationship, timelines, quadrants, charts, data flows, Sankey diagrams, Wardley maps, kanban boards, user journeys, deployment views, UML classes, and database schemas. A local gallery exposes the catalog without a build step.

That breadth matters less than the selection rules. Semantic patterns describe queues, policy traces, governance catalogs, and other behaviors before the agent chooses a visual type. The skill loads only the references relevant to the request. A focused architecture brief can therefore use one grammar instead of asking an LLM to invent a visual system from scratch.

A 4-out-of-10 density target keeps diagrams selective

The design guide reserves accent color for 1 or 2 focal elements and targets a visual density of 4 out of 10. Templates use named roles for paper, ink, muted text, links, and typography. Connector and label guidance tries to prevent the familiar output of equal rounded boxes joined by lines that collide with text. Deletion is treated as a legitimate design choice.

Brand onboarding can inspect a public site, map detected colors and fonts into those roles, check contrast, show a proposed diff, and save the result. Named profiles live outside the installed skill, while a .diagram-design marker lets each project select one. That arrangement helps agencies or teams switch clients without rewriting a shared file on every job.

Website extraction remains a proposal, not an oracle. A site's most common CTA color may be wrong for a dense label, a webfont may have licensing or availability constraints, and a generated layout may still clip. The skill pauses before applying default styling to a branded project, which is the right place for a human decision.

What happened when we ran it

We cloned commit 4faae66 into a fresh unprivileged Debian container with 3 CPUs and 8 GB of RAM. Installing 35 Python packages took 15 seconds and occupied 37 MB. The build succeeded in 4 seconds. Pip-audit reported 0 known vulnerabilities in that installed environment.

There was no tests script or target for our harness, so the test step was skipped. That wording matters: a skipped step is not a passing suite. The checkout contained 337 files, about 21,740 lines of source, and 9.2 MB of data. We found 2 CI workflow files, no Dockerfile, and no tests directory.

The README documents many narrower checks that our generic harness did not invoke. They cover skin rules, accessibility, geometry, treemap proportions, imports, documentation sync, motion assets, a pinned animation controller, and headless rendered layout. Those tools are encouraging, but our measured result establishes only the successful install, build, and audit plus the absence of a general test target.

Static HTML needs no runtime; PNG needs Playwright

Ordinary output is static, script-free HTML and SVG with no external image dependency. Templates provide an accessible name and description, unique IDs, hidden decorative icons, and reduced-motion handling. Optional motion uses a reviewed controller with static, reveal, step, and loop modes; the default remains static. Remote assets, arbitrary inline scripts, CSS imports, and executable HTML attributes are rejected by project checks.

SVG export extracts the diagram for use in browsers or design software. PNG export rasterizes it at 2x by default and needs Playwright plus an installed browser. The README's command still shows Chromium installation, although open pull request #59 proposes using any available Playwright engine. Full-editorial cards and headers are excluded from diagram-only exports, so a complete page needs browser capture or print tooling.

The source remains technical. Correcting a label collision or rerouting a connector means editing SVG coordinates or asking the agent to revise them. There are no Figma-style handles. Front-end developers may accept that trade; people who expect direct manipulation should start with draw.io.

Imports preserve meaning and discard the old layout

The skill reads common draw.io containers and Mermaid files or fenced blocks, including compressed draw.io payloads. It converts the source into a structured representation, selects a Diagram Design grammar, and redraws it at a requested format, size, and detail level. Mermaid parsing is text-only and does not execute JavaScript, use a browser, contact a network, or follow click targets.

Import is intentionally interpretive. Components, relationships, grouping, and direction carry over. Coordinates, palette, fonts, and automatic layout do not. That is suitable when the goal is to restyle an existing diagram for an article or deck. It is the wrong tool when pixel placement or an organization's established draw.io component library must remain intact.

August 25 activity is strong despite no GitHub release

The repository was pushed on August 25, 2026, and GitHub showed 31 combined issues and pull requests. The README names internal version 2.5.10 and describes its last 10 diagram grammars, yet the latest-release API returns no GitHub release. Those facts can coexist: the project has versioned marketplace content without a conventional GitHub release artifact.

Current work addresses export engines, PowerPoint SVG color handling, Mermaid label retention, documentation token drift, and README image size. Those are specific maintenance concerns from people using the output in real destinations. The 40 KB README also documents installation across four agent hosts, profile recovery, import limits, export steps, motion policy, and contributor gates.

Diagram Design earns a place in an agent-assisted publishing workflow because its constraints are concrete and its files remain editable. Our 19-second install-and-build result makes a trial cheap. The missing general test target and interpretive layout mean every delivered diagram still needs a browser check by someone who can judge both correctness and composition.

Alternatives

ProjectWhat it isPick it when
Mermaid gh↗A text diagram syntax with broad Markdown and documentation support.pick this instead when compact versioned source and repeatable automated rendering matter more than editorial styling.
D2 gh↗A declarative diagram language with automatic layout and a dedicated CLI.pick this instead when diagrams must rebuild predictably from concise source files.
draw.io gh↗A visual editor for manually arranging detailed technical and business diagrams.pick this instead when precise direct manipulation and dense manual layouts are the priority.

What people are saying

  1. [github-trending] cathrynlavery/diagram-design

Sources

  1. Diagram Design README
  2. Diagram Design skill guide
  3. Playwright export engine pull request
  4. PowerPoint SVG export pull request

More ai tools reviews

nobodywho · desktop-cc-gui · langextract · openrig · skills · awesome-grokbot · the whole board →