Creates or fixes Mermaid diagrams in Markdown for flowcharts, sequence diagrams, ER diagrams, state machines, and system diagrams. Guides diagram type selection and syntax validation.
Ships in ccheney-robust-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn the supplied process, code, schema, or relationships into the requested Mermaid diagram. The user's explicit instructions take precedence over this skill's guidelines, including their choice of output format.
Establish the facts to show and the destination renderer. If the request leaves the format open and a text-based system/process diagram fits, Mermaid is a reasonable choice. Preserve an explicitly requested drawing tool or artifact format.
| Question | Diagram |
|---|---|
| What happens next or which path is taken? | flowchart |
| Who calls whom, in what order? | sequenceDiagram |
| What tables and cardinalities exist? | erDiagram |
| What states and transitions exist? | stateDiagram-v2 |
| How are types or services related? | classDiagram or flowchart with subgraphs |
| What is scheduled or measured? | A matching planning/data type from the references |
Use supplied evidence for nodes, edges, cardinalities, dates, and values. Mark conceptual assumptions; ask for missing facts that determine the diagram rather than inventing a system.
mermaid block, or the requested .mmd/rendered artifact. Use one diagram declaration per block.end IDs and use %% comments on their own lines.Validate nontrivial or repaired syntax with the project's renderer or an available Mermaid CLI. Inspect the rendered result when producing an artifact; if rendering is unavailable, state that limitation. A simple syntax answer does not require installing a new toolchain.
Load the diagram type or rendering topic required.
| Task | Reference |
|---|---|
| Flowcharts, subgraphs, shapes, edges | FLOWCHARTS.md |
| Calls, activation, loops, alternatives | SEQUENCE.md |
| Classes, types, database relationships | CLASS-ER.md |
| State machines and user journeys | STATE-JOURNEY.md |
| Gantt, timeline, pie, XY, sankey, mindmap, gitGraph | DATA-CHARTS.md |
| C4, architecture, block, kanban, packet, requirements | ARCHITECTURE.md |
| Configuration, styling, export, troubleshooting | ADVANCED.md |
| Compact syntax and platform lookup | CHEATSHEET.md |
Check Mermaid documentation and the destination's own support notes when a feature is version-sensitive.
references/ADVANCED.md (opens in a new tab)references/ARCHITECTURE.md (opens in a new tab)references/CHEATSHEET.md (opens in a new tab)references/CLASS-ER.md (opens in a new tab)references/DATA-CHARTS.md (opens in a new tab)references/FLOWCHARTS.md (opens in a new tab)references/SEQUENCE.md (opens in a new tab)references/STATE-JOURNEY.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mermaid, diagrams, markdown, flowchart, sequence-diagram, er-diagram
11 skills in this plugin
/bazelConfigure and troubleshoot Bazel builds. Use when editing BUILD or MODULE.bazel files, writing Starlark, diagnosing target, cache, or CI failures, or adopting or upgrading Bazel./clean-ddd-hexagonalDesign or review backend domain and dependency boundaries using DDD, Clean Architecture, and ports/adapters. Use for aggregate modeling, bounded contexts, use-case isolation, or architecture refactoring; not routine CRUD changes./feature-slicingOrganize frontend code with Feature-Sliced Design (FSD). Use when adopting FSD, placing code in an existing FSD project, or fixing slice imports and public APIs; not for every new component or page./ccheney-robust-skills:mermaid-diagramsfrom ccheney-robust-skills
ccheney-robust-skills@cascade-code-general-misc-1 is listed by joshuarweaver/cascade-code-general-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin ccheney-robust-skillsOther plugins' skills for the same job