diagram-design is a free, open source business intelligence & reporting project written in HTML and released under MIT. It has 40,762 GitHub stars, 2,602 forks and 42 open issues, and was last pushed 2 days ago. On this registry it ranks #6 of 34 tracked projects in Business Intelligence & Reporting, with 5 head-to-head comparisons available. It gained 594 stars over the last 3 tracked days.

What is diagram-design?

Diagram Design is a skill for Claude Code, Codex, Factory Droid, Pi, and other Agent Skills-compatible hosts that generates editorial-quality diagrams as self-contained HTML and SVG, aimed at writers, engineers, and designers who need brand-consistent visuals without opening Figma.

What it is

Diagram Design is an agent skill that produces static diagrams as self-contained HTML and SVG. The tagline and repository description advertise 38 editorial diagram types, while the README states that all 39 visual types ship in three static variants: minimal light, minimal dark, and full-editorial. Any variant opens directly in a browser, with no build step, no JavaScript, and no external image dependency. Semantic patterns describe behavior separately from layout, so a queue, a policy trace, or a trust boundary can reuse the nearest existing type instead of expanding the type count. Real identifiers carry through: flowcharts, sequence diagrams, state machines, ER/data models, swimlanes, quadrants, radar, treemaps, Gantt charts, Sankey, fishbone, Wardley maps, kanban, user journeys, deployment, dependency graphs, UML class, story maps, and database schema.

The concrete problem it solves is that asking a general assistant for a diagram yields a generic rounded-box result that matches nothing else on the page. The author's stated workflow was either fighting Figma for 30 minutes or skipping the diagram entirely. Diagram Design replaces that with a small set of editorial types that can match a brand by reading a website, and it also redraws existing draw.io, Mermaid, or Excalidraw sources at a chosen format, size, and detail level. The skill lives entirely in the agent-host ecosystem, so it produces files rather than a runtime service.

Key capabilities

  • Ships 38 advertized diagram types, or 39 as counted in the README, covering architecture, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar, loop/flywheel, tree, org chart, layer stack, Venn, pyramid, bar, treemap, line chart, Gantt, scatter, process, medallion, data flow, Sankey, fishbone, Wardley map, kanban, user journey, deployment, dependency graph, UML class, story map, database schema, polar chart, and waterfall.
  • Renders each type in three static variants: minimal light, minimal dark, and full-editorial.
  • Describes behavior through semantic patterns so a queue, policy trace, or trust boundary maps onto the nearest existing type rather than adding a new one.
  • Redraws draw.io, Mermaid, or Excalidraw sources at a chosen format, size, and detail level.
  • Keeps static HTML as the default output while offering optional accessible motion for ordered explanations.
  • Produces self-contained HTML plus SVG with no build step, no JavaScript, and no external image dependency.
  • Matches a brand by reading the target website, reserving the accent color for the one or two items the reader should notice first, at a stated target density of 4/10.

Who uses it and how

  • Agents running in Claude Code, Codex, Factory Droid, Pi, and other Agent Skills-compatible hosts call the skill during document or repository work where a diagram is needed.
  • Teams with existing diagram sources hand the skill draw.io, Mermaid, or Excalidraw files and receive a redraw at a chosen format, size, and detail level.
  • Writers and site owners use it for architecture sketches, flowcharts, and ranked hierarchies that must match an existing brand, with the brand match performed by having the skill read the website.
  • Documentation and reporting work benefits from ordered explanations that use optional accessible motion while static output stays the default.
  • Reviewers compare variants through the 30-variant contact sheet at .github/pr-previews/editorial-diagrams-2.5.10.jpg and the live gallery at cathrynlavery.github.io/diagram-design/.

Getting started

No package-manager, Docker image, or compose file appears in the provided facts; the skill is distributed as a skill directory, and its assets open directly at skills/diagram-design/assets/index.html with no build step. The hosted gallery at https://cathrynlavery.github.io/diagram-design/ serves as the browsable reference.

How it compares

The README names Mermaid, draw.io, Excalidraw, and Figma as the tools this work sits beside or against. It positions itself as the editorial alternative to Mermaid's default output and to draw.io and Excalidraw redraws, while explicitly declining to work with Figma. No list of paid products replaced by this project is provided, so no licence or cost comparison against commercial tools can be drawn.

