utility-mermaid-diagrams
Teaches PMs to create syntactically valid mermaid diagrams by selecting the right diagram type for their communication need, following syntax validity rules…
Skill by product-on-purpose
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/product-on-purpose-utility-mermaid-diagrams
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/utility-mermaid-diagrams
What's inside
- Skill name
utility-mermaid-diagrams- Description
- Teaches PMs to create syntactically valid mermaid diagrams by selecting the right diagram type for their communication need, following syntax validity rules, and validating before shipping. Covers all 15 mermaid diagram types with PM-relevant examples and a dual-lens navigation system.
- License
- Apache-2.0
- Metadata
- author: product-on-purpose · updated: 2026-07-05 · version: 1.1.0 · category: documentation · classification: utility
- Instructions
- 109 lines in SKILL.md · view on GitHub
Files (8)
- HISTORY.md
- SKILL.md
- trigger-fixtures.json · evals/
- EXAMPLE.md · references/
- TEMPLATE.md · references/
- diagram-catalog.md · references/
- pm-use-cases.md · references/
- syntax-guide.md · references/
SKILL.md (first lines)
<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 --> # Mermaid Diagrams Create effective, syntactically valid mermaid diagrams for product documents. ## When to Use - Creating mermaid diagrams for PRDs, specs, roadmaps, or stakeholder presentations - Choosing which of 15 diagram types fits a specific communication need - Debugging mermaid code that won't render or renders incorrectly - Reviewing diagrams for clarity, accuracy, and accessibility ## When NOT to Use - Exporting diagrams to image files (PNG/SVG) - that's a rendering tool concern - Using non-mermaid diagramming tools (Figma, Lucidchart, draw.io) - Creating purely decorative visuals with no informational purpose - Producing a full customer-journey artifact (stages, touchpoints, emotional curve, pain points) rather than a standalone diagram - use `discover-journey-map`, which composes this skill for its timeline or flowchart section ## The Cardinal Rule > Don't diagram what a list can say. Diagrams earn their place when they reveal **relationships**, **branching**, or **flow** that prose flattens. Before creating any diagram, ask: *Does this show branching, relationships, or flow that a list or table would flatten?* - **Yes** → proceed with a diagram - **No** → use a numbered list, bullet list, or table instead A 5-step linear process is a list. A 5-step process with two decision points and a retry loop is a diagram. ## Diagram Selection Guide | I need to show... | Use | Also consider | |-------------------|-----|---------------| | A decision or approval process | Flowchart | State | | Multi-service or multi-party interactions | Sequence | Flowchart | | Feature lifecycle or status transitions | State | Flowchart | | Work stages or pipeline status | Kanban | State | | Release or sprint timeline with dependencies | Gantt | Timeline | | Version history or chronological milestones | Timeline | Gantt | | 2D prioritization (effort/impact, risk/value) | Quadrant | - | | Allocation breakdown or composition | Pie | Treemap | | Problem decomposition or brainstorming | Mindmap | - | | Domain models or data relationships | ER | Class | | API or object contracts | Class | ER | | System topology or infrastructure | Architecture | Flowchart | | Flow quantities or budget allocation | Sankey | Pie | | Hierarchical proportional data | Treemap | Pie | | Trends or time-series metrics | XY-Chart | - | For worked examples organized by PM task, see `references/pm-use-cases.md`. For full syntax and options per type, see `references/diagram-catalog.md`. ## Syntax Validity Principles Six rules that prevent most rendering failures: 1. **Quote labels** - Any label containing spaces, parentheses, brackets, colons, commas, or reserved words must be quoted with double quotes 2. **Escape special characters** - Characters with mermaid or markdown meaning (`>`, `<`, `-` at line start, `#`) need escaping or quoting 3. **Declare before referencing** - Define a node before using it in an edge; referencing an undeclared node causes silent failures in some types 4. **Respect limits** - Each diagram type has a maximum node/participant count beyond which readability collapses (see `references/diagram-catalog.md` for per-type limits) 5. **Comment your intent** - Use `%%` comments to document non-obvious choices (why this layout direction, why this grouping) 6. **Test before shipping** - Paste into a mermaid renderer (mermaid.live, VS Code preview, or your target environment) and verify it renders correctly For the complete syntax reference, see `references/syntax-guide.md`. ## Instructions 1. **Identify what you're communicating** - What relationship, flow, hierarchy, or proportion needs to be visible? Who is the audience? 2. **Apply the cardinal rule** - Confirm a diagram adds value over a list or table 3. **Select a diagram type** - Use the selection guide above, browse `references/pm-use-cases.md` by task, or browse `references/diagram-catalog.md` by type 4. **Plan the diagram** - Fill out the planning worksheet in `references/TEMPLATE.md`: purpose, audience, node inventory, type rationale 5. **Write the mermaid code** - Follow `references/syntax-guide.md` rules; start with the minimal syntax example from `references/diagram-catalog.md` and expand 6. **Validate** - Run through the quality checklist below 7. **Embed** - Place the validated mermaid code block in your document ## Output Contract - **Planning artifact**: A completed diagram planning worksheet (`references/TEMPLATE.md`) - **Final output**: A syntactically valid mermaid code block embedded in the target document - **Quality gate**: All items in the quality checklist pass ## Quality Checklist - [ ] Diagram renders without error in target environment - [ ] Cardinal rule satisfied - a list or table would not communicate this more clearly - [ ] No linear sequences without branching, relationships, or hierarchy - [ ] All labels with spaces or special characters are properly quoted - [ ] Special characters escaped where needed - [ ] Node/participant count within type-specific limits - [ ] Colors are accessible (WCAG AA 3:1 contrast minimum, black text on light backgrounds) - [ ] Color is never the sole differentiator - shapes and labels also distinguish elements - [ ] Diagram has a descriptive title or surrounding prose context - [ ] `%%` comments document any non-obvious layout or grouping choices ## References | File | Purpose | |------|---------| | `references/TEMPLATE.md` | Diagram planning worksheet - fill out before writing mermaid code | | `references/EXAMPLE.md` | Worked example: PM creating 4 diagrams for a product launch | | `references/diagram-catalog.md` | All 15 diagram types: syntax, PM examples, limits, pitfalls | | `references/pm-use-cases.md` | PM task → diagram type mapping with mini worked examples | | `references/syntax-guide.md` | Complete syntax validity rules, escaping, styling, and validation checklist |
From product-on-purpose/pm-skills, Apache-2.0.
More from product-on-purpose/pm-skills
- 0.766score
utility-update-pm-skills
product-on-purpose
Checks for newer pm-skills releases, compares local vs.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
define-hypothesis
product-on-purpose
Defines a testable hypothesis with clear success metrics and a validation approach.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
define-jtbd-canvas
product-on-purpose
Creates a Jobs to be Done canvas capturing the functional, emotional, and social dimensions of a customer job.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
define-opportunity-tree
product-on-purpose
Creates an opportunity solution tree connecting a desired outcome to customer opportunities and candidate solutions, preventing solution-first jumps in…
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
define-prioritization-framework
product-on-purpose
Run applicable prioritization frameworks (RICE, ICE, MoSCoW, Weighted Scoring, Kano) against a list of features or initiatives.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
define-problem-statement
product-on-purpose
Creates a clear problem framing document with user impact, business context, and success criteria.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
deliver-acceptance-criteria
product-on-purpose
Generates structured Given/When/Then acceptance criteria for a user story or feature slice, covering the happy path, key failure scenarios, and non-functional…
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
deliver-edge-cases
product-on-purpose
Documents edge cases, error states, boundary conditions, race conditions, and recovery paths for a feature - the systematic catalog of what can go wrong and…
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
deliver-launch-checklist
product-on-purpose
Creates a cross-functional pre-launch checklist covering engineering, design, marketing, support, legal, and operations readiness, with owners, dates, and…
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
deliver-prd
product-on-purpose
Creates a comprehensive Product Requirements Document that aligns stakeholders on what to build, why, and how success will be measured.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
deliver-release-notes
product-on-purpose
Creates user-facing release notes that communicate new features, improvements, and fixes in clear, benefit-focused language.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
utility-update-pm-skills
product-on-purpose
Validates internet access, compares the locally installed pm-skills version against the latest public release, and updates local files with conflict-aware…
SkillAFreshness: A★ 758Claude Code +9
Signals
- Stars
- 758
- Forks
- 96
- Open issues
- 6
- Last commit (this folder)
- Oct 16, 2026 (12 days ago)
- Last release
- Oct 17, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.1.0
- License
- Apache-2.0
- Repository
- github.com/product-on-purpose/pm-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from product-on-purpose
- 0.766score
utility-update-pm-skills
product-on-purpose
Checks for newer pm-skills releases, compares local vs.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
define-hypothesis
product-on-purpose
Defines a testable hypothesis with clear success metrics and a validation approach.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
define-jtbd-canvas
product-on-purpose
Creates a Jobs to be Done canvas capturing the functional, emotional, and social dimensions of a customer job.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
define-opportunity-tree
product-on-purpose
Creates an opportunity solution tree connecting a desired outcome to customer opportunities and candidate solutions, preventing solution-first jumps in…
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
define-prioritization-framework
product-on-purpose
Run applicable prioritization frameworks (RICE, ICE, MoSCoW, Weighted Scoring, Kano) against a list of features or initiatives.
SkillAFreshness: A★ 758Claude Code +9 - 0.766score
utility-update-pm-skills
product-on-purpose
Validates internet access, compares the locally installed pm-skills version against the latest public release, and updates local files with conflict-aware…
SkillAFreshness: A★ 758Claude Code +9
Cite this page
utility-mermaid-diagrams skill. Agent Mart. https://agentmart.dev/skills/product-on-purpose-utility-mermaid-diagrams (last updated 2026-10-24)