mermaid
Skill1 starsChanged 9 months agoMITView on GitHub
Create, edit, validate, and render Mermaid diagrams (.mmd or Mermaid blocks in Markdown/HTML). Use when asked to convert visuals or specs into Mermaid, fix Mermaid syntax errors, add labels/line breaks, or render SVG/PNG via mmdc or a Mermaid CDN.
44 other projects use a version of this.
Adopted by
Most recently taken up by
- lulufoo/lulu-boardtheir own version, first seen Nov 8, 2026
- chrislacey89/skillstheir own version, first seen Nov 4, 2026
- puncsky/system-design-and-architecturetheir own version, first seen Nov 2, 2026
- lulufoo/lulu-drawertheir own version, first seen Nov 1, 2026
- Voronenko/ai-filestheir own version, first seen Nov 1, 2026
- bex-co/bextheir own version, first seen Oct 28, 2026
Used with
Projects with it also use ansible, plantuml and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
julweberSkillansible
Ansible automation reference for playbooks, roles, inventory, variables, and modules. Includes Proxmox VE and Docker integration via community.general and community.docker collections. Use when writing playbooks, troubleshooting Ansible runs, or designing automation workflows. Triggers: ansible, playbook, inventory, role, task, handler, vars, jinja2, galaxy, proxmox_kvm, proxmox_lxc, docker_container, docker_compose.
Also in 3 projects that use this
xenodiumSkillplantuml
This skill should be used when the user invokes "/plantuml" to create a diagram from the current context using PlantUML and output the resulting image path.
Also in 3 projects that use this
ihiteshguptaSkillterraform
Expert in Infrastructure as Code with Terraform. Use for creating, managing, and versioning infrastructure across cloud providers.
Also in 3 projects that use this
PostHogSkillkarpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria. Based on https://github.com/multica-ai/andrej-karpathy-skills.
Also in 3 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 4 projects that use this
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 4 projects that use this
Other versions44 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 44
- puncsky/system-design-and-architecture★ 3.6ksame name
- alibaba/loongcollector★ 2.2ksame name
- chujianyun/skills★ 751same name
- bex-co/bex★ 576same name
- WH-2099/mermaid-skill★ 268same name
- xenodium/emacs-skills★ 142same name
- mgifford/accessibility-skills★ 48same name
- nilecui/SkillsBase★ 27same name
- greedychipmunk/agent-skills★ 24same name
- ulises-jeremias/agent-toolkit★ 19same name
34 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- axum-single-page-uiSkill
- feishuSkill
- frontend-designSkill
- git-opsSkill
- gui-automationSkill
- macos-gui-automationSkill
- npmSkill
- playrightSkill
- playwright-cliSkill
- pythonSkill
- python-uvSkill
- rust-coding-styleSkill
- youtrackSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 41 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Use clear node IDs and keep labels faithful to the source, including exact casing and separators.
- Very specific: line 23
Use HTML line breaks in labels: <br/>.
- Distinctive: line 25
If a labeled reverse arrow causes parse issues, flip the edge direction and keep the label on a forward arrow.
- Very specific: line 26
Add layout hints only when needed (e.g., subgraphs, direction, or invisible edges), but never at the expense of label fidelity.
- Distinctive: line 30
If mmdc needs a Chrome path, create a Puppeteer config like:
- Distinctive: line 40
Only create HTML + CDN when explicitly requested or when mmdc is unavailable.
“Common” is measured: kept by at least 6 in 10 of the 41 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mermaid
Overview
Convert specs or images into accurate Mermaid diagrams, preserving as many details as possible (labels, casing, punctuation, and annotations), validate syntax, and render SVG/PNG with mmdc (preferred) or CDN-backed HTML when requested.
Workflow
1) Capture the source of truth
- Extract every node, edge, label, and annotation from the input (image, notes, or code); preserve as many details as possible, including exact casing, punctuation, and any callout notes.
- Preserve naming, casing, and arrow direction; note any ambiguous text for follow-up.
2) Draft Mermaid accurately
- Pick the diagram type explicitly (e.g.,
flowchart LR,sequenceDiagram). - Use clear node IDs and keep labels faithful to the source, including exact casing and separators.
- Use HTML line breaks in labels:
<br/>. - Escape literal pipes in labels as
|. - If a labeled reverse arrow causes parse issues, flip the edge direction and keep the label on a forward arrow.
- Add layout hints only when needed (e.g., subgraphs,
direction, or invisible edges), but never at the expense of label fidelity.
3) Validate and render with mmdc (preferred)
- If mmdc needs a Chrome path, create a Puppeteer config like:
{"executablePath": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"}
- Render and validate in one step:
mmdc -p /tmp/puppeteer-config.json -i <input.mmd> -o <output.svg>
- Fix any syntax errors reported by mmdc before delivering output.
4) Deliver outputs
- Provide the final
.mmdand rendered.svg(or.png) in the requested directory. - Open the rendered asset in Chrome when asked.
- Only create HTML + CDN when explicitly requested or when mmdc is unavailable.
Common Fixes
|inside labels: replace with|.- Multi-line labels: use
<br/>(not\n). - Edge labels:
A -->|label| B. - Node labels containing brackets or punctuation: wrap in
"..."if parsing is unstable.
Resources
references/
references/mermaid-notes.md: quick syntax/escaping tips and rendering notes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