When to use it — and when not to

A self-hoster operates nothing: output is self-contained HTML and SVG with no build step, no JavaScript, and no external image dependency, and no database, object storage, or SMTP is mentioned. Do not pick it for interactive dashboards, data-bound charts, or anything needing runtime JavaScript behavior, because static output is the default and motion is only an optional aid for ordered explanations. The main weakness visible in the facts is an inconsistent type count, with 38 in the description and 39 in the README, plus a README excerpt that stops mid-sentence at the asset path.

project readme (upstream, from github) — read inline

Diagram Design

Editorial diagrams your designer won't hate.

cathrynlavery%2Fdiagram-design | Trendshift

Content site architecture

The self-improving loop

New in 2.0 — the Loop: flywheels with a shared-memory hub. The dashed lines are the write-backs.

New in 2.3: semantic system patterns and optional accessible motion, while static output stays the default.

New in 2.5.10: ten more layout grammars — Sankey, fishbone, Wardley map, kanban, user journey, deployment, dependency graph, UML class, story map, and database schema.

39 editorial diagram types for Claude Code, Codex, Factory Droid, Pi, and Agent Skills-compatible hosts. Self-contained HTML + SVG. No shadows. No Mermaid slop. Semantic patterns describe behavior separately from layout, so a queue, policy trace, or trust boundary can use the nearest existing type without expanding the type count. Static HTML remains the default; optional motion is available for ordered explanations. The skill also redraws draw.io, Mermaid, or Excalidraw sources at a chosen format, size, and detail level.

No Figma. No generic rounded boxes. No 30-minute color-picking sessions.


Why I built it

I write at littlemight.com (and run BestSelf.co on the side). Every time I needed a diagram — an architecture sketch, a flowchart, a pyramid of what matters most — I'd ask Claude and get back a generic rounded-box thing that looked nothing like the rest of the site. I'd either fight with Figma for 30 minutes or just skip the diagram.

So I built a Claude Code skill for it. Thirty-nine visual types, editorial quality, matches your brand in 60 seconds by reading your website.

The highest-quality move is usually deletion. Every node earns its place. The accent color is reserved for the 1–2 things the reader should look at first. Target density: 4/10.


What it makes

All 39 visual types ship in three static variants: minimal light, minimal dark, and full-editorial. Open any of them directly in a browser. There is no build step, JavaScript, or external image dependency.


Architecture
Components + connections

IT current-state
Legacy landscape + modernization

Flowchart
Decision logic

Sequence
Messages over time

State machine
States + transitions

ER / data model
Entities + fields

Timeline
Events on an axis

Swimlane
Cross-functional flow

Quadrant
Two-axis positioning

Radar / spider
Multi-axis comparison

Loop / flywheel
Reinforcing cycle + shared hub

Nested
Hierarchy by containment

Tree
Parent → children

Org chart
Ownership + routing

Layer stack
Stacked abstractions

Venn
Set overlap

Pyramid / funnel
Ranked hierarchy or drop-off

Bar chart
Categorical comparison

Treemap
Part-of-whole by area

Line chart
Trends over time

Gantt
Tasks + phases on a timeline

Scatter plot
Distribution + correlation

High-Level
End-to-end stack on a cluster

Process
Multi-actor sequential workflow

Medallion
Multi-tier data storage

Data flow
Role-scoped pipeline steps

DP integration
Sources → core → consumers

DP security matrix
Per-role access permissions

Sankey
Quantities that split + merge

Fishbone
Grouped causes → one effect

Wardley map
Value chain × evolution

Kanban<

readme truncated — read the full docs on github

Frequently asked questions

Is diagram-design free to use?

diagram-design is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does diagram-design do?

38 editorial diagram types for Claude Code, Codex, and Pi. Self-contained HTML + SVG. No shadows. No Mermaid slop.

What is diagram-design written in?

diagram-design is primarily written in HTML. Its source is publicly available at https://github.com/cathrynlavery/diagram-design, and it has 40,762 GitHub stars.