Render Mermaid diagrams (mmdc) to SVG/PNG/PDF — flowcharts, sequence, ERDs, class, state, Gantt, pie, gitGraph. Use when rendering .mmd or embedding diagrams in GitHub Markdown.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Render Mermaid diagrams (mmdc) to SVG/PNG/PDF — flowcharts, sequence, ERDs, class, state, Gantt, pie, gitGraph. Use when rendering .mmd or embedding diagrams in GitHub Markdown.
user-invocable
false
allowed-tools
Bash, Read, Write, Grep, Glob, TodoWrite
model
sonnet
created
"2025-12-26T00:00:00.000Z"
modified
"2026-05-09T00:00:00.000Z"
reviewed
"2026-04-25T00:00:00.000Z"
Mermaid Diagrams
Expert in generating diagrams from Markdown-inspired text definitions using Mermaid CLI.
When to Use This Skill
Use this skill when...
Use d2-diagrams instead when...
Embedding a diagram directly in a GitHub README or wiki
The output needs rich styling, custom themes, or icons
Authoring sequence diagrams or simple flowcharts
The diagram has deeply nested containers or complex layouts
Targeting platforms that natively render Mermaid (GitHub, GitLab, Notion)
graph TB
subgraph Frontend
A[React App]
end
subgraph Backend
B[API Gateway]
C[Service 1]
D[Service 2]
end
subgraph Data
E[(PostgreSQL)]
F[(Redis)]
end
A --> B
B --> C
B --> D
C --> E
D --> F
API Flow
sequenceDiagram
participant C as Client
participant G as Gateway
participant S as Service
participant D as Database
C->>G: HTTP Request
G->>S: Forward
S->>D: Query
D-->>S: Result
S-->>G: Response
G-->>C: HTTP Response