| name | prd |
| description | A CLI tool to manage Product Requirements Documents (PRDs) with features, user stories, and acceptance criteria. Triggers on: prd, product requirements, feature management, feature, user story. |
# PRD — Product Requirements Document Manager
Use the prd CLI to manage feature PRDs, user stories, and acceptance criteria. PRD documents live under the prd/ directory as markdown files.
Workflow
- Before starting work, run
prd feat ls to see all features and their progress.
- Identify the current feature with
prd feat current (reads the git branch name).
- Find the next incomplete user story with
prd feat <id> us next.
- Implement the user story, then mark acceptance criteria as completed.
- Add notes to track decisions or context discovered during implementation.
Commands
List features
prd feat ls
Outputs tab-separated lines: ID Name [completed/total]
Show a feature
prd feat <feature-id>
Prints the full PRD markdown for the given feature.
Create a feature
prd feat new --name "Feature name" --description "Description"
Creates a new prd/<NNN-slug>/prd.md with a skeleton template. Prints the new ID.
Get current feature from git branch
prd feat current
Prints the feature ID extracted from branches named feat/<NNN>-* or feature/<NNN>-*.
Start a feature branch
prd feat start <feature-id>
Creates and checks out a git branch .