From PRD-Driven Context Engineering
Converts SCR- screen flow entries into structured prompts for Google Stitch (or equivalent UI generation tool) to create visual prototypes. Includes feedback capture template routed back to source IDs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/prd-ce:prd-v04-visual-prototype-gateThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Position in workflow: v0.4 Screen Flow Definition → **v0.4 Visual Prototype Gate** → v0.5 Red Team Review
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.
assets/feedback-capture-template.md.Check that Screen Flow Definition is complete:
If SCR- entries are incomplete, stop and run prd-v04-screen-flow-definition first.
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."]
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):
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.
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.
Google Stitch iterates best with incremental refinement:
For non-Stitch tools, see references/tool-adaptation-notes.md.
Before proceeding to v0.5 Red Team Review:
| Consumer | What It Uses |
|---|---|
| v0.5 Red Team Review | Visual prototype informs risk assessment — "does this feel buildable?" |
| v0.6 Architecture | Validated screens inform API data requirements |
| v0.7 Build Execution | Prototype becomes the visual spec for implementation |
| Stakeholder Communication | Money Shot used in decks, pitches, landing pages |
assets/feedback-capture-template.mdreferences/tool-adaptation-notes.mdreferences/screen-count-guidelines.mdnpx claudepluginhub mattgierhart/prd-driven-context-engineering --plugin prd-ceTranslates PRDs, feature specs, or raw product ideas into screen-level prompts for web UX generators like Stitch, Figma AI, and v0.
Generates a high-fidelity UI screen or wireframe from a structured text prompt using Stitch. Central action in Stitch workflows — call after prompt assembly, before code conversion.
Creates Stitch UI screens, design systems, variants, and prototypes from briefs, mockups, or product context. Exports Tailwind HTML, screenshots, and local code artifacts. Use for screen exploration, editing Stitch projects, or multi-screen prototypes.