apex-mermaid
Skill216 starsChanged 2 months agoMITView on GitHub
**UTILITY SKILL** — Mermaid diagrams for inline markdown: flowcharts, sequence, Gantt, class, state, ER. WHEN: "mermaid flowchart", "sequence diagram", "Gantt chart", "state diagram", "ER diagram", "inline markdown diagram". DO NOT USE FOR: rendered architecture diagrams or WAF/cost charts (apex-python-diagrams).
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- apex-agent-authoringSkill
- apex-azure-adrSkill
- apex-azure-artifactsSkill
- apex-azure-bicep-patternsSkill
- apex-azure-cloud-migrateSkill
- apex-azure-complianceSkill
- apex-azure-computeSkill
- apex-azure-cost-optimizationSkill
- apex-azure-defaultsSkill
- apex-azure-deploySkill
- apex-azure-diagnosticsSkill
- apex-azure-governance-discoverySkill
- apex-azure-kubernetesSkill
- apex-azure-kustoSkill
- apex-azure-prepareSkill
- apex-azure-quotasSkill
- apex-azure-rbacSkill
- apex-azure-reliabilitySkill
- apex-azure-resourcesSkill
- apex-azure-storageSkill
- apex-azure-upgradeSkill
- apex-azure-validateSkill
- apex-context-managementSkill
- apex-entra-app-registrationSkill
- apex-github-operationsSkill
- apex-golden-principlesSkill
- apex-host-debug-log-exportSkill
- apex-host-git-commitSkill
- apex-host-workflow-startSkill
- apex-iac-commonSkill
- apex-microsoft-docsSkill
- apex-python-diagramsSkill
- apex-terraform-patternsSkill
- apex-terraform-search-importSkill
- apex-terraform-testSkill
- apex-unslopSkill
- apex-vendor-promptingSkill
- apex-workflow-engineSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
DON'T: use Mermaid for WAF/cost charts (use apex-python-diagrams) · use Mermaid for rendered architecture diagrams (use …
- Very specific: line 46
Add theming and node styles — see references/styling.md
- Distinctive: line 48
Commit — the rendered Mermaid stays inline.
- Very specific: line 59
Does NOT: generate rendered architecture diagrams · produce Python charts · generate Bicep/Terraform · create ADRs · deploy resources · …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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 — flowcharts, sequences, state machines, ER
diagrams, Gantt charts. For architecture diagrams with Azure service icons,
use the apex-python-diagrams skill instead.
When to Use Mermaid
- Inline diagrams inside markdown (
.md,.mdx) - 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 (via
apex-azure-resourcesMode B)
Rules
DO: fenced code blocks with mermaid language tag · include theme
directives for dark mode · graph TB (vertical) or graph LR (horizontal) ·
subgraphs for grouping · descriptive connection labels · validate syntax
before committing.
DON'T: use Mermaid for WAF/cost charts (use apex-python-diagrams) · use
Mermaid for rendered architecture diagrams (use apex-python-diagrams) ·
omit theme directives · embed Azure service icons.
Steps
- Pick the diagram type — see
references/syntax-cheatsheet.md - Author inside a triple-backtick
mermaidfence in your markdown - Add theming and node styles — see
references/styling.md - Validate — render in VS Code preview or Starlight build
- Commit — the rendered Mermaid stays inline; no separate artifact
Reference Index
| File | When to Load |
references/syntax-cheatsheet.md | Authoring any diagram type (flowchart, sequence, Gantt, ER, state) |
references/styling.md | Adding theming and node classDef styling |
Scope Exclusions
Does NOT: generate rendered architecture diagrams · produce Python charts ·
generate Bicep/Terraform · create ADRs · deploy resources · embed Azure
service icons (use apex-python-diagrams).
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.

