mermaid
Installation
SKILL.md
Mermaid Overview Diagrams
Rules
- prefer flowchart (graph) with TD or LR direction
- wrap in
```mermaidfenced code block - use stadium-shaped nodes:
([text]) - use meaningful node IDs reflecting component names
- use
-->for dependencies,-.->for optional/async dependencies - label arrows only when ambiguous:
Gateway -->|routes| Service - visualize only high-level concepts — omit classes, methods, implementation details
- use subgraphs for logical grouping (subsystems)
- write diagram into the target file (e.g. README.md) when context is clear