UI Design Preview
Optional skill to generate visual mockups of a product's key screens before technical analysis begins. Eliminates the gap between "approved text" and "implemented screens."
When to Use
Execute this skill only when all of these are true:
- The product has a visual interface for end users (web, mobile, desktop)
- The PRODUCT_VISION.md contains screen descriptions, user flows, or design preferences
- No existing mockups or designs were provided by the user
Do NOT execute for CLIs, libraries, APIs without UI, IoT daemons, smart contracts, batch jobs, or any project where the end user does not interact with a visual screen.
Input
- Completed
PRODUCT_VISION.mdwith screen flows and design preferences
Output
- Generated mockup images of key screens
- Human approval to proceed
Process
Phase 0: Input Validation
Before generating any mockup, verify the PRODUCT_VISION.md contains at minimum:
- Explicit screen or page descriptions (not just feature names)
- At least one user flow with step-by-step walkthrough
- Design preferences (colors, mode, style) or a stated willingness to accept defaults
If any of these are missing or vague (single-sentence descriptions with no detail), HALT and request the Manager to return to product-discovery for deeper requirements before proceeding.
Phase 1: Extract Screens
- Read the PRODUCT_VISION.md
- Identify every screen or page mentioned (explicit or implicit)
- List them with a one-line description each
- Prioritize: pick the 2-4 most critical screens
Phase 2: Generate Mockups
For each critical screen, generate a visual mockup that reflects:
- The layout and elements described in the vision
- Design preferences stated by the user (colors, mode, style)
- The type of users and their context
If no design preferences were stated, use a clean, modern, professional aesthetic.
Phase 3: Present for Review
Present all mockups to the user with these questions:
- Does the visual style match what you imagined?
- Do these screens cover the main flows you described?
- What would you change before we continue?
Phase 4: Iterate or Approve
- If the user requests changes → regenerate affected mockups and present again
- If the user approves → proceed to the next workflow step
- Document the approval in the PRODUCT_VISION.md as an addendum
Completeness Checklist
- □ All critical screens identified from the vision?
- □ Mockups reflect the user's stated design preferences?
- □ User has reviewed and approved (or iterated)?
- □ Approval documented?
Rules
- NEVER generate mockups for projects without visual UI
- NEVER proceed to Tech Analysis without user approval of the designs
- ALWAYS use the design preferences from the PRODUCT_VISION.md — do not invent a style the user didn't request
- ALWAYS present mockups one conversation turn at a time — do not dump 10 images at once
- If the user provides their own mockups/screenshots → skip generation, use theirs as the design source
- ALWAYS compare new feedback against the previous 2 iterations during Phase 4. If feedback directly contradicts a prior revision (e.g., "make it darker" after "make it lighter"), HALT iteration and present the contradiction to the user for resolution before generating another mockup.
- NEVER iterate more than 3 times on the same screen without escalating to the Manager for a design decision.