skills/smithery.ai/draw-diagrams-with-mermaid

draw-diagrams-with-mermaid

Installation
SKILL.md

Draw Diagrams with Mermaid

Purpose

This skill allows the agent to generate diagrams (PNG, SVG, PDF) from Mermaid text syntax. It follows a robust workflow involving markdown files and verification.

1. Safety & Verification

Before executing any commands, the agent must:

  1. Check Tool: Verify mmdc is installed by running mmdc --version.
  2. Verify Syntax: All node labels MUST be double-quoted (e.g., A["Start"]).
  3. Reference Examples: Consult .cursor/skills/draw-diagrams-with-mermaid/references/mermaid-syntax.md for compliant examples.

2. Common Workflows

Workflow: Generate Diagram from Markdown (Primary)

The standard way to generate a diagram is to first create a markdown file containing the Mermaid block and then render it.

Installs
1
First Seen
Apr 10, 2026
draw-diagrams-with-mermaid from smithery.ai