Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 80
  • 851 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-diagrams

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install utility-mermaid-diagrams in Claude Code

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

A

No 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 →

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.

utility-mermaid-diagrams Install

Add to stack

Loading.