/prd-v04-visual-prototype-gate
Generate visual prototype prompts from SCR- entries for Google Stitch (or equivalent UI generation tool). Triggers on: 'make a prototype', 'visualize screens', 'generate Stitch prompt', 'I need a visual demo', 'prototype the workflow', 'show me what this looks like', 'get this
$ npx -y skills add mattgierhart/PRD-driven-context-engineering --skill prd-v04-visual-prototype-gate --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-visual-prototype-gate
Context preview
The summary Claude sees to decide when to auto-load this skill.
Generate visual prototype prompts from SCR- entries for Google Stitch (or equivalent UI generation tool). Triggers on: 'make a prototype', 'visualize screens', 'generate Stitch prompt', 'I need a visual demo', 'prototype the workflow', 'show me what this looks like', 'get this
SKILL.md
prd-v04-visual-prototype-gate.SKILL.mdname: prd-v04-visual-prototype-gate
description: >
Generate visual prototype prompts from SCR- entries for Google Stitch (or equivalent UI generation tool).
Triggers on: 'make a prototype', 'visualize screens', 'generate Stitch prompt', 'I need a visual demo',
'prototype the workflow', 'show me what this looks like', 'get this to a demo', 'visual gate'.
Consumes SCR- (Screen Flow Definition), PER- (Personas), UJ- (User Journeys), DES- (Design Components).
Outputs Stitch prompt blocks per SCR- entry + Feedback Capture Template. No new SoT IDs created —
this skill makes existing SCR- entries visual and routes feedback back to them.
context: fork
allowed-tools:
- Read
- Write
- Edit
- Glob
- Grep
Visual Prototype Gate
Position in workflow: v0.4 Screen Flow Definition → **v0.4 Visual Prototype Gate** → v0.5 Red Team Review
Screens on paper are hypotheses. Screens rendered visually are testable. This skill converts SCR- entries into structured prompts for Google Stitch (or any UI generation tool), then captures feedback routed back to specific SoT IDs.
**Rule: No product advances past v0.4 without a visual prototype reviewed by at least one stakeholder.**
Consumes
- **SCR-\* entries** (from Screen Flow Definition) — Each SCR- becomes one Stitch prompt. 1:1 mapping, no exceptions.
- **PER-\* entries** (from Persona Definition) — User context shapes copy, complexity, and emotional framing per screen.
- **UJ-\* entries** (from User Journey Mapping) — Journey position determines each screen's emotional beat (uncertainty → clarity → confidence).
- **DES-\* entries** (from Screen Flow Definition) — Shared components referenced in prompts for visual consistency.
- **BR-\* business rules** — Constraints affecting visual layout (pricing tiers, role-based visibility, data rules).
Produces
- **Stitch Prompt Block per SCR-** — One structured prompt per screen, ready to paste into Stitch. Grouped by UJ- journey for context.
- **Prototype Context Brief** — Product context + design style preamble (pasted once into Stitch before screen prompts).
- **Feedback Capture Template** — Table mapping each prototype screen to its SCR- ID for structured review. See `assets/feedback-capture-template.md`.
- **No new SoT IDs** — This skill visualizes existing IDs. Feedback routes back to SCR-, DES-, or CFD- entries.
Step-by-Step Process
Step 1: Confirm Inputs Exist
Check that Screen Flow Definition is complete:
- [ ] At least 3 SCR- entries exist with Purpose, Key Elements, and Related IDs populated
- [ ] At least 1 UJ- journey references those screens
- [ ] Design style preference confirmed with user (or default: "Clean B2B SaaS, minimal, professional")
If SCR- entries are incomplete, stop and run `prd-v04-screen-flow-definition` first.
Step 2: Write the Prototype Context Brief
One block, written once per product. This is pasted into Stitch as the opening context before individual screen prompts.
PRODUCT CONTEXT
[2-3 sentences from PRD v0.1 Spark: what the product is, who uses it, what pain it solves]
PRIMARY USER
[From PER-001: role, context, technical comfort level]
DESIGN STYLE
[Confirmed aesthetic — e.g., "Clean B2B SaaS, dark sidebar, minimal. Color for status only."]
Step 3: Generate Per-Screen Prompts
For each SCR- entry, produce one Stitch prompt block. Follow this template:
SCREEN: [SCR-XXX] — [Screen Name]
Journey position: [UJ-XXX], Step [N] of [Total]
User goal: [From SCR- Purpose field]
Situation: [What just happened — derived from prior UJ- step]
Key UI elements: [From SCR- Key Elements, using specific UI/UX keywords]
- [Element 1: be specific — "green 'Run' button, top right, disabled until selection made"]
- [Element 2: reference DES-XXX if shared component]
- [Element 3+]
Constraints: [BR-XXX rules affecting this screen — e.g., "free tier sees max 3 items"]
Emotional beat: [Derived from journey position — early=uncertainty, mid=engagement, end=confidence]
Layout: [UI surface type — full page, sidebar panel, modal, card grid, etc.]
**Stitch-specific guidance** (from research):
- Use UI/UX keywords: "navigation bar," "card layout," "call-to-action," not vague terms like "a button"
- One screen per Stitch generation for best results — do not combine multiple SCR- entries into one prompt
- Include adjectives for aesthetic: "minimal," "clean," "dark," "warm" — Stitch uses these for palette and typography
- Reference specific positions: "top-right," "below the header," "spanning full width"
Step 4: Identify the Money Shot
Select the single screen that communicates core product value fastest. This is typically the screen at the UJ- "Moment of Value" step. Mark it in the output. This frame gets screenshotted for any stakeholder deck, landing page, or pitch.
Step 5: Output Feedback Capture Template
Alongside prompts, output the feedback capture template (see `assets/feedback-capture-template.md`). This is the structured review artifact — reviewers annotate per-screen, feedback routes to specific IDs.
Stitch Workflow Notes
Google Stitch iterates best with incremental refinement: 1. Paste the Prototype Context Brief first 2. Generate one screen at a time using per-screen prompts 3. Refine each screen with targeted follow-ups ("Move the CTA to the right," "Change card layout to 2-column grid") 4. Export to Figma if design iteration continues beyond prototype stage
For non-Stitch tools, see `references/tool-adaptation-notes.md`.
Quality Gates (v0.4 → v0.5 Readiness)
Before proceeding to v0.5 Red Team Review:
- [ ] All SCR- entries have a corresponding visual prototype screen
- [ ] At least one stakeholder has reviewed the prototype
- [ ] Feedback Capture Template is completed with disposition for each item
- [ ] Money Shot identified and captured
Downstream Connections
| Consumer | What It Uses | |----------|--------------| | **v0.5 Red Team Review** | Visual prototype informs risk assessment —
Read more
name: prd-v04-visual-prototype-gate description: > Generate visual prototype prompts from SCR- entries for Google Stitch (or equivalent UI generation tool). Triggers on: 'make a prototype', 'visualize screens', 'generate Stitch prompt', 'I need a visual demo', 'prototype the workflow', 'show me what this looks like', 'get this to a demo', 'visual gate'. Consumes SCR- (Screen Flow Definition), PER- (Personas), UJ- (User Journeys), DES- (Design Components). Outputs Stitch prompt blocks per SCR- entry + Feedback Capture Template. No new SoT IDs created — this skill makes existing SCR- entries visual and routes feedback back to them. context: fork allowed-tools: - Read - Write - Edit - Glob - Grep
Visual Prototype Gate
Position in workflow: v0.4 Screen Flow Definition → **v0.4 Visual Prototype Gate** → v0.5 Red Team Review
Screens on paper are hypotheses. Screens rendered visually are testable. This skill converts SCR- entries into structured prompts for Google Stitch (or any UI generation tool), then captures feedback routed back to specific SoT IDs.
**Rule: No product advances past v0.4 without a visual prototype reviewed by at least one stakeholder.**
Consumes
- **SCR-\* entries** (from Screen Flow Definition) — Each SCR- becomes one Stitch prompt. 1:1 mapping, no exceptions.
- **PER-\* entries** (from Persona Definition) — User context shapes copy, complexity, and emotional framing per screen.
- **UJ-\* entries** (from User Journey Mapping) — Journey position determines each screen's emotional beat (uncertainty → clarity → confidence).
- **DES-\* entries** (from Screen Flow Definition) — Shared components referenced in prompts for visual consistency.
- **BR-\* business rules** — Constraints affecting visual layout (pricing tiers, role-based visibility, data rules).
Produces
- **Stitch Prompt Block per SCR-** — One structured prompt per screen, ready to paste into Stitch. Grouped by UJ- journey for context.
- **Prototype Context Brief** — Product context + design style preamble (pasted once into Stitch before screen prompts).
- **Feedback Capture Template** — Table mapping each prototype screen to its SCR- ID for structured review. See `assets/feedback-capture-template.md`.
- **No new SoT IDs** — This skill visualizes existing IDs. Feedback routes back to SCR-, DES-, or CFD- entries.
Step-by-Step Process
Step 1: Confirm Inputs Exist
Check that Screen Flow Definition is complete:
- [ ] At least 3 SCR- entries exist with Purpose, Key Elements, and Related IDs populated
- [ ] At least 1 UJ- journey references those screens
- [ ] Design style preference confirmed with user (or default: "Clean B2B SaaS, minimal, professional")
If SCR- entries are incomplete, stop and run `prd-v04-screen-flow-definition` first.
Step 2: Write the Prototype Context Brief
One block, written once per product. This is pasted into Stitch as the opening context before individual screen prompts.
PRODUCT CONTEXT [2-3 sentences from PRD v0.1 Spark: what the product is, who uses it, what pain it solves] PRIMARY USER [From PER-001: role, context, technical comfort level] DESIGN STYLE [Confirmed aesthetic — e.g., "Clean B2B SaaS, dark sidebar, minimal. Color for status only."]
Step 3: Generate Per-Screen Prompts
For each SCR- entry, produce one Stitch prompt block. Follow this template:
SCREEN: [SCR-XXX] — [Screen Name] Journey position: [UJ-XXX], Step [N] of [Total] User goal: [From SCR- Purpose field] Situation: [What just happened — derived from prior UJ- step] Key UI elements: [From SCR- Key Elements, using specific UI/UX keywords] - [Element 1: be specific — "green 'Run' button, top right, disabled until selection made"] - [Element 2: reference DES-XXX if shared component] - [Element 3+] Constraints: [BR-XXX rules affecting this screen — e.g., "free tier sees max 3 items"] Emotional beat: [Derived from journey position — early=uncertainty, mid=engagement, end=confidence] Layout: [UI surface type — full page, sidebar panel, modal, card grid, etc.]
**Stitch-specific guidance** (from research):
- Use UI/UX keywords: "navigation bar," "card layout," "call-to-action," not vague terms like "a button"
- One screen per Stitch generation for best results — do not combine multiple SCR- entries into one prompt
- Include adjectives for aesthetic: "minimal," "clean," "dark," "warm" — Stitch uses these for palette and typography
- Reference specific positions: "top-right," "below the header," "spanning full width"
Step 4: Identify the Money Shot
Select the single screen that communicates core product value fastest. This is typically the screen at the UJ- "Moment of Value" step. Mark it in the output. This frame gets screenshotted for any stakeholder deck, landing page, or pitch.
Step 5: Output Feedback Capture Template
Alongside prompts, output the feedback capture template (see `assets/feedback-capture-template.md`). This is the structured review artifact — reviewers annotate per-screen, feedback routes to specific IDs.
Stitch Workflow Notes
Google Stitch iterates best with incremental refinement: 1. Paste the Prototype Context Brief first 2. Generate one screen at a time using per-screen prompts 3. Refine each screen with targeted follow-ups ("Move the CTA to the right," "Change card layout to 2-column grid") 4. Export to Figma if design iteration continues beyond prototype stage
For non-Stitch tools, see `references/tool-adaptation-notes.md`.
Quality Gates (v0.4 → v0.5 Readiness)
Before proceeding to v0.5 Red Team Review:
- [ ] All SCR- entries have a corresponding visual prototype screen
- [ ] At least one stakeholder has reviewed the prototype
- [ ] Feedback Capture Template is completed with disposition for each item
- [ ] Money Shot identified and captured
Downstream Connections
| Consumer | What It Uses | |----------|--------------| | **v0.5 Red Team Review** | Visual prototype informs risk assessment —
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

