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].
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.
/prd-v04-visual-prototype-gateContext 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
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
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.**
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: 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`.
Before proceeding to v0.5 Red Team Review:
| Consumer | What It Uses | |----------|--------------| | **v0.5 Red Team Review** | Visual prototype informs risk assessment —
PRD-Led Context Engineering — Memory as Infrastructure. An ontology layer for product teams building products that solve real problems — with AI agents that remember. Gated PRD, typed IDs, markdown knowledge graph, Claude Code skills & hooks.
Repo: mattgierhart/PRD-driven-context-engineering
[1-2 sentence description of what this skill does]. Triggers on [specific phrases/contexts that should activate this skill]. Outputs [what the skill produces].
Validates gate criteria before PRD lifecycle advancement by delegating to the readiness scoring pipeline (scripts/readiness.py). Returns a graduated PASS /…
Extracts durable insights from temp/ files to SoT during EPIC Phase E. Triggers at EPIC completion or explicit `/ghm-harvest` invocation. Outputs new SoT…
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…
Install the PRD-Driven Context Engineering methodology into a fresh OR existing repository — the subscription-native alternative to forking the whole repo.…
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,…