Create and manage Product Requirements Documents (PRDs) for feature planning.
A PRD (Product Requirements Document) is a structured specification that:
agents/prd.json in the projectpasses: false → truejson
{
"project": "MyApp",
"branchName": "ralph/feature-name",
"description": "Short description of the feature",
"userStories": [
{
"id": "US-001",
"title": "Add priority field to database",
"description": "As a developer, I need to store task priority.",
"acceptanceCriteria": [
"Add priority column: 'high' | 'medium' | 'low'",
"Generate and run migration",
"Typecheck passes"
],
"priority": 1,
"passes": false,
"notes": ""
}
]
}
FieldDescriptionprojectProject name for contextbranchNameGit branch for this feature (prefix with ralph/)descriptionOne-line feature summaryuserStoriesList of stories to completeuserStories[].idUnique identifier (US-001, US-002)userStories[].titleShort descriptive titleuserStories[].description"As a [user], I want [feature] so that [benefit]"userStories[].acceptanceCriteriaVerifiable checklist itemsuserStories[].priorityExecution order (1 = first)userStories[].passesCompletion status ( false → true when done)userStories[].notesRuntime notes added by agent
Each story should be completable in one context window.
Stories execute in priority order. Earlier stories must NOT depend on later ones.
Correct order:
Must be verifiable, not vague.
status column to tasks table with default 'pending'"Always include: "Typecheck passes"
Update passes: true when a story is complete. Use notes field for runtime observations:
json
"notes": "Used IF NOT EXISTS for migrations"
ActionCommandCreate PRDSave to agents/prd.jsonCheck status`cat prd.jsonView incomplete`jq '.userStories[]
See references/ for detailed documentation:
agent-usage.md - How AI agents execute PRDs (Claude Code, OpenCode, etc.)workflows.md - Sequential workflow patternsoutput-patterns.md - Templates and examples