prd-v04-visual-prototype-gate
Skill182 starsChanged 6 months agoMITView on GitHub
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.
In this repository50 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ghm-gate-checkSkill
- ghm-harvestSkill
- ghm-id-registerSkill
- ghm-self-installSkill
- ghm-sot-builderSkill
- ghm-status-syncSkill
- ghm-template-syncSkill
- initSkill
- prd-v01-problem-framingSkill
- prd-v01-user-value-articulationSkill
- prd-v02-competitive-landscape-mappingSkill
- prd-v02-product-type-classificationSkill
- prd-v03-features-value-planningSkill
- prd-v03-moat-definitionSkill
- prd-v03-outcome-definitionSkill
- prd-v03-pricing-modelSkill
- prd-v04-persona-definitionSkill
- prd-v04-screen-flow-definitionSkill
- prd-v04-user-journey-mappingSkill
- prd-v05-risk-discovery-interviewSkill
- prd-v05-technical-stack-selectionSkill
- prd-v06-architecture-designSkill
- prd-v06-environment-setupSkill
- prd-v06-technical-specificationSkill
- prd-v07-epic-scopingSkill
- prd-v07-implementation-loopSkill
- prd-v07-test-planningSkill
- prd-v08-changelog-as-marketingSkill
- prd-v08-drift-baseline-compareSkill
- prd-v08-marketing-ops-handoffSkill
- prd-v08-monitoring-setupSkill
- prd-v08-release-planningSkill
- prd-v08-runbook-creationSkill
- prd-v09-aeo-auditSkill
- prd-v09-alternatives-pagesSkill
- prd-v09-cold-outreach-tieredSkill
- prd-v09-feedback-loop-setupSkill
- prd-v09-gtm-strategySkill
- prd-v09-hn-reddit-launchSkill
- prd-v09-launch-channels-orbSkill
- prd-v09-launch-metricsSkill
- prd-v09-offer-construction-hormoziSkill
- prd-v09-positioning-dunfordSkill
- prd-v10-case-study-builderSkill
- prd-v10-chasm-adoption-mooreSkill
- prd-v10-continuous-discovery-torresSkill
- prd-v10-mom-test-interviewSkill
- prd-v10-testimonial-collectorSkill
- prd-vXX-skill-nameSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
Check that Screen Flow Definition is complete:
- Very specific: line 51
If SCR- entries are incomplete, stop and run prd-v04-screen-flow-definition first.
- Distinctive: line 87
Use UI/UX keywords: "navigation bar," "card layout," "call-to-action," not vague terms like "a button"
- Distinctive: line 112
Before proceeding to v0.5 Red Team Review:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
- Paste the Prototype Context Brief first
- Generate one screen at a time using per-screen prompts
- Refine each screen with targeted follow-ups ("Move the CTA to the right," "Change card layout to 2-column grid")
- 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 — "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 |
Detailed References
- Feedback capture template: See
assets/feedback-capture-template.md - Tool adaptation notes: See
references/tool-adaptation-notes.md - Screen count guidelines: See
references/screen-count-guidelines.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

