/builder-os:prd-journeysfrom builder-os
Generates complete user journey documentation from a PRD, including Mermaid flow diagrams, traceability table, and screen inventory. Interviews user to fill gaps in personas, auth, failures, and empty states.
Ships in builder-os. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn a PRD into a complete user journey/flow doc: real end-to-end journeys (not per-story fragments), every edge case placed where its consumer will find it, and a screen inventory the downstream steps pick up.
Where this sits in the flow: it's the step after the PRD and before the design step — prd/prd.md → journeys.md → design → brand → prototype → Blueprint. The screen inventory it produces is load-bearing downstream: the stitch-prompt step designs those screens, the claude.ai JSX prototype builds them, and the Blueprint's frontend change-list + chunk map (§7/§8) trace back to them. A missing or vague screen here surfaces as a hole three steps later.
Interview-first: PRDs always have holes. A wrong guess about who the user is or what happens on failure poisons every downstream artifact, so resolve gaps with the user before drafting — never draft on silent assumptions.
prd/prd.md, or wherever the user points).journeys.md or <prd-basename>.journeys.md). If found → update mode (see below). If not → fresh generation.Output path: same directory as the PRD. Name it journeys.md; if the directory holds multiple PRDs, use <prd-basename>.journeys.md so pairing stays self-evident.
Walk this checklist against the PRD. For each item the PRD already answers, skip it — a thorough PRD means a short interview. For each gap, ask the user.
Interview rules:
## Decisions section of the doc.Journeys = persona × top-level goal (job-to-be-done), e.g. "New user: first booking", "Returning user: manage booking". Each journey is an end-to-end session slice, not a user-story fragment — real sessions cross many stories, and per-story flows duplicate shared segments like onboarding.
Coverage guarantee comes from the story traceability table: every user story in the PRD maps to the journey(s) that cover it. A story with no journey is a caught gap — go back to Phase 1 and resolve it before finishing.
Test: does the edge case navigate the user somewhere else?
Never bury a flow-changing case in the appendix, and never bloat a diagram with 30 per-screen state nodes.
Use this structure exactly:
# <Product> — User Journeys
Source PRD: <relative path> (<date generated/updated>)
## Personas
One short paragraph each: who they are, what they want.
## Journeys
### J1 — <Persona>: <Goal>
**Entry points:** <how they arrive>
```mermaid
flowchart TD
<screens as nodes, decisions as diamonds, edge-case branches labeled>
```
**Steps:** numbered prose walkthrough. Inline edge-case branches called out
where they occur, with the condition and destination.
**Exit states:** success exit(s) + abandonment/interruption behavior.
### J2 — ...
## Story Traceability
| Story | Journey(s) | Notes |
|-------|------------|-------|
Every PRD story appears here. No orphans.
## Screen Inventory
One entry per screen the journeys imply. This is the handoff surface for the
design + prototype steps and the Blueprint's frontend section — loose format, no rigid schema.
### S1 — <Screen name>
**Purpose:** one line. **Appears in:** J1, J3.
**Contents:** what's on it (elements/data, not visual design).
| State | Behavior |
|-------|----------|
| Loading | |
| Empty | |
| Error | + retry path |
| <permission/other as relevant> | |
## Decisions
| # | Question | Answer | Date |
|---|----------|--------|------|
Interview Q&A log. Doubles as design rationale and powers update mode.
Mermaid conventions: flowchart TD, one diagram per journey, screens as rectangles, decision points as diamonds, edge-case branches with labeled arrows (-->|payment fails|). Keep each diagram readable — if a journey needs more than ~20 nodes, it's probably two journeys.
## Decisions.When a journeys doc already exists and the PRD changed:
## Decisions.## Decisions; update the source-PRD date line.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
user-journeys, prd, flow-diagrams, product-documentation, builder-os
Other plugins' skills for the same job
npx claudepluginhub v60samurai/builder-os --plugin builder-os9 skills in this plugin
/blueprint-gateRun a pass/fail gate check against a filled Blueprint (blueprint/blueprint-template.md) before it moves from DEFINE to DELIVER — before any feature code, and again before ship. Use when the user asks to "check if the blueprint is ready", "gate the blueprint", "is the build spec done", or before starting the build sessions against a Blueprint that hasn't been checked. Does not write or rewrite Blueprint content — that's blueprint-writer's job. Reports pass/fail per check with the exact location of every failure./blueprint-runnerActively walk a BuilderOS project through the Blueprint's Part 3 build plan (blueprint/blueprint-template.md, filled), enforcing done-checks, gates, and checkpoints instead of trusting the user to self-police them. Use when the user says "run the next session", "let's do Session N", "start building", "what session am I on", or is executing the build after finishing a PRD + Blueprint. Mode-aware (greenfield vs extends-existing). Refuses to start any build session until the Blueprint gate is green, refuses to start a new session if the previous one's done-check has an unchecked box, and treats the deploy checkpoints and the resilience / functional-coverage audit gates as hard stops, not suggestions./blueprint-writerDraft or fill a Blueprint (the merged engineering spec + technical reference + step-by-step build plan) from a locked PRD, before feature code. Use when the user asks to "write the blueprint", "engineering spec", "design the schema", "cut the chunks", "spec the backend/frontend changes", "plan the build sessions", or when a build has no single source of truth for how it gets built. Two modes — greenfield (schema derived from fixtures) and extends-existing (mirror a pattern-source feature in an existing repo). Fills blueprint/blueprint-template.md (Parts 1-3). Does not gate — that's blueprint-gate. Not for the product PRD (prd-writer) or user flows.