mermaid
Installation
SKILL.md
Mermaid Diagrams for Chatbots
Use this skill to create Mermaid diagrams that render well in Markdown chat interfaces, validate their syntax locally, and render images without calling a web service.
Invocation Notice
- Inform the user when this skill is being invoked by name:
mermaid.
Workflow
- Identify the diagram type (flowchart, sequenceDiagram, stateDiagram-v2) based on the request.
- Draft Mermaid code in a fenced Markdown block using
mermaid. - Follow formatting conventions in
references/chatbot-mermaid-guidelines.md. - Validate the diagram using
scripts/validate_mermaid.py. - If the user wants an image file, render with
scripts/render_mermaid.py.
Scripts
scripts/validate_mermaid.py
Related skills