What Kinds of Diagrams Can Diagram Design Create? 38 Editorial-Grade Visual Types Explained

Diagram Design can create 38 editorial-grade visual types spanning software architecture, data modeling, process flows, business analysis, and strategic frameworks, each rendered as self-contained HTML with inline SVG.

The cathrynlavery/diagram-design repository is a specialized skill for AI agents that generates publication-ready diagrams without external dependencies. According to the source code in SKILL.md, the system selects a visual type based on your request, then lazily loads the corresponding reference file containing layout grammar, styling rules, and accessibility contracts.

Complete List of 38 Diagram Types in Diagram Design

Software Architecture & System Design

Process & Workflow Diagrams

Data Modeling & Database Diagrams

Hierarchical & Structural Diagrams

Analytical & Comparative Diagrams

Strategic & Business Frameworks

UML & Formal Modeling

How Diagram Design Selects and Renders Diagram Types

The runtime architecture follows a three-phase pipeline defined in SKILL.md (lines 1-4):

  1. Manifest loading — The agent loads SKILL.md to access the 38-type catalog and design system philosophy
  2. Visual type selection — Based on your request, the skill selects a visual type and optionally a semantic pattern
  3. Lazy reference loading — The matching references/type-*.md file is loaded on demand, containing layout grammar, styling rules, and accessibility contracts

Semantic patterns are loaded only when behavior matters, as documented in the "Selection: semantic pattern, then visual type" section. Optional motion is gated by animation.md.

Output Formats and Styling Variants

Every diagram type in Diagram Design renders to three static variants:

  • Minimal light — Clean, low-ink design for documents
  • Minimal dark — Inverted for dark-mode presentations
  • Full-editorial — Rich styling with gradients and depth

Optional enhancements include accessible motion, sketchy hand-drawn styling, and terminal-window styling. All outputs are self-contained HTML with inline SVG — no external JavaScript, CSS, or image dependencies except Google Fonts.

Browse every example in all variants:


# macOS

open skills/diagram-design/assets/index.html

# Linux

xdg-open skills/diagram-design/assets/index.html

Importing and Converting Existing Diagrams

Diagram Design supports importing existing sources and redrawing them into any of its 38 visual types:

Source format Extraction script Behavior
draw.io (.drawio) [scripts/drawio_extract.py](https://github.com/cathrynlavery/diagram-design/blob/main/skills/diagram-design/scripts/drawio_extract.py) Extracts structured IR, preserves content, discards original layout/colors/fonts
Mermaid (.mmd) [scripts/mermaid_extract.py](https://github.com/cathrynlavery/diagram-design/blob/main/skills/diagram-design/scripts/mermaid_extract.py) Extracts structured IR, preserves content, discards original layout/colors/fonts

Import Commands


# Import draw.io and redraw as high-detail architecture diagram

/diagram-design:import-drawio platform.drawio --size=slide-16x9 --detail=faithful

# Export generated diagram to SVG and PNG

export-diagram path/to/diagram.html --svg-only
export-diagram path/to/diagram.html --png-only --scale=3

Key Implementation Files

File Purpose
SKILL.md Manifest describing 38 visual types, design system, and pre-output checklist
references/type-*.md Layout grammars for each visual type
assets/template*.html Scaffold HTML for minimal light, minimal dark, full-editorial, and motion variants
assets/example-*.html Example outputs for every type
scripts/self_check.py Runtime validation of accessibility, motion contracts, and SVG safety
commands/*.md Slash-command definitions for agents (export, import-drawio, import-mermaid, profile)

Summary

  • Diagram Design creates 38 editorial-grade diagram types across architecture, data, process, hierarchy, analytics, strategy, and UML categories
  • Each type has a dedicated reference file in references/type-*.md defining layout grammar and styling rules
  • Outputs are self-contained HTML/SVG with three styling variants plus optional motion and hand-drawn effects
  • Import pipeline converts draw.io and Mermaid sources into any Diagram Design visual type
  • No external dependencies except Google Fonts — ideal for embedding in documents and presentations

Frequently Asked Questions

What diagram format does Diagram Design output?

Diagram Design outputs self-contained HTML with inline SVG, plus optional PNG export. The HTML embeds all CSS and uses only Google Fonts as an external dependency. No JavaScript or image assets are required at runtime.

Can I convert my existing Mermaid or draw.io diagrams?

Yes. Use [scripts/mermaid_extract.py](https://github.com/cathrynlavery/diagram-design/blob/main/skills/diagram-design/scripts/mermaid_extract.py) or [scripts/drawio_extract.py](https://github.com/cathrynlavery/diagram-design/blob/main/skills/diagram-design/scripts/drawio_extract.py) to extract a structured intermediate representation, then redraw into any of the 38 Diagram Design visual types. The content is preserved; original layout, colors, and fonts are discarded.

How do I request a specific diagram type from an AI agent?

Reference the visual type directly in your prompt. For example: "Make me an architecture diagram of my app: frontend, backend, database, Redis cache" or "I need a quadrant showing Q2 projects by impact vs effort." The agent loads SKILL.md, selects the matching type, and lazy-loads the corresponding references/type-*.md file.

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →