mermaid
Installation
SKILL.md
Mermaid Diagrams
Intent Router
Load sections based on the task:
- Diagram syntax and type selection ->
references/diagram-types.md - Configuration, themes, and directives ->
references/config-and-theming.md - Embedding, export, and troubleshooting ->
references/embedding-and-troubleshooting.md
Overview
This skill covers Mermaid diagram authoring and rendering. Use it for text-first diagrams embedded in Markdown, lightweight documentation visuals, and CLI-based export to common image formats.
The guidance follows the official Mermaid documentation and Mermaid CLI patterns.
Quick Start
Before promising an export, verify that Mermaid CLI is installed and runnable: