Skip to content

PD Phase 3: Prototype

Generate a deployable HTML/React prototype following VisiTrans Corporate Design, designed for 95% code reuse.

Command: /pd-3-prototype [--feature NAME | --deploy]

When to use

After the PRD is complete and approved. The prototype serves as both a stakeholder demo and a development handoff artifact -- components are built to production patterns so developers can reuse them directly.

What happens

  1. PRD analysis -- Reads the PRD to identify features, user flows, and required screens from Section 4 (Feature table).
  2. Project scaffolding -- Creates a Next.js + TypeScript + Tailwind project in 04-prototyp/ with VisiTrans Corporate Design tokens pre-configured (colors, typography, brand palette).
  3. Component generation -- Builds reusable UI components (button, card, input, modal, navigation) following the VisiTrans design system, then generates feature-specific screens with mock data.
  4. PRD delta tracking -- Throughout prototyping, any user-provided requirement changes are logged to 03-PRD/PRD-DELTA.md for later incorporation.
  5. Deployment (--deploy) -- Builds production version and deploys to a preview URL for stakeholder sharing.

VisiTrans design tokens

Token Value
Primary orange #FC9E00
Black #1F1F1F
Action magenta #E6007E
Font Inter

Output

  • Complete Next.js prototype in 04-prototyp/
  • Tailwind config with VisiTrans CD tokens
  • Feature screens with responsive layouts
  • Mock data fixtures matching API contracts
  • PRD delta log (03-PRD/PRD-DELTA.md) if changes were discovered

Quality gate

  • VisiTrans CD tokens correctly applied
  • All PRD features have screens
  • Responsive layouts work at mobile, tablet, and desktop
  • Prototype deployed and accessible

Next step

PD Phase 4: Validate