Generate Mermaid workflow diagrams (.mmd) and render to PNG from a given context — markdown docs, code, or conversation
Ships in quality-tooling. 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.
None: SKILL.md is the whole skill.
Generate Mermaid diagrams from a given context and render them as high-resolution PNGs.
/workflow-diagram-generator <source>
Source can be:
If no source is provided, ask the user what they want to diagram.
Determine which diagram types fit the content:
| Content Pattern | Diagram Type | Mermaid Syntax |
|---|---|---|
| Sequential pipeline steps | flowchart LR | Left-to-right flow |
| Decision trees, failure modes | flowchart TD | Top-down with branches |
| Time-ordered interactions | sequenceDiagram | Actor lifelines |
| State transitions | stateDiagram-v2 | States and transitions |
| Parallel activities | flowchart TD with subgraphs | Grouped parallel paths |
Use subgraphs to group related components (e.g., separate repos, teams, environments).
.mmd Filesdocs/diagrams/ as the default..mmd file per diagram. Name files descriptively with zero-padded numbering:
01-pipeline-happy-path.mmd02-failure-mode-session-break.mmd["quotes"] if it contains special characters{{"double braces"}} for hexagon/decision nodes["text (detail)"] not (text (detail))Use color-coded style directives to convey meaning:
style nodeId fill:#2d5a2d,stroke:#4a4a4a,color:#fff %% green = success/healthy
style nodeId fill:#5a5a2d,stroke:#4a4a4a,color:#fff %% yellow = warning/partial
style nodeId fill:#6e2d2d,stroke:#4a4a4a,color:#fff %% red = failure/error
style nodeId fill:#2d4a6e,stroke:#4a4a4a,color:#fff %% blue = info/separate system
style nodeId fill:#3a3a5a,stroke:#4a4a4a,color:#fff %% purple = context/container
style nodeId fill:#1a1a2e,stroke:#4a4a4a,color:#fff %% dark = background group
Apply styles to subgraphs for grouping by team, repo, or environment.
Run mmdc for each .mmd file:
mmdc -i <file>.mmd -o <file>.png -t dark -b transparent -w 2400 -H 1800 -s 3
Defaults: dark theme, transparent background, 2400px wide, 1800px tall, 3x scale.
If mmdc is not installed, install it:
npm install -g @mermaid-js/mermaid-cli
If a render fails, read the error, fix the .mmd syntax, and retry.
List the generated files with a brief description of each diagram:
| File | Description |
|------|-------------|
| 01-happy-path.png | Reference pipeline flow |
| 02-failure-xyz.png | Failure when X happens |
mmdc may fail silently on syntax errors — always check that the .png file was actually created and has non-zero size.TD (top-down) than LR (left-right).subgraph sg1["My Group (v2)"].LR diagrams may render with small text — increase -w or switch to TD.What SKILL.md sets; muted values are Claude Code's defaults
/quality-tooling:workflow-diagram-generatorfrom quality-tooling
quality-tooling@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin quality-toolingOther plugins' skills for the same job
7 skills in this plugin
/historical-bug-coverageAnalyzes historical blocking and critical bugs from Jira, determines what test coverage exists today with deep test inspection and confidence scoring, and generates standalone HTML reports. Use when assessing test gaps for a repository, analyzing bug coverage quality, or generating coverage reports from Jira data./konflux-build-simulatorSimulates the Konflux build environment on a PR, then proves the generated checks against the component's real Jira failure history. Catches build, hermetic, packaging and operator/DSC regressions before merge instead of producing generic green checks./pytorch-quality-analysis