| name | cria-prd |
| description | Creates Product Requirements Documents (PRDs) from feature requests following a structured workflow of clarification, planning, and drafting. Outputs a standardized PRD to the project tasks directory. Use when the user asks to create a PRD, define requirements, or document a new feature. Do not use for technical specifications, task breakdowns, or implementation planning. |
PRD Creation
Procedures
Step 1: Validate Prerequisites
- Confirm the feature name or description has been provided by the user.
- Derive the slug in kebab-case for the output directory:
./tasks/prd-[feature-slug]/.
Step 2: Clarify Requirements (Mandatory)
- Ask the user clarification questions using the AskUserQuestion tool before generating any content.
- Cover all areas from the clarification checklist:
- Problem and Objectives: What problem to solve, measurable goals.
- Users and Stories: Primary users, user stories, main flows.
- Core Functionality: Data inputs/outputs, actions.
- Scope and Planning: What is NOT included, dependencies.
- Design and Experience: UI/UX guidelines and accessibility.
- Do NOT proceed to Step 3 until clarification answers are received.
Step 3: Plan the PRD (Mandatory)
- Create a development plan including:
- Section-by-section approach.
- Areas requiring research (use Web Search for business rules).
- Assumptions and dependencies.
- Present the plan to the user for alignment.
Step 4: Draft the PRD (Mandatory)
- Read the template at
assets/prd-template.md.
- Focus on WHAT and WHY, never on HOW (implementation belongs in Tech Spec).
- Include numbered functional requirements.
- Keep the document under 2,000 words.
- Do NOT deviate from the template structure.
Step 5: Save the PRD (Mandatory)
- Create the directory:
./tasks/prd-[feature-slug]/.
- Save the PRD to:
./tasks/prd-[feature-slug]/prd.md.
Step 6: Report Results
- Provide the final file path.
- Provide a brief summary of the PRD outcome.
Core Principles
- Clarify before planning; plan before drafting.
- Minimize ambiguity; prefer measurable statements.
- PRD defines outcomes and constraints, NOT implementation.
- Always consider usability and accessibility.
Quality Checklist
Error Handling
- If the user provides insufficient context, ask follow-up clarification questions before proceeding.
- If the template file is missing, report the error and halt — do not generate a PRD without the template.
- If the output directory already exists, confirm with the user before overwriting.