product-plan/) contains everything your implementation agent needs to build the product.
Package Structure
Complete Directory Structure
Complete Directory Structure
Ready-to-Use Prompts
one-shot-prompt.md
A complete prompt for full product implementation in one session. What it does:- References
product-overview.mdandone-shot-instructions.md - Guides agent to review all files before starting
- Prompts agent to ask clarifying questions about:
- Tech stack and existing codebase conventions
- Authentication and user management
- Product requirements
- Anything else needed before implementing
section-prompt.md
A template prompt for implementing one section at a time. What it does:- References specific section’s instruction file and assets
- Points to
tests.mdfor UI behavior test specs - Guides agent to ask clarifying questions about integration and requirements
Both prompts are designed to be copied directly into your coding agent. Fill in any template variables and add project-specific notes before using.
Implementation Instructions
product-overview.md
Provides essential context about the full product:- Product summary and description
- Planned sections in order
- Product entities (from data shape)
- Design system overview
- Implementation sequence
one-shot-instructions.md
Combines all milestones into a single comprehensive document:- Includes product overview
- Shell milestone (design tokens + application shell)
- All section milestones
- Testing guidance
- About the handoff (what’s provided vs. what you build)
Incremental Instructions
Breaks implementation into discrete milestones:01-shell.md
01-shell.md
Milestone 1: ShellSets up the foundation:
- Design tokens configuration (CSS custom properties, Tailwind colors, fonts)
- Application shell components (AppShell, MainNav, UserMenu)
- Navigation wiring
- Responsive layout
product-plan/design-system/— Design tokensproduct-plan/shell/README.md— Shell design intentproduct-plan/shell/components/— Shell React componentsproduct-plan/shell/screenshot.png— Visual reference
[NN]-[section-id].md
[NN]-[section-id].md
Milestone N: [Section Title]Each section milestone includes:
- Goal — Brief description of the feature
- Overview — What this enables users to do
- Key Functionality — 3-6 main capabilities
- Components Provided — List of components to integrate
- Props Reference — Data shapes and callback props
- Expected User Flows — Step-by-step scenarios (2-4 flows)
- Empty States — Handling no data scenarios
- Testing — Reference to
tests.mdfor specs - Files to Reference — All relevant files for this section
- Done When — Completion checklist
product-plan/sections/[section-id]/README.md— Feature overviewproduct-plan/sections/[section-id]/tests.md— Test specsproduct-plan/sections/[section-id]/components/— React componentsproduct-plan/sections/[section-id]/types.ts— TypeScript interfacesproduct-plan/sections/[section-id]/sample-data.json— Test dataproduct-plan/sections/[section-id]/screenshot.png— Visual reference
Design System Files
tokens.css
CSS custom properties for your design tokens:types.ts).
Shell Components
README.md
Describes the shell design:- Design intent and layout pattern
- Navigation structure
- User menu functionality
- Responsive behavior
components/
Portable React components:- AppShell.tsx — Main layout wrapper
- MainNav.tsx — Navigation component
- UserMenu.tsx — User menu with avatar
- index.ts — Exports
All import paths are transformed to relative paths—no Design OS dependencies.
screenshot.png
Visual reference showing the target design of the application shell.Section Components
README.md
Feature documentation:- Overview of what the section enables
- User flows and interactions
- Design decisions
- Data shapes used
- Visual reference
- Components provided
- Callback props table
tests.md
Framework-agnostic test specifications:- User Flow Tests
- Empty State Tests
- Component Interaction Tests
- Sample Test Data
Success paths and failure paths for key user interactions:
- Setup and preconditions
- Step-by-step actions
- Expected results with specific assertions
- Validation error scenarios
components/
Exportable React components:- Props-based (accept data and callbacks)
- Fully styled with Tailwind
- Responsive and dark mode support
- Production-ready
- No Design OS dependencies
types.ts
TypeScript interfaces:- Data shape interfaces (entities)
- Component Props interfaces
- Callback function signatures
sample-data.json
Test data showing the shape of data components expect. Use this before building real APIs.screenshot.png
Visual reference showing the target design of the section.What You Build
The export provides finished UI designs. Your implementation agent builds:- Backend APIs and data layer
- Routing and navigation
- State management
- Error handling and loading states
- Authentication and authorization
- Database models and migrations
- Tests based on the provided specs
- Integration with external services
The components are props-based—they accept data and fire callbacks. How you fulfill those contracts is up to you.
Next Steps
Implementation Guide
Learn how to use the export package
Implementation Approaches
Choose your implementation strategy