AGENTCONN
D

// Agent profile

Diagram Design

Coding Free

About Diagram Design

Diagram Design is an open-source agent skill that generates editorial-quality diagrams as single self-contained HTML files with inline SVG. It supports 52 diagram types — architecture, flowchart, sequence, ER, Gantt, Sankey, Wardley map, and more — each available in minimal light, minimal dark, and full-editorial variants. The skill pulls colors and fonts from your website for automatic brand onboarding with WCAG AA contrast checks, lays out on a 4px grid with CI checks for overlaps and clipping, and can redraw existing draw.io, Mermaid, Excalidraw, and PlantUML files. With 73.3k GitHub stars in its first weeks on trending, it has become the standard way to produce publication-ready diagrams inside coding agents.

Key Features

  • 52 diagram types — architecture, flowchart, sequence, ER, Gantt, Sankey, Wardley map, and more
  • Self-contained HTML + SVG output — no build step, no JavaScript, no external dependencies
  • Automatic brand onboarding — pulls colors and fonts from your website with WCAG AA contrast check
  • Minimal light, minimal dark, and full-editorial variants for every diagram type
  • Imports and redraws draw.io, Mermaid, Excalidraw, and PlantUML files
  • 4px grid layout with CI checks for overlaps and clipping
  • Export to SVG or PNG — system fonts mean zero network requests
  • Works with Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi

Overview

Diagram Design takes a different approach from code-based diagramming tools like Mermaid or PlantUML. Instead of generating diagrams from a domain-specific language, it works as an agent skill: you describe what you want in plain language, and the agent picks from 52 diagram types, states a plan, and writes a single .html file that opens in any browser. The output is self-contained HTML with inline SVG — no JavaScript, no external images, no build step. The result looks like something a designer made, not something a tool generated.

The skill ships as a Claude Code plugin (installable from the marketplace) and also works with Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi via the npx skills add command. At 73.3k GitHub stars and 4.9k forks, it has become one of the most adopted agent skills in the ecosystem.

Key Capabilities

52 diagram types with editorial styling: Every diagram type — from architecture overviews to Sankey flows to Wardley maps — ships in three variants: minimal light, minimal dark, and full editorial. The full-editorial variant uses careful typography, spacing, and color to produce output that belongs in a technical blog post or investor deck, not a whiteboard screenshot.

Brand onboarding: Point the skill at your website and it extracts your colors and fonts, then applies them consistently across every diagram. A built-in WCAG AA check ensures text remains readable against your brand palette. This means diagrams match your documentation without manual color-picking.

Self-contained output: Each diagram is a single HTML file with inline SVG. No <script> tags, no external stylesheet links, no image URLs. The file uses system fonts so it renders identically offline. This makes diagrams trivially embeddable in docs, blog posts, and presentations.

Redraw existing diagrams: Feed the skill a draw.io, Mermaid, Excalidraw, or PlantUML file and it produces an editorial-quality redraw in the same HTML + SVG format. This lets teams upgrade legacy diagrams without starting from scratch.

Layout precision: Diagrams are laid out on a 4px grid. The project includes CI checks that catch overlapping elements and clipped text — the kind of layout bugs that make auto-generated diagrams look amateur.

Use Cases

Technical documentation: Teams producing developer docs, API references, or architecture decision records get publication-ready diagrams without leaving their coding agent. The brand onboarding means diagrams match the docs site automatically.

Blog post and presentation graphics: Writers and speakers who need clean diagrams but lack design tools can describe what they want in natural language and get editorial-quality SVG output in seconds.

Legacy diagram migration: Organizations with years of Mermaid or draw.io diagrams can batch-redraw them into a consistent editorial style using the import-and-redraw feature.

CI-enforced diagram quality: The 4px grid and overlap/clipping checks can run in CI, catching diagram regressions the same way linting catches code regressions.

Considerations

Diagram Design produces static SVG — there is no interactivity, animation, or dynamic data binding. Teams that need live dashboards or clickable prototypes will want a different tool. The brand onboarding requires a publicly accessible website to scrape colors from; teams without one need to configure colors manually. The MIT license is permissive, but the generated diagrams carry no license restriction at all — they are your output.

Who It’s For

Developers and technical writers who want publication-ready diagrams without opening Figma or draw.io. Teams that have standardized on a coding agent (Claude Code, Copilot, Cursor) and want diagrams as part of their agent workflow rather than a separate design step. Organizations that want consistent, branded diagrams across documentation without hiring a designer for every architecture overview.

Similar Agents