mermaid-diagrams
Installation
SKILL.md
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) | Generating standalone SVG/PDF architecture diagrams |
| Diagrams must travel as plain text alongside the source | A premium layout engine (tala) materially improves the result |
Core Expertise
- Text-to-diagram: Convert simple text syntax to professional diagrams
- Wide diagram support: Flowcharts, sequence, class, state, ERD, Gantt, pie, and more
- Multiple outputs: SVG (default), PNG, PDF
- Markdown integration: Embed in documentation, GitHub README, wikis