utility-mermaid-diagrams
Skill by product-on-purpose
Teaches product managers to create syntactically valid mermaid diagrams for PRDs, specs, roadmaps and stakeholder presentations. It covers choosing one of 15 diagram types and validating the code before shipping.
Install utility-mermaid-diagrams
Built from the published package, never by AI.
git clone --depth 1 https://github.com/product-on-purpose/pm-skills /tmp/pm-skills && mkdir -p ~/.claude/skills && cp -r /tmp/pm-skills/skills/utility-mermaid-diagrams ~/.claude/skills/utility-mermaid-diagramsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install utility-mermaid-diagrams in Claude Code
git clone --depth 1 https://github.com/product-on-purpose/pm-skills /tmp/pm-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pm-skills/skills/utility-mermaid-diagrams ~/.gemini/antigravity-cli/skills/utility-mermaid-diagramsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install utility-mermaid-diagrams in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Teaches product managers to create syntactically valid mermaid diagrams for PRDs, specs, roadmaps and stakeholder presentations. It first checks whether a diagram adds value over a list or table, then helps the user pick one of 15 diagram types from a selection guide. The skill covers all 15 types with PM-relevant examples and sets out six syntax validity rules, such as quoting labels and declaring nodes before referencing them.
The workflow runs from identifying the audience and message to planning, writing, validating and embedding the code block. A quality checklist covers rendering, label quoting, node limits, color contrast and titles. Reference files hold a planning worksheet, a per-type syntax catalog, PM use cases and a syntax guide. It is aimed at product managers who need diagrams in product documents.
Written from the project's SKILL.md and checked against it.
What it can do
- Diagram type selectionChooses one of 15 mermaid diagram types using a selection guide based on the communication need.
- Cardinal rule checkConfirms a diagram reveals branching, relationships or flow that a list or table would flatten.
- Syntax validity rulesApplies six rules on quoting, escaping, declaration order, limits, comments and testing.
- Validation checklistRuns a quality gate covering rendering, label quoting, node limits, contrast and titles.
- PM use case mappingMaps PM tasks to suitable diagram types with mini worked examples.
- Diagram planning worksheetProvides a template for purpose, audience, node inventory and type rationale before writing code.
What you need
- A mermaid renderer such as mermaid.live or VS Code preview, for testing diagrams
Try asking
- Which mermaid diagram type fits showing a release timeline with dependencies?
- Check this mermaid flowchart for syntax errors and missing label quotes.
- Create a mermaid sequence diagram for checkout across three services.
Good to know
- Does not export diagrams to PNG or SVG files.
- Not for non-mermaid tools such as Figma, Lucidchart or draw.io.
- Full customer journey maps are handled by the separate discover-journey-map skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/utility-mermaid-diagrams/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
HISTORY.md2 KB -
SKILL.md6 KB -
evals/trigger-fixtures.json4 KB -
references/EXAMPLE.md12 KB -
references/TEMPLATE.md2 KB
Show all 8 files
-
references/diagram-catalog.md41 KB -
references/pm-use-cases.md20 KB -
references/syntax-guide.md13 KB
Alternatives to utility-mermaid-diagrams
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
utility-mermaid-diagrams: common questions
Does it cover all mermaid diagram types?
The source says it covers all 15 mermaid diagram types, each with PM-relevant examples, syntax and per-type node limits.
Can it export diagrams to image files?
No. The source says exporting to PNG or SVG is a rendering tool concern and is outside this skill.
How do I check that a diagram works?
The skill says to paste the code into a mermaid renderer such as mermaid.live or a VS Code preview and confirm it renders correctly.
How do I install utility-mermaid-diagrams?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is utility-mermaid-diagrams free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is utility-mermaid-diagrams safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to utility-mermaid-diagrams?
Similar skills: ask-user-question, beads, google_tasks, recall.
