The Three Pillars
- PRD (Product Requirements Document): What needs to be built
- Plan: How to build it (technical approach)
- Todo: Specific implementation tasks
The PRD→Plan→Todo methodology is a systematic approach to AI-assisted development that transforms high-level requirements into working code through three distinct phases. This workflow has become the gold standard for teams using Claude Code and Cursor IDE.
The Three Pillars
Traditional development often jumps directly from requirements to code, leading to:
The PRD→Plan→Todo approach ensures:
The PRD defines what needs to be built from a business perspective.
# Feature: User Authentication System
## OverviewBrief description of the feature and its business value
## User StoriesAs a [user type], I want to [action] so that [benefit]
## Functional Requirements1. Users can register with email/password2. Email verification required3. Password reset functionality4. Remember me option
## Non-Functional Requirements- Response time < 200ms- Support 10k concurrent users- GDPR compliant- Accessibility WCAG 2.1 AA
## Acceptance Criteria- [ ] User can successfully register- [ ] Invalid emails are rejected- [ ] Passwords meet security requirements- [ ] Session persists with "remember me"
## Out of Scope- Social login (Phase 2)- Two-factor authentication (Phase 2)
"Generate a PRD for [feature description] that includes:- Overview and business value- User stories for all user types- Functional requirements (numbered list)- Non-functional requirements (performance, security, compliance)- Acceptance criteria (testable conditions)- Explicitly state what's out of scope- Include any UI/UX requirements- Note integration points with existing systems"
E-commerce Checkout Feature
# PRD: Express Checkout Feature
## OverviewImplement one-click checkout for returning customers to reduce cart abandonment by 25%
## User Stories1. As a returning customer, I want to complete purchase with one click2. As a new customer, I want the option to save my details for future3. As an admin, I want to track express checkout usage
## Functional Requirements1. Store encrypted payment methods (PCI compliant)2. Pre-fill shipping address from last order3. Show order summary before confirmation4. Send email receipt immediately5. Update inventory in real-time
## Performance Requirements- Checkout completion < 3 seconds- Support 1000 concurrent checkouts- 99.9% uptime during business hours
The Plan translates business requirements into technical architecture and approach.
Analyze the PRD
"Based on this PRD, create a technical plan that includes:- High-level architecture overview- Technology choices with justification- Data model design- API endpoints needed- Security considerations- Integration points- Deployment strategy"
Define Components
"Break down the architecture into:- Frontend components/pages needed- Backend services/modules- Database schema changes- External service integrations- Infrastructure requirements"
Identify Risks
"What are the technical risks and how do we mitigate them?Consider: performance bottlenecks, security vulnerabilities,scalability issues, third-party dependencies"
# Technical Plan: User Authentication
## Architecture Overview- JWT-based stateless authentication- PostgreSQL for user data- Redis for session management- Email service for notifications
## API DesignPOST /api/auth/registerPOST /api/auth/loginPOST /api/auth/logoutPOST /api/auth/refreshPOST /api/auth/reset-password
## Database Schemausers:- id (uuid, primary key)- email (unique, indexed)- password_hash- email_verified (boolean)- created_at, updated_at
sessions:- token (primary key)- user_id (foreign key)- expires_at- ip_address
## Security Measures- Bcrypt for password hashing (12 rounds)- Rate limiting on auth endpoints- CORS properly configured- Input validation on all fields
# Frontend Technical Plan
## Component Architecture- AuthProvider (context for auth state)- LoginForm component- RegisterForm component- PasswordResetFlow- AuthGuard HOC for protected routes
## State Management- useAuth hook for auth operations- Local storage for token persistence- Session storage for temporary data
## UI/UX Flow1. Modal-based auth forms2. Real-time validation3. Loading states during API calls4. Success/error notifications5. Redirect after login
## Performance- Lazy load auth components- Prefetch auth check on app load- Optimistic UI updates
The Todo list breaks the plan into specific, actionable tasks that can be implemented.
Task Breakdown Strategy
"Convert this technical plan into a detailed todo list:- Each task should be completable in 1-4 hours- Include task dependencies- Group by component/feature area- Add acceptance criteria for each task- Prioritize tasks (P0/P1/P2)- Include testing tasks- Don't forget documentation"
# Implementation Todos: User Authentication
## Database Setup (P0)- [ ] Create database migrations for users table- [ ] Create database migrations for sessions table- [ ] Add indexes for email and token lookups- [ ] Seed database with test users
## Backend API (P0)- [ ] Implement password hashing utility- [ ] Create POST /api/auth/register endpoint - Input validation - Email uniqueness check - Send verification email- [ ] Create POST /api/auth/login endpoint - Validate credentials - Generate JWT token - Create session record- [ ] Add rate limiting middleware- [ ] Write API integration tests
## Frontend Components (P1)- [ ] Create AuthContext and Provider- [ ] Implement useAuth hook- [ ] Build LoginForm component - Form validation - Error handling - Loading states- [ ] Build RegisterForm component- [ ] Add AuthGuard HOC- [ ] Write component tests
## Integration (P1)- [ ] Connect frontend to backend API- [ ] Implement token refresh logic- [ ] Add error interceptors- [ ] Test full auth flow
## Documentation (P2)- [ ] Document API endpoints- [ ] Create auth flow diagram- [ ] Write deployment guide
## Todo: Implement User Registration
**Task**: Create user registration endpoint**Acceptance Criteria**:- Validates email format- Checks email uniqueness- Hashes password with bcrypt- Sends verification email- Returns appropriate errors
**Dependencies**: Database migrations complete**Priority**: P0**Estimated Time**: 2 hours
**Implementation Notes**:- Use Joi for validation- Return 409 for duplicate email- Log registration attempts
Start with PRD
# In your project directoryclaude
"Here's my PRD for a user authentication system: [paste PRD]Generate a technical plan for implementing this."
Review and refine plan
"The plan looks good, but let's use Passport.js instead ofcustom JWT implementation. Update the plan accordingly."
Generate todos
"Based on this plan, create a detailed todo list grouped by:- Database setup- Backend implementation- Frontend components- Testing- Documentation"
Implement systematically
"Let's start with database setup.Implement the first todo: Create user table migration"
// Use Cursor's Agent mode for complex multi-file tasks
"I have this PRD for user authentication [paste PRD].Create a technical plan, then implement the databaseschema and basic API endpoints. Follow our codingstandards in .cursorrules."
// Agent will:// 1. Analyze PRD// 2. Create plan// 3. Generate migrations// 4. Implement endpoints// 5. Add basic tests
// Use Composer for focused tasks
"Based on this todo item:'Create POST /api/auth/register endpoint with validation'
Implement the endpoint following these requirements:- Email and password validation- Check for existing user- Hash password with bcrypt- Send verification email- Return user object without password"
The Feedback Loop
After implementation, update your documents:
Shared Documents
/docs/requirements/
/docs/architecture/
/docs/tasks/
or project management toolAI Context Sharing
@docs/requirements/auth-prd.md
Track these metrics to improve your process:
E-commerce Platform Migration
Challenge: Migrate legacy PHP monolith to microservices
Approach:
Result:
Key Success Factor: The PRD→Plan→Todo methodology ensured nothing was forgotten during the complex migration.
"Generate a PRD template for a [type] feature that includes:- All standard sections- Industry-specific requirements- Compliance considerations- Performance benchmarks- Integration touchpoints"
"Review this technical plan and identify:- Missing architectural components- Potential scalability issues- Security vulnerabilities- Cost optimization opportunities- Technical debt risks"
"Take this todo list and:- Identify the critical path- Suggest parallel work streams- Estimate completion time- Highlight blockers- Recommend task order"
Download Templates
Get our PRD, Plan, and Todo templates with examples for common features
Watch Tutorial
See the methodology in action with a real feature implementation
Join Community
Share your experiences and learn from other teams using this approach