| name | mermaid-diagram-master |
| description | Converts code logic, API flows, or database schemas into Mermaid.js diagrams. Use when user asks to "explain architecture", "visualize flow", or "document this". |
Skill: Mermaid Diagram Master
Capabilities
Transform abstract code or system descriptions into high-quality visual documentation compatible with GitHub Markdown.
Guidelines
- Selection: Choose the right diagram type based on the content (Flowchart for logic, Sequence for interactions, ERD for data).
- Conciseness: Keep node labels short.
- Organization: Use subgraphs for domain grouping.
- Reference: Follow the syntax-guide.md for correct Mermaid formatting.
Process
- Analyze the input (code or text).
- Generate the Mermaid code block.
- Verify syntax and readability.