Skip to content
Back to skills

Mermaid Patterns

ASecurity

Mermaid patterns for flowchart, sequence, state, class, ER, and chart syntax, config, themes, multi-chart files. Load before any edit to a .mmd file or a mermaid fence, however small, or for Mermaid.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsnodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill mermaid-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mermaid Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mermaid Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-mermaid-patterns/badge)](https://www.skillsdirectory.com/skills/ku5ic-mermaid-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mermaid-patterns
description: Mermaid patterns for flowchart, sequence, state, class, ER, and chart syntax, config, themes, multi-chart files. Load before any edit to a .mmd file or a mermaid fence, however small, or for Mermaid.
---

# Mermaid patterns

Default assumption: Mermaid 12.4 and mermaid-cli 12.2, per the Mermaid changelog and the mermaid-cli releases.

A row applies when the Mermaid that renders the diagram, in the viewer or under `mmdc`, is at least its version. `mmdc --version` prints the CLI's version, not Mermaid's; read Mermaid's from the `version` in its `node_modules/mermaid/package.json`.

## Reference files

Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.

| Before                                                                                                  | Read                                                     |
| ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Writing a diagram, or upgrading Mermaid or mermaid-cli                                                  | [reference/upgrades.md](reference/upgrades.md)           |
| Writing, changing, or reviewing a Mermaid diagram                                                       | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Setting config, a theme, or an accessible title, quoting a label, or rendering diagrams through the API | [reference/practices.md](reference/practices.md)         |
| Checking that a diagram renders, or running `mmdc`                                                      | [reference/tooling.md](reference/tooling.md)             |

Files in this skill

  • SKILL.md1.8 KB
  • reference/anti-patterns.md6.1 KB
  • reference/practices.md1.2 KB
  • reference/tooling.md1.3 KB
  • reference/upgrades.md8.7 KB
  • sources.md7.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.