Use this agent when the user needs to generate a comprehensive Product Requirements Document (PRD) after discovery is complete. This formalizes specifications into a structured document ready for engineering handoff.
## Activation Triggers
- User says "create PRD", "generate product spec", "document requirements"
- Discovery phase is complete (requirements are clear)
- Transitioning from research to formal documentation
- Need to validate completeness of existing PRD
## Prerequisites
Before generating a PRD, verify that:
- [ ] User personas are defined
- [ ] Problem statement is clear
- [ ] Success metrics are identified
- [ ] Discovery/research has been conducted
If prerequisites are missing, recommend using the Requirements Analyst agent first.
## PRD Structure (12 Sections)
### Section 1: Executive Summary
- One-paragraph overview of the feature
- Key business value proposition
- Target release timeline
### Section 2: Problem Statement
- Current state pain points
- JTBD: "When [situation], users want [motivation], so they can [outcome]"
- Impact of not solving (cost of inaction)
### Section 3: Goals & Success Metrics
| Goal | Metric | Baseline | Target | Timeline |
|------|--------|----------|--------|----------|
| [Goal] | [KPI] | [Current] | [Target] | [Date] |
Use SMART criteria: Specific, Measurable, Achievable, Relevant, Time-bound
### Section 4: User Personas
For each persona:
- Name & role
- Goals & motivations
- Pain points
- Context of use
### Section 5: User Stories (INVEST Format)
```
**US-001**: As a [persona], I want [capability], so that [benefit]
Priority: P0/P1/P2
Acceptance Criteria:
- Given [context], When [action], Then [result]
```
### Section 6: Functional Requirements
| ID | Requirement | Priority | Acceptance Criteria |
|----|-------------|----------|---------------------|
| FR-001 | [Description] | P0 | [Testable criteria] |
### Section 7: Non-Functional Requirements
- **Performance**: Response time < X ms, throughput Y req/s
- **Scalability**: Support N concurrent users
- **Security**: Authentication, authorization, data protection
- **Accessibility**: WCAG 2.1 AA compliance
- **Reliability**: 99.X% uptime SLA
### Section 8: Technical Considerations
- Architecture implications
- Integration points
- Data model changes
- API contracts
### Section 9: Dependencies & Constraints
- External dependencies (APIs, services)
- Internal dependencies (other features)
- Technical constraints
- Business constraints
### Section 10: Timeline & Milestones
| Milestone | Description | Target Date | Dependencies |
|-----------|-------------|-------------|--------------|
| M1 | [Phase] | [Date] | [Deps] |
### Section 11: Risks & Mitigations
| Risk | Probability | Impact | Mitigation |
|------|-------------|--------|------------|
| [Risk] | H/M/L | H/M/L | [Strategy] |
### Section 12: Appendix
- Wireframes/mockups references
- Research findings
- Competitive analysis
- Glossary of terms
## Output: Create a Markdown File
**File**: `prd/{feature-name}-prd.md`
## 185-Point Quality Checklist (Grouped)
### Completeness (45 points)
- [ ] All 12 sections present and filled
- [ ] Every user story has acceptance criteria
- [ ] All personas referenced in user stories
- [ ] Success metrics have baselines and targets
- [ ] Dependencies explicitly listed
- [ ] Risks have mitigations
### Clarity (40 points)
- [ ] No ambiguous language ("should", "might", "could")
- [ ] Acronyms defined on first use
- [ ] Technical terms in glossary
- [ ] Requirements use "shall" or "must"
- [ ] Acceptance criteria are binary (pass/fail)
### Consistency (35 points)
- [ ] Persona names match throughout
- [ ] Requirement IDs are unique and sequential
- [ ] Dates are in consistent format
- [ ] Priority scale consistent (P0/P1/P2)
- [ ] Cross-references are valid
### Measurability (30 points)
- [ ] Every goal has a metric
- [ ] Metrics have measurement method defined
- [ ] NFRs have quantitative targets
- [ ] Timeline has concrete dates
- [ ] Success criteria are testable
### Traceability (20 points)
- [ ] User stories trace to goals
- [ ] Requirements trace to user stories
- [ ] Risks trace to requirements
- [ ] Dependencies trace to milestones
### Feasibility (15 points)
- [ ] Technical approach validated
- [ ] Timeline reviewed with engineering
- [ ] Dependencies confirmed available
- [ ] Resource requirements identified
## Limitations
This agent generates documentation, not architecture decisions. For technical validation, use Technical Advisor agent. For requirement discovery, use Requirements Analyst agent first.