/prd-v04-screen-flow-definition
Connect user journeys to screens, defining the UI structure and navigation paths during PRD v0.4 User Journeys. Triggers on requests to define screens, design screen flows, map UI structure, plan navigation, or when user asks "what screens do we need?", "define screens", "screen
$ npx -y skills add mattgierhart/PRD-driven-context-engineering --skill prd-v04-screen-flow-definition --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/prd-v04-screen-flow-definition
Context preview
The summary Claude sees to decide when to auto-load this skill.
Connect user journeys to screens, defining the UI structure and navigation paths during PRD v0.4 User Journeys. Triggers on requests to define screens, design screen flows, map UI structure, plan navigation, or when user asks "what screens do we need?", "define screens", "screen
SKILL.md
prd-v04-screen-flow-definition.SKILL.mdname: prd-v04-screen-flow-definition
description: Connect user journeys to screens, defining the UI structure and navigation paths during PRD v0.4 User Journeys. Triggers on requests to define screens, design screen flows, map UI structure, plan navigation, or when user asks "what screens do we need?", "define screens", "screen flow", "UI structure", "information architecture", "navigation design", "wireframe planning". Consumes UJ- (User Journey Mapping), FEA- (Feature Value Planning), BR- (constraints). Outputs SCR- entries for screens and DES- entries for design system elements. Feeds v0.5 Red Team Review.
context: fork
allowed-tools:
- Read
- Write
- Edit
- Glob
- Grep
Screen Flow Definition
Position in workflow: v0.4 User Journey Mapping → **v0.4 Screen Flow Definition** → v0.5 Red Team Review
Screens are where journeys become tangible. This skill transforms user journeys into a screen inventory with navigation paths and feature mappings.
Consumes
This skill requires prior work from v0.3-v0.4:
- **UJ-\* user journey entries** (from v0.4 User Journey Mapping) — Journey steps become screens; each step asks "What screen enables this action?"
- **FEA-\* feature entries** (from v0.3 Features Value Planning) — Features map to screens showing which features appear on which screens
- **PER-\* persona entries** (from v0.4 Persona Definition) — Persona context (technical level, role) shapes screen design choices and complexity
- **MVP-SCOPE artifact** (from v0.3 Features Value Planning) — Explicit feature boundary; screens must render only MVP-scoped features, backlog features deferred
- **BR-\* business rules** (from v0.3 Commercial Model) — Constraints affecting screen layout (pricing tier rules affect which settings appear, role-based visibility, data refresh rates, etc.)
This skill assumes v0.4 User Journey Mapping is complete.
Produces
This skill creates/updates:
- **SCR-\* entries** (screens, confidence 2-3/5) — Screen inventory with journey/feature/persona mappings showing purpose, actions, navigation, and constraints
- **DES-\* entries** (design system components, confidence 2-3/5) — Reusable UI elements and patterns identified across screens
- **Feature-to-Screen matrix** — Validation artifact showing every FEA- and every UJ- step mapped to SCR-
- **Screen count and complexity assessment** — Critical for v0.5 technical stack selection (number of screens informs frontend framework needs)
All SCR- entries should include:
- `confidence: 2-3/5` (based on journey validation and feature implementation status)
- Evidence source citations (UJ-ID, FEA-ID, PER-ID references)
- Forward target: "Would move to 4/5 if validated in wireframe review or prototype testing"
Example SCR- entry with confidence:
SCR-001: Main Dashboard
Type: Page
Purpose: Central hub showing key metrics and quick actions
Journeys: UJ-001 (Step 4), UJ-002 (Step 5), UJ-003 (Step 1)
Features: FEA-007 (dashboard), FEA-003 (reports preview), FEA-012 (notifications) — all in MVP-SCOPE
Confidence: 2/5 (source: journey-mapping + design-validation; not yet wireframed)
Primary Actions: Create Report, View Data Sources, Access Settings
Secondary Actions: Invite Team, View Help
Navigation:
From: SCR-000 (Login), any screen via nav bar
To: SCR-002 (Report Builder), SCR-003 (Data Sources), SCR-010 (Settings)
Content:
- Key metrics summary (3-5 cards) → DES-001 (Data Card)
- Recent reports list → DES-002 (Report List)
- Data source health status → DES-003 (Status Badge)
- Notification bell → FEA-012
Constraints: BR-015 (data refresh rate), BR-020 (role-based visibility)
Design Notes: PER-001 needs "busy dashboard" - show progress at a glance without overwhelming
Next Target: "Would move to 4/5 if wireframe validated with 3+ target personas"
Example DES- entry with confidence:
DES-001: Data Card
Type: Component
Used In: SCR-001 (Dashboard), SCR-005 (Analytics)
Purpose: Display single metric with trend indicator
Confidence: 2/5 (source: design-pattern-research; component not yet coded)
States:
- Default: Shows value + trend arrow
- Loading: Skeleton placeholder
- Empty: "No data yet" message
- Error: "Failed to load" with retry
Variants: Small (dashboard, 120px width), Large (detail view, 240px width)
Accessibility: ARIA labels for trend direction, keyboard navigation support
Next Target: "Would move to 4/5 if implemented and tested across both use cases"
Screen Types
| Type | Definition | Design Priority | Example | |------|------------|-----------------|---------| | **Page** | Full viewport, primary navigation target | High | Dashboard, Settings | | **Modal** | Overlay, blocks underlying page | Medium | Confirmation, Quick Edit | | **Panel** | Slide-out, contextual detail | Medium | Detail View, Filters | | **Component** | Reusable UI element | Varies | Header, Data Table |
**Rule**: Start with Pages, then identify where Modals/Panels reduce navigation friction.
Navigation Patterns
Choose a pattern based on product type:
| Pattern | When to Use | Example Products | |---------|-------------|------------------| | **Hub & Spoke** | Dashboard-centric apps | Analytics, CRM | | **Linear Flow** | Wizard/checkout processes | Onboarding, E-commerce | | **Hierarchical** | Content-heavy apps | Documentation, CMS | | **Flat** | Simple single-purpose apps | Timer, Calculator |
Most SaaS products use **Hub & Spoke** with occasional **Linear Flows** for onboarding/purchase.
Mapping Process
1. **Pull UJ-** (journeys) and FEA- (features) from prior steps
- Journeys define the paths; features define the capabilities
2. **Inventory unique screens** needed across all journeys
- Walk through each journey step and ask: "What screen does this happen on?"
3. **Map features to screens** (many:many relationship)
- One feature may appear on multiple screens
- One screen may contain multiple features
4. **Define navigation structure**
Read more
name: prd-v04-screen-flow-definition description: Connect user journeys to screens, defining the UI structure and navigation paths during PRD v0.4 User Journeys. Triggers on requests to define screens, design screen flows, map UI structure, plan navigation, or when user asks "what screens do we need?", "define screens", "screen flow", "UI structure", "information architecture", "navigation design", "wireframe planning". Consumes UJ- (User Journey Mapping), FEA- (Feature Value Planning), BR- (constraints). Outputs SCR- entries for screens and DES- entries for design system elements. Feeds v0.5 Red Team Review. context: fork allowed-tools: - Read - Write - Edit - Glob - Grep
Screen Flow Definition
Position in workflow: v0.4 User Journey Mapping → **v0.4 Screen Flow Definition** → v0.5 Red Team Review
Screens are where journeys become tangible. This skill transforms user journeys into a screen inventory with navigation paths and feature mappings.
Consumes
This skill requires prior work from v0.3-v0.4:
- **UJ-\* user journey entries** (from v0.4 User Journey Mapping) — Journey steps become screens; each step asks "What screen enables this action?"
- **FEA-\* feature entries** (from v0.3 Features Value Planning) — Features map to screens showing which features appear on which screens
- **PER-\* persona entries** (from v0.4 Persona Definition) — Persona context (technical level, role) shapes screen design choices and complexity
- **MVP-SCOPE artifact** (from v0.3 Features Value Planning) — Explicit feature boundary; screens must render only MVP-scoped features, backlog features deferred
- **BR-\* business rules** (from v0.3 Commercial Model) — Constraints affecting screen layout (pricing tier rules affect which settings appear, role-based visibility, data refresh rates, etc.)
This skill assumes v0.4 User Journey Mapping is complete.
Produces
This skill creates/updates:
- **SCR-\* entries** (screens, confidence 2-3/5) — Screen inventory with journey/feature/persona mappings showing purpose, actions, navigation, and constraints
- **DES-\* entries** (design system components, confidence 2-3/5) — Reusable UI elements and patterns identified across screens
- **Feature-to-Screen matrix** — Validation artifact showing every FEA- and every UJ- step mapped to SCR-
- **Screen count and complexity assessment** — Critical for v0.5 technical stack selection (number of screens informs frontend framework needs)
All SCR- entries should include:
- `confidence: 2-3/5` (based on journey validation and feature implementation status)
- Evidence source citations (UJ-ID, FEA-ID, PER-ID references)
- Forward target: "Would move to 4/5 if validated in wireframe review or prototype testing"
Example SCR- entry with confidence:
SCR-001: Main Dashboard Type: Page Purpose: Central hub showing key metrics and quick actions Journeys: UJ-001 (Step 4), UJ-002 (Step 5), UJ-003 (Step 1) Features: FEA-007 (dashboard), FEA-003 (reports preview), FEA-012 (notifications) — all in MVP-SCOPE Confidence: 2/5 (source: journey-mapping + design-validation; not yet wireframed) Primary Actions: Create Report, View Data Sources, Access Settings Secondary Actions: Invite Team, View Help Navigation: From: SCR-000 (Login), any screen via nav bar To: SCR-002 (Report Builder), SCR-003 (Data Sources), SCR-010 (Settings) Content: - Key metrics summary (3-5 cards) → DES-001 (Data Card) - Recent reports list → DES-002 (Report List) - Data source health status → DES-003 (Status Badge) - Notification bell → FEA-012 Constraints: BR-015 (data refresh rate), BR-020 (role-based visibility) Design Notes: PER-001 needs "busy dashboard" - show progress at a glance without overwhelming Next Target: "Would move to 4/5 if wireframe validated with 3+ target personas"
Example DES- entry with confidence:
DES-001: Data Card Type: Component Used In: SCR-001 (Dashboard), SCR-005 (Analytics) Purpose: Display single metric with trend indicator Confidence: 2/5 (source: design-pattern-research; component not yet coded) States: - Default: Shows value + trend arrow - Loading: Skeleton placeholder - Empty: "No data yet" message - Error: "Failed to load" with retry Variants: Small (dashboard, 120px width), Large (detail view, 240px width) Accessibility: ARIA labels for trend direction, keyboard navigation support Next Target: "Would move to 4/5 if implemented and tested across both use cases"
Screen Types
| Type | Definition | Design Priority | Example | |------|------------|-----------------|---------| | **Page** | Full viewport, primary navigation target | High | Dashboard, Settings | | **Modal** | Overlay, blocks underlying page | Medium | Confirmation, Quick Edit | | **Panel** | Slide-out, contextual detail | Medium | Detail View, Filters | | **Component** | Reusable UI element | Varies | Header, Data Table |
**Rule**: Start with Pages, then identify where Modals/Panels reduce navigation friction.
Navigation Patterns
Choose a pattern based on product type:
| Pattern | When to Use | Example Products | |---------|-------------|------------------| | **Hub & Spoke** | Dashboard-centric apps | Analytics, CRM | | **Linear Flow** | Wizard/checkout processes | Onboarding, E-commerce | | **Hierarchical** | Content-heavy apps | Documentation, CMS | | **Flat** | Simple single-purpose apps | Timer, Calculator |
Most SaaS products use **Hub & Spoke** with occasional **Linear Flows** for onboarding/purchase.
Mapping Process
1. **Pull UJ-** (journeys) and FEA- (features) from prior steps
- Journeys define the paths; features define the capabilities
2. **Inventory unique screens** needed across all journeys
- Walk through each journey step and ask: "What screen does this happen on?"
3. **Map features to screens** (many:many relationship)
- One feature may appear on multiple screens
- One screen may contain multiple features
4. **Define navigation structure**
PRD-driven Context Engineering: A systematic approach to building AI-powered products using progressive documentation and context-aware development workflows
Repo: mattgierhart/PRD-driven-context-engineering
Other skills on prd-driven-context-engineering.
- /SKILL_TEMPLATE
[1-2 sentence description of what this skill does]. Triggers on [specific phrases/contexts that should activate this skill]. Outputs [what the skill produces].
Open skill - /ghm-gate-check
Validates gate criteria before PRD lifecycle advancement by delegating to the readiness scoring pipeline (scripts/readiness.py). Returns a graduated PASS / WARN / BLOCK verdict with top blockers and their causal chain. Triggers before advancing from v0.X to v0.Y or explicit
Open skill - /ghm-harvest
Extracts durable insights from temp/ files to SoT during EPIC Phase E. Triggers at EPIC completion or explicit `/ghm-harvest` invocation. Outputs new SoT entries and archive manifest.
Open skill - /ghm-id-register
Validates and registers new SoT IDs with cross-reference integrity. Triggers when creating BR-XXX, UJ-XXX, API-XXX, or CFD-XXX entries. Outputs formatted SoT entry with validated cross-references.
Open skill - /ghm-self-install
Install the PRD-Driven Context Engineering methodology into a fresh OR existing repository — the subscription-native alternative to forking the whole repo. Runs an interactive wizard that seeds the framework (.claude/ hooks, skills, agents, rules, scripts) without clobbering
Open skill - /ghm-sot-builder
Creates new Source of Truth (SoT) files when existing templates don't fit your needs. Triggers on requests to create a new SoT file, add a new artifact type, or when user says "I need to track [X] but there's no SoT for it", "create SoT", "new source of truth". Outputs a
Open skill

