Back to search
mermaid-skill
SkillGitHub
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
Markdown
[](/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)
- # Mermaid Skill for Claude Code
- 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.
- ## Installation
- Copy the skill folder to your project:
- ```bash
- 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:
- ```bash
- 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
- ```
- ## Usage
- In Claude Code, use the `/mermaid` command:
- ```
- /mermaid create a flowchart for user login process
- /mermaid draw a sequence diagram for API authentication
- /mermaid ER diagram for an e-commerce database
- ```
- ## Supported Diagrams
- | Category | Diagram Types |
- |----------|---------------|
- | Flow & Process | Flowchart, State Diagram, User Journey |
- | Structural | Class Diagram, ER Diagram, C4 Diagram, Architecture Diagram |
- | Temporal | Sequence Diagram, Gantt Chart, Timeline, Git Graph |
- | Data Visualization | Pie Chart, XY Chart, Sankey Diagram, Quadrant Chart, Radar Chart, Treemap |
- | Organization | Mindmap, Kanban, Block Diagram, Requirement Diagram |
- | Technical | Packet Diagram, ZenUML |
- ## Project Structure
- ```
- .claude/skills/mermaid/
- ├── SKILL.md # Skill definition and instructions
- └── references/ # Mermaid syntax documentation
- ├── flowchart.md
- ├── sequenceDiagram.md
- ├── classDiagram.md
- └── ...
- ```
- ## Documentation Sync
- This skill includes a GitHub Action that automatically syncs documentation from the official [mermaid-js/mermaid](https://github.com/mermaid-js/mermaid) repository weekly.
- ## License
- [MIT](LICENSE)
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.