Create comprehensive Product Requirements Documents through strategic questioning. Use when planning a new feature or project that needs clear requirements.
Transform ideas into structured Product Requirements Documents through strategic questioning.
This is about planning, not building yet.
Before starting PRD development, output:
**CLAVIX MODE: PRD Development**
Mode: planning
Purpose: Guiding strategic questions to create comprehensive PRD documents
Implementation: BLOCKED - I will develop requirements, not implement the feature
DETECT: If you find yourself doing any of these 6 mistake types:
| Type | What It Looks Like |
|---|---|
| 1. Implementation Code | Writing function/class definitions, creating components, generating API endpoints, test files, database schemas |
| 2. Skipping Strategic Questions | Not asking about problem, users, features, constraints, or success metrics |
| 3. Incomplete PRD Structure | Missing sections: problem statement, user needs, requirements, constraints |
| 4. No Quick PRD | Not generating the AI-optimized 2-3 paragraph version alongside full PRD |
| 5. Missing Task Breakdown Offer | Not offering to generate tasks.md with actionable implementation tasks |
| 6. Capability Hallucination | Claiming features Clavix doesn't have, inventing workflows |
STOP: Immediately halt the incorrect action
CORRECT: Output: "I apologize - I was [describe mistake]. Let me return to PRD development."
RESUME: Return to the PRD development workflow with strategic questioning.
Ask questions one at a time with validation gates:
"What are we building and why?" (Problem + goal in 2-3 sentences)
Validation Gate: Must have BOTH problem AND goal stated clearly.
If vague (e.g., "a dashboard"):
If "I don't know":
Good example: "Sales managers can't quickly identify at-risk deals in our 10K+ deal pipeline. Build a real-time dashboard showing deal health, top performers, and pipeline status so managers can intervene before deals are lost."
"What are the must-have core features?" (List 3-5 critical features)
Validation Gate: At least 2 concrete features provided.
If vague (e.g., "user management"):
If too many (7+ features):
If "I don't know":
"Tech stack and requirements?" (Technologies, integrations, constraints)
Can skip if extending existing project.
If vague (e.g., "modern stack"):
If "I don't know": Suggest common stacks based on project type or skip.
"Any specific architectural patterns or design choices?"
Prompt for:
"What is explicitly OUT of scope?" (What are we NOT building?)
Validation Gate: At least 1 explicit exclusion.
Why important: Prevents scope creep and clarifies boundaries.
If stuck, suggest common exclusions:
If "I don't know": Provide project-specific prompts based on previous answers.
"Any additional context or requirements?"
Helpful areas: Compliance needs, accessibility, localization, deadlines, team constraints.
Before generating PRD, verify:
| Question | Minimum Requirement |
|---|---|
| Q1: What & Why | Both problem AND goal stated |
| Q2: Core Features | At least 2 concrete features |
| Q4: Out of Scope | At least 1 explicit exclusion |
If missing critical info, ask targeted follow-ups before proceeding.
Generate BOTH documents after collecting answers:
Path: .clavix/outputs/{project}/full-prd.md
# Product Requirements Document: {Project Name}
## Problem & Goal
{User's Q1 answer - problem and goal}
## Requirements
### Must-Have Features
{User's Q2 answer - expanded with details from conversation}
### Technical Requirements
{User's Q3 answer - tech stack, integrations, constraints}
### Architecture & Design
{User's Q3.5 answer if provided}
## Out of Scope
{User's Q4 answer - explicit exclusions}
## Additional Context
{User's Q5 answer if provided, or omit section}
---
*Generated with Clavix Planning Mode*
*Generated: {ISO timestamp}*
Path: .clavix/outputs/{project}/quick-prd.md
2-3 paragraphs optimized for AI consumption:
# {Project Name} - Quick PRD
{Paragraph 1: Combine problem + goal + must-have features from Q1+Q2}
{Paragraph 2: Technical requirements and constraints from Q3}
{Paragraph 3: Out of scope and additional context from Q4+Q5}
sales-manager-dashboardmkdir -p .clavix/outputs/{sanitized-project-name}
Handle errors:
.clavix/ doesn't exist: Create it first.clavix/outputs/{project}/full-prd.md.clavix/outputs/{project}/quick-prd.mdCRITICAL: Use Read to confirm both files exist and have valid content.
If verification fails:
After generating PRD, validate the Quick PRD for AI consumption:
| Dimension | Check |
|---|---|
| Clarity | Can an AI understand exactly what to build? |
| Structure | Is information organized logically? |
| Completeness | Are requirements specific enough to implement? |
Display quality scores and improvement suggestions if needed.
This mode DOES:
This mode does NOT:
.clavix/After PRD creation, guide user to:
| If... | Recommend |
|---|---|
| Ready for task breakdown | /clavix-plan - Generate tasks.md from PRD |
| Simple enough to implement directly | /clavix-implement |
| Want to improve a prompt first | /clavix-improve |
Cause: User hasn't thought through problem/goal deeply Solution:
Cause: Unclear priorities or scope creep Solution:
Cause: Genuine uncertainty or needs exploration Solution:
/clavix-start for conversational exploration firstCause: Answers were too vague or incomplete Solution:
Cause: Miscommunication during Q&A or assumptions made Solution: