What problem does it solve?
Writing Mermaid diagrams by hand often leads to syntax errors, wrong arrow directions, and unverified output that breaks when rendered. This Skill generates Mermaid code from natural-language requirements, saves it to files, verifies it with the Mermaid CLI, and iterates until the rendered diagram passes a strict visual review.
Core Features & Use Cases
- 23 Diagram Types: Supports flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, C4 architecture, Sankey, mindmaps, and more.
- Verified Output: Saves both
.mmd source and .md preview files to a figures/ directory, then renders a PNG via mmdc to confirm the syntax is valid.
- Academic & Math Support: Includes CVPR/ICLR/NeurIPS styling guidelines and KaTeX math notation for publication-quality diagrams.
- Use Case: Ask for a system architecture diagram for a paper, and receive a rendered, reviewed PNG plus reusable source files with correct arrows and professional styling.
Quick Start
Generate a Mermaid flowchart of the user login process and save the verified files to the figures directory.