What problem does it solve?
Reading a dense implementation plan as plain text makes it hard to grasp the data model, architecture, and key flows at a glance. This Skill produces a mermaid-only visual supplement so a human can absorb a plan's structure quickly.
Core Features & Use Cases
- Mermaid Diagram Generation: Creates erDiagram, classDiagram, flowchart, sequenceDiagram, and stateDiagram-v2 visuals based strictly on what the plan actually describes.
- Automatic Output Placement: Writes a
<plan-basename>.diagrams.md file next to the plan (or into the PRP store's plans directory), overwriting on re-run since the plan is the source of truth.
- Optional HTML Output: When explicitly requested, produces a self-contained
.diagrams.html file with <pre class="mermaid"> blocks and no embedded scripts.
- Use Case: After generating an implementation plan for a new feature, run this Skill to produce ER diagrams of the schema changes and a sequence diagram of the request flow for reviewers.
Quick Start
Ask the AI to diagram the most recent plan, or pass a path such as "diagram this plan at plans/feature-auth.md" to generate its mermaid visual supplement.