define-hypothesis
Defines a testable hypothesis with clear success metrics and a validation approach. Use when…
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
$ npx -y skills add product-on-purpose/pm-skills --skill utility-mermaid-diagrams --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/utility-mermaid-diagramsContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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:
classification: utility
version: "1.1.0"
updated: 2026-07-05
category: documentation
frameworks:
- mermaid
author: product-on-purpose<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->
Create effective, syntactically valid mermaid diagrams for product documents.
> 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?*
A 5-step linear process is a list. A 5-step process with two decision points and a retry loop is a diagram.
| 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`.
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`.
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
| File | Purpose | |------|-------
68 plug-and-play, best-practice product management skills for AI agents: 30 Triple Diamond phase + 11 foundation + 12 utility + 15 tool (Foundation Sprint + Design Sprint). Plus 6 sub-agents, workflows, 200+ output samples, guides, and CI-enforced contracts. Apache 2.0.
Repo: product-on-purpose/pm-skills
Defines a testable hypothesis with clear success metrics and a validation approach. Use when…
Creates a Jobs to be Done canvas capturing the functional, emotional, and social dimensions…
Creates an opportunity solution tree connecting a desired outcome to customer opportunities…
Run applicable prioritization frameworks (RICE, ICE, MoSCoW, Weighted Scoring, Kano) against…
Creates a clear problem framing document with user impact, business context, and success…
Generates structured Given/When/Then acceptance criteria for a user story or feature slice,…