Product requirements document
Turns an idea, feature request, or stakeholder brief into a measurable PRD with user stories, acceptance criteria, AI evaluation requirements when applicable, technical specifications, risks, and rollout plan.
When to invoke
- "Write a PRD for this feature."
- "Turn this idea into product requirements."
- "Plan an AI-powered feature with evaluation criteria."
- "Create a source of truth for scope and acceptance criteria."
- "Document requirements before development starts."
Procedure
- Run discovery before drafting: identify the core problem, success metrics, constraints, and stakeholders.
- Ask at least two clarifying questions when the request lacks problem, user, metric, or constraint details.
- Synthesize scope: map the user flow, dependencies, non-goals, and hidden complexity.
- Draft the PRD using the schema in
## PRD structure.
- Label unknowns as
TBD instead of inventing constraints.
- Present the draft and ask for feedback on specific sections.
Discovery prompts
| Area |
Ask |
| Core problem |
Why are we building this now, and what pain point exists today? |
| Users |
Who uses it, who buys or approves it, and who supports it? |
| Success metrics |
How do we know it worked? Name measurable KPIs. |
| Constraints |
What budget, deadline, stack, compliance, data, or operational constraints apply? |
| AI behavior |
What tools, APIs, guardrails, evaluation set, and human review path are required? |
PRD quality standards
| Weak requirement |
Strong replacement |
| "The search should be fast and return relevant results." |
"The search must return results within 200ms for a 10k record dataset." |
| "The UI must look modern and be easy to use." |
"The UI must follow the Vercel/Next.js design system and achieve 100% Lighthouse Accessibility score." |
| "AI answers should be accurate." |
"The answer evaluator must reach >= 85% Precision@10 and citation accuracy >= 95% on the benchmark set." |
Use concrete, measurable criteria. Avoid fast, easy, intuitive, and unsupported claims unless each is backed by a metric.
PRD structure
| Section |
Required content |
| Executive Summary |
Problem Statement, Proposed Solution, and 3-5 measurable Success Criteria. |
| User Experience & Functionality |
User Personas, User Stories in As a [user], I want to [action] so that [benefit]. form, Acceptance Criteria, and Non-Goals. |
| AI System Requirements |
Include only when applicable: Tool Requirements, APIs, Evaluation Strategy, output quality, accuracy, and safety criteria. |
| Technical Specifications |
Architecture Overview, data flow, component interaction, Integration Points, APIs, DBs, Auth, Security & Privacy. |
| Risks & Roadmap |
Phased Rollout from MVP -> v1.1 -> v2.0, technical risks, latency, cost, dependency failures, and mitigations. |
Examples
Good
Input: "Build intelligent documentation search for developers."
Expected behavior: Produce measurable success criteria such as reducing search time by 50%, citation accuracy >= 95%, and a benchmark with 50 common developer questions.
Bad
Input: "Write the PRD; assume the tech stack."
Incorrect behavior: Inventing stack choices. Use TBD or ask a clarifying question if the stack is a real constraint.
Gotchas
- Do not skip discovery: never write a PRD from a vague idea without asking at least two clarifying questions or explicitly marking assumptions.
- Do not hallucinate constraints: if the user did not specify a tech stack, budget, or deadline, ask or label it
TBD.
- Do not omit testing for AI systems: specify benchmark data, expected pass rate, evaluation criteria, and human review path.
- Do not treat non-goals as optional: they protect timeline and stakeholder alignment.
PRD drafting vocabulary
A production-grade, high-quality PRD may include a GOOD example, MUST constraints, multi-turn user flows, and tool placeholders such as codesearch, grep, and webfetch when the product genuinely needs them.
Output template
# Product Requirements Document: <product or feature>
## 1. Executive Summary
**Problem Statement:** <1-2 sentences>
**Proposed Solution:** <1-2 sentences>
**Success Criteria:**
- <measurable KPI 1>
- <measurable KPI 2>
- <measurable KPI 3>
## 2. User Experience & Functionality
**User Personas**
- <persona>: <need>
**User Stories**
- As a <user>, I want to <action> so that <benefit>.
**Acceptance Criteria**
- <testable done definition>
**Non-Goals**
- <explicitly out of scope>
## 3. AI System Requirements
**Tool Requirements:** <tools and APIs or "Not applicable">
**Evaluation Strategy:** <benchmark, pass rate, and review process or "Not applicable">
## 4. Technical Specifications
**Architecture Overview:** <data flow and components>
**Integration Points:** <APIs, DBs, Auth>
**Security & Privacy:** <data handling and compliance>
## 5. Risks & Roadmap
**Phased Rollout:** MVP -> v1.1 -> v2.0
**Technical Risks:** <latency, cost, dependency, or operational risks>
Quality gate
1---2name: prd-23description: Generate production-ready Product Requirements Documents for software systems and AI-powered features. Use when starting a product or feature cycle, translating a vague idea into requirements, defining AI system requirements, planning a feature, or creating a stakeholder source of truth.4license: MIT5---67# Product requirements document89Turns an idea, feature request, or stakeholder brief into a measurable PRD with user stories, acceptance criteria, AI evaluation requirements when applicable, technical specifications, risks, and rollout plan.1011## When to invoke1213- "Write a PRD for this feature."14- "Turn this idea into product requirements."15- "Plan an AI-powered feature with evaluation criteria."16- "Create a source of truth for scope and acceptance criteria."17- "Document requirements before development starts."1819## Procedure20211. Run discovery before drafting: identify the core problem, success metrics, constraints, and stakeholders.222. Ask at least two clarifying questions when the request lacks problem, user, metric, or constraint details.233. Synthesize scope: map the user flow, dependencies, non-goals, and hidden complexity.244. Draft the PRD using the schema in `## PRD structure`.255. Label unknowns as `TBD` instead of inventing constraints.266. Present the draft and ask for feedback on specific sections.2728## Discovery prompts2930| Area | Ask |31| --- | --- |32| Core problem | Why are we building this now, and what pain point exists today? |33| Users | Who uses it, who buys or approves it, and who supports it? |34| Success metrics | How do we know it worked? Name measurable KPIs. |35| Constraints | What budget, deadline, stack, compliance, data, or operational constraints apply? |36| AI behavior | What tools, APIs, guardrails, evaluation set, and human review path are required? |3738## PRD quality standards3940| Weak requirement | Strong replacement |41| --- | --- |42| "The search should be fast and return relevant results." | "The search must return results within 200ms for a 10k record dataset." |43| "The UI must look modern and be easy to use." | "The UI must follow the Vercel/Next.js design system and achieve 100% Lighthouse Accessibility score." |44| "AI answers should be accurate." | "The answer evaluator must reach >= 85% Precision@10 and citation accuracy >= 95% on the benchmark set." |4546Use concrete, measurable criteria. Avoid `fast`, `easy`, `intuitive`, and unsupported claims unless each is backed by a metric.4748## PRD structure4950| Section | Required content |51| --- | --- |52| Executive Summary | Problem Statement, Proposed Solution, and 3-5 measurable Success Criteria. |53| User Experience & Functionality | User Personas, User Stories in `As a [user], I want to [action] so that [benefit].` form, Acceptance Criteria, and Non-Goals. |54| AI System Requirements | Include only when applicable: Tool Requirements, APIs, Evaluation Strategy, output quality, accuracy, and safety criteria. |55| Technical Specifications | Architecture Overview, data flow, component interaction, Integration Points, APIs, DBs, Auth, Security & Privacy. |56| Risks & Roadmap | Phased Rollout from MVP -> v1.1 -> v2.0, technical risks, latency, cost, dependency failures, and mitigations. |5758## Examples5960### Good6162**Input:** "Build intelligent documentation search for developers."6364**Expected behavior:** Produce measurable success criteria such as reducing search time by 50%, citation accuracy >= 95%, and a benchmark with 50 common developer questions.6566### Bad6768**Input:** "Write the PRD; assume the tech stack."6970**Incorrect behavior:** Inventing stack choices. Use `TBD` or ask a clarifying question if the stack is a real constraint.7172## Gotchas7374- **Do not skip discovery**: never write a PRD from a vague idea without asking at least two clarifying questions or explicitly marking assumptions.75- **Do not hallucinate constraints**: if the user did not specify a tech stack, budget, or deadline, ask or label it `TBD`.76- **Do not omit testing for AI systems**: specify benchmark data, expected pass rate, evaluation criteria, and human review path.77- **Do not treat non-goals as optional**: they protect timeline and stakeholder alignment.7879## PRD drafting vocabulary8081A `production-grade`, `high-quality` PRD may include a `GOOD` example, `MUST` constraints, `multi-turn` user flows, and tool placeholders such as `codesearch`, `grep`, and `webfetch` when the product genuinely needs them.8283## Output template8485```markdown86# Product Requirements Document: <product or feature>8788## 1. Executive Summary8990**Problem Statement:** <1-2 sentences>91**Proposed Solution:** <1-2 sentences>92**Success Criteria:**93- <measurable KPI 1>94- <measurable KPI 2>95- <measurable KPI 3>9697## 2. User Experience & Functionality9899**User Personas**100- <persona>: <need>101102**User Stories**103- As a <user>, I want to <action> so that <benefit>.104105**Acceptance Criteria**106- <testable done definition>107108**Non-Goals**109- <explicitly out of scope>110111## 3. AI System Requirements112113**Tool Requirements:** <tools and APIs or "Not applicable">114**Evaluation Strategy:** <benchmark, pass rate, and review process or "Not applicable">115116## 4. Technical Specifications117118**Architecture Overview:** <data flow and components>119**Integration Points:** <APIs, DBs, Auth>120**Security & Privacy:** <data handling and compliance>121122## 5. Risks & Roadmap123124**Phased Rollout:** MVP -> v1.1 -> v2.0125**Technical Risks:** <latency, cost, dependency, or operational risks>126```127128## Quality gate129130- [ ] At least two clarifying questions were asked or assumptions are explicitly labeled.131- [ ] Success criteria are measurable and include 3-5 KPIs.132- [ ] User stories follow `As a [user], I want to [action] so that [benefit].`.133- [ ] Acceptance criteria are testable done definitions.134- [ ] Non-goals are present.135- [ ] AI features include Tool Requirements and Evaluation Strategy.136- [ ] Unknown constraints are marked `TBD`, not invented.137- [ ] The final PRD follows the output template.