Skip to content
Back to search

mermaid-skill

A Claude Code skill for generating Mermaid diagrams with all diagram types supported.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/wh-2099--mermaid-skill/badge.svg)](/listings/wh-2099--mermaid-skill)

HTML

<a href="/listings/wh-2099--mermaid-skill"><img src="/api/listings/wh-2099--mermaid-skill/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Copy the skill folder to your project:

git clone https://github.com/WH-2099/mermaid-skill.git
cp -r mermaid-skill/.claude/skills/mermaid /path/to/your/project/.claude/skills/

Or add as a git submodule:

git submodule add https://github.com/WH-2099/mermaid-skill.git .claude/skills/mermaid-skill
ln -s mermaid-skill/.claude/skills/mermaid .claude/skills/mermaid

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 60 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Mermaid Skill for Claude Code
  2. A Claude Code skill for generating [Mermaid](https://mermaid.js.org/) diagrams. Supports 23 diagram types including flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, and more.
  3. ## Installation
  4. Copy the skill folder to your project:
  5. ```bash
  6. git clone https://github.com/WH-2099/mermaid-skill.git
  7. cp -r mermaid-skill/.claude/skills/mermaid /path/to/your/project/.claude/skills/
  8. ```
  9. Or add as a git submodule:
  10. ```bash
  11. git submodule add https://github.com/WH-2099/mermaid-skill.git .claude/skills/mermaid-skill
  12. ln -s mermaid-skill/.claude/skills/mermaid .claude/skills/mermaid
  13. ```
  14. ## Usage
  15. In Claude Code, use the `/mermaid` command:
  16. ```
  17. /mermaid create a flowchart for user login process
  18. /mermaid draw a sequence diagram for API authentication
  19. /mermaid ER diagram for an e-commerce database
  20. ```
  21. ## Supported Diagrams
  22. | Category | Diagram Types |
  23. |----------|---------------|
  24. | Flow & Process | Flowchart, State Diagram, User Journey |
  25. | Structural | Class Diagram, ER Diagram, C4 Diagram, Architecture Diagram |
  26. | Temporal | Sequence Diagram, Gantt Chart, Timeline, Git Graph |
  27. | Data Visualization | Pie Chart, XY Chart, Sankey Diagram, Quadrant Chart, Radar Chart, Treemap |
  28. | Organization | Mindmap, Kanban, Block Diagram, Requirement Diagram |
  29. | Technical | Packet Diagram, ZenUML |
  30. ## Project Structure
  31. ```
  32. .claude/skills/mermaid/
  33. ├── SKILL.md # Skill definition and instructions
  34. └── references/ # Mermaid syntax documentation
  35. ├── flowchart.md
  36. ├── sequenceDiagram.md
  37. ├── classDiagram.md
  38. └── ...
  39. ```
  40. ## Documentation Sync
  41. This skill includes a GitHub Action that automatically syncs documentation from the official [mermaid-js/mermaid](https://github.com/mermaid-js/mermaid) repository weekly.
  42. ## License
  43. [MIT](LICENSE)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.