prds
List all PRDs in .plans/ directory with their status and associated task files.
List all PRDs and their status:
-
Use Glob to find all
prd-*.mdfiles in.plans/directory (not in.plans/archive/). -
For each PRD file:
- Extract feature name from filename:
prd-<feature>.md-><feature> - Check if
.plans/tasks-<feature>.ymlexists - If task file exists, read and parse it to calculate status:
- Count total tasks and completed tasks (status
completedorcancelled) - If 0 completed: "not started"
- If all completed: "completed"
- Otherwise: "in progress (X/Y completed)"
- Count total tasks and completed tasks (status
- If no task file: "no tasks generated"
- Extract feature name from filename:
-
Display results:
PRDs in .plans/ .plans/prd-<feature>.md Tasks: .plans/tasks-<feature>.yml (or "none") Status: <status> -
If no PRDs found:
No PRDs found in .plans/ Create a PRD with: /hone:prd "your feature description"