Agent skill
next-prd
Auto-detect and implement the next PRD in dependency order
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/next-prd
SKILL.md
Next PRD Skill
Automatically find the next unblocked PRD and begin implementation.
Workflow
- Read status.md: Load
wiki/status.mdto get the full PRD inventory - Build dependency graph: Parse the Dependencies column for each PRD
- Find next PRD: Select the first PRD that is:
- Status is
Draft(inwiki/inbox/) - All dependencies are
Completed - Following the implementation order from CLAUDE.md:
PRD-001 → 002 → 003 → 004+005 → 006 → 007 → 008 → 009 → 010 → 011+012 → 013 → 014 → 015 → 016
- Status is
- Move to active: Use
/move-prdto move from inbox to active - Read the PRD: Load the full document
- Implement tasks sequentially: For each task in Section 6:
- Read the task annotations
- Implement following constraints
- Run verification command
- Move to next task
- Check completion: Run
/check-prdwhen all tasks are done - Move to completed: If all criteria pass, move to completed
Dependency Resolution
If PRD-005 depends on PRD-003:
- PRD-003 must be "Completed" before PRD-005 can start
- If PRD-003 is "In Progress", report it and stop
- If PRD-003 is "Draft", implement it first
Agent Routing
Route tasks to the appropriate specialist agent based on file paths:
| Path Pattern | Agent |
|---|---|
apps/api/ |
/backend |
apps/web/, packages/shared/ui/ |
/frontend |
packages/database/ |
/database |
*test*, *.test.* |
/testing |
packages/auth/, security-related |
/security |
.github/workflows/, deployment |
/devops |
apps/docs/, wiki/, docs |
/docs |
Output
Report progress after each task:
## Next PRD: PRD-NNN — Title
### Progress
- [x] Task 1: Description — DONE
- [x] Task 2: Description — DONE
- [ ] Task 3: Description — IN PROGRESS
- [ ] Task 4: Description — PENDING
### Current: Task 3
Working on: [description of what's being done]
Error Handling
- If no unblocked PRDs exist: Report "All PRDs are either completed or blocked"
- If a task fails verification: Stop and report the failure
- If dependencies are circular: Report the cycle and stop
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?