mermaid
Skill3 starsChanged 8 months agoMITArchived repositoryView on GitHub
Mermaid diagram generation for inline markdown documentation: flowcharts, sequence diagrams, Gantt charts, class diagrams, state diagrams, ER diagrams, and architecture visualizations. USE FOR: inline markdown diagrams, flowcharts, sequence diagrams, Gantt charts, state diagrams, ER diagrams, Azure resource visualization. DO NOT USE FOR: architecture diagrams with Azure icons (use drawio), WAF/cost charts (use python-diagrams), Draw.io diagrams (use drawio).
31 other projects use a version of this.
Adopted by
Most recently taken up by
- blas1n/claude-skillstheir own version, first seen Oct 4, 2026
- bex-co/bextheir own version, first seen Sep 29, 2026
- wyattjoh/skillstheir own version, first seen Sep 27, 2026
- chujianyun/skillstheir own version, first seen Sep 25, 2026
- flowing-abyss/obsidian-vault-skillstheir own version, first seen Sep 19, 2026
- chrislacey89/skillstheir own version, first seen Sep 18, 2026
Used with
Projects with it also use ansible, plantuml and 1 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.
KubementatSkillansible
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
luischanciSkillproofread
Run the proofreading protocol on manuscript files. Checks grammar, typos, overflow, consistency, and academic writing quality. Produces a report without editing files.
Also in 3 projects that use this
Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- chujianyun/skills★ 740same name
- bex-co/bex★ 569same name
- WH-2099/mermaid-skill★ 288same name
- xenodium/emacs-skills★ 142same name
- mgifford/accessibility-skills★ 50same name
- nilecui/SkillsBase★ 27same name
- greedychipmunk/agent-skills★ 19same name
- ulises-jeremias/agent-toolkit★ 18same name
- eugeniosegala/claude-connoisseur★ 9same name
- flowing-abyss/obsidian-vault-skills★ 9same name
21 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 repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- appinsights-instrumentationSkill
- azure-adrSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-artifactsSkill
- azure-bicep-patternsSkill
- azure-cloud-migrateSkill
- azure-complianceSkill
- azure-computeSkill
- azure-cost-optimizationSkill
- azure-defaultsSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-diagramsSkill
- azure-hosted-copilot-sdkSkill
- azure-kustoSkill
- azure-messagingSkill
- azure-prepareSkill
- azure-quotasSkill
- azure-rbacSkill
- azure-resource-lookupSkill
- azure-resource-visualizerSkill
- azure-storageSkill
- azure-validateSkill
- context-optimizerSkill
- context-shreddingSkill
- copilot-customizationSkill
- count-registrySkill
- docs-writerSkill
- drawioSkill
- entra-app-registrationSkill
- excalidrawSkill
- github-operationsSkill
- golden-principlesSkill
- iac-commonSkill
- make-skill-templateSkill
- microsoft-code-referenceSkill
- microsoft-docsSkill
- microsoft-foundrySkill
- microsoft-skill-creatorSkill
- python-diagramsSkill
- session-resumeSkill
- terraform-patternsSkill
- terraform-search-importSkill
- terraform-testSkill
- workflow-engineSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 2 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 28 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Use graph TB (top-to-bottom) for vertical layouts.
- Very specific: line 40
Use graph LR (left-to-right) for horizontal layouts.
- Distinctive: line 41
Use subgraphs for logical grouping:
- Very specific: line 119
Use classDef for consistent node styling:
- Very specific: line 151
Use fenced code blocks with mermaid language:
- Very specific: line 162
DO:: Use fenced code blocks with mermaid language tag · Include theme directives for dark mode · Use graph TB for vertical layouts · Use …
- Very specific: line 167
DON'T: Use Mermaid for WAF/cost charts (use python-diagrams) · Use Mermaid for primary architecture diagrams with Azure icons (use drawio) …
- Distinctive: line 170
Use inline Mermaid for diagrams that need icon embedding.
- Very specific: line 174
Does NOT: generate Draw.io architecture diagrams · produce Python charts · generate Bicep/Terraform · create ADRs · deploy resources · …
“Common” is measured: kept by at least 6 in 10 of the 28 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 Diagrams
Skill for generating Mermaid diagrams embedded in markdown fences. Mermaid is used
for inline documentation diagrams — flowcharts, sequences, state machines, ER
diagrams, and Gantt charts. For architecture diagrams with Azure service icons,
use the drawio skill instead.
When to Use Mermaid
- Inline diagrams inside markdown documents (
.md,.mdx) - Quick flowcharts for operational runbooks and process docs
- Sequence diagrams for auth flows and API interactions
- Gantt charts for project plans and maintenance schedules
- State diagrams for lifecycle documentation
- ER diagrams for data model overviews
- Azure resource relationship diagrams from live queries
Syntax Reference
Flowcharts
graph TB
A["Step 1"] --> B{"Decision"}
B -->|"Yes"| C["Action"]
B -->|"No"| D["Skip"]Use graph TB (top-to-bottom) for vertical layouts.
Use graph LR (left-to-right) for horizontal layouts.
Use subgraphs for logical grouping:
graph TB
subgraph "Resource Group"
APP["App Service"]
SQL["SQL Database"]
end
APP --> SQLSequence Diagrams
sequenceDiagram
participant Client
participant API
participant DB
Client->>API: Request
API->>DB: Query
DB-->>API: Result
API-->>Client: ResponseGantt Charts
gantt
title Deployment Schedule
dateFormat YYYY-MM-DD
section Phase 1
Task A :a1, 2026-01-01, 7d
Task B :a2, after a1, 5dState Diagrams
stateDiagram-v2
[*] --> Pending
Pending --> Active: Approve
Active --> Suspended: Suspend
Suspended --> Active: Resume
Active --> [*]: CompleteER Diagrams
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE_ITEM : contains
PRODUCT ||--o{ LINE_ITEM : "ordered in"Theming (Dark Mode Compatible)
Include a neutral theme directive for dark mode compatibility:
%%{
init: {
'theme': 'base',
'themeVariables': {
'primaryColor': '#ffffff',
'primaryTextColor': '#333333',
'primaryBorderColor': '#e91e63',
'lineColor': '#475569',
'fontFamily': 'ui-sans-serif, system-ui, -apple-system, sans-serif'
}
}
}%%
graph LR
A --> BNode Styling
Use classDef for consistent node styling:
graph TB
classDef default fill:#ffffff,stroke:#e91e63,stroke-width:2px,color:#1f2937,rx:8px,ry:8px;
classDef gate fill:#ffffff,stroke:#3b82f6,stroke-width:2px,color:#1f2937,rx:8px,ry:8px;
S1["Step 1"]
G1{{"Gate"}}:::gateAzure Resource Visualization
For visualizing live Azure resource groups as Mermaid diagrams, use the
azure-resource-visualizer skill which outputs resource relationship diagrams
in Mermaid format. That skill handles Azure Resource Graph queries, resource
discovery, and relationship mapping.
Resource Diagram Conventions
- Group by layer: Network, Compute, Data, Security, Monitoring
- Include resource details in node labels (use
<br/>for line breaks) - Label all connections descriptively
- Use subgraphs for logical grouping
- Connection types:
-->for data flow or dependencies-.->for optional/conditional connections==>for critical/primary paths
Astro / Starlight Integration
In this project, Mermaid is rendered client-side by rehype-mermaid-lite.
Use fenced code blocks with mermaid language:
```mermaid
graph LR
A --> B
```Guardrails
DO: Use fenced code blocks with mermaid language tag · Include theme
directives for dark mode · Use graph TB for vertical layouts · Use subgraphs
for grouping · Use descriptive connection labels · Validate syntax before
committing.
DON'T: Use Mermaid for WAF/cost charts (use python-diagrams) · Use Mermaid
for primary architecture diagrams with Azure icons (use drawio) · Omit
theme directives · Create overly complex diagrams that don't render well ·
Use inline Mermaid for diagrams that need icon embedding.
Scope Exclusions
Does NOT: generate Draw.io architecture diagrams · produce Python charts ·
generate Bicep/Terraform · create ADRs · deploy resources · embed Azure service
icons (use drawio skill).
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.

