Agent skill
review-spec
Reviews plan and PRD, then gates readiness for implementation. Use when plan and PRD artifacts are ready for spec approval.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/review-spec
SKILL.md
Follow feature-dev-aidd:aidd-core.
Steps
- Set active stage
review-plan, thenreview-prd; keep active feature in sync via canonical active-state runtime commands only. - Run
python3 ${CLAUDE_PLUGIN_ROOT}/skills/aidd-core/runtime/prd_review.py --ticket <ticket>to refresh structured PRD report payload. - Gate PRD readiness with
python3 ${CLAUDE_PLUGIN_ROOT}/skills/aidd-flow-state/runtime/prd_check.py; block on failure. - Use the existing rolling context pack as review input; do not invoke standalone context-pack builder scripts from this stage.
- Run subagent
feature-dev-aidd:plan-reviewer, then run subagentfeature-dev-aidd:prd-reviewer. - Persist PRD review report with
python3 ${CLAUDE_PLUGIN_ROOT}/skills/aidd-core/runtime/prd_review.py --ticket <ticket> --report aidd/reports/prd/<ticket>.json --require-readyfor READY-path validation. - Review-stage RLM policy: if RLM links are empty, the runtime performs bounded auto-heal (
rlm_links_build, then finalize probe) and returns WARN attribution with evidence instead of terminal block when review can continue. - Report payload (
aidd/reports/prd/<ticket>.json|.pack.json) is the source of truth for final verdict: READY is allowed only whenrecommended_status=ready; otherwise return WARN/BLOCKED with canonical next action (/feature-dev-aidd:spec-interview <ticket>).
Command contracts
python3 ${CLAUDE_PLUGIN_ROOT}/skills/aidd-core/runtime/prd_review.py
- When to run: as canonical review-spec stage entrypoint before PRD approval decisions.
- Inputs:
--ticket <ticket>plus active PRD/plan artifacts. - Outputs: normalized PRD review report payload; verdict decisions use report payload (
recommended_status) as source of truth. - Failure mode: non-zero exit when review inputs are incomplete or report validation fails; RLM links-empty path is handled as bounded auto-heal then WARN attribution.
- Next action: fix missing artifacts/review findings or unresolved RLM prerequisites and rerun the CLI.
Notes
- Planning stage:
AIDD:ACTIONS_LOG: n/a.
Additional resources
- PRD review runtime: ../aidd-core/runtime/prd_review.py (when: review-spec gate behavior is unclear; why: confirm report contract and status mapping).
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?