This skill reviews code changes against the spec to ensure production-ready alignment before marking tasks complete.
npx playbooks add skill wilddeer/specops --skill spec-step-review
Review code changes against spec requirements with production-ready rigor.
Before starting, you need:
Read project docs:
Read the spec docs:
Get the changes to review:
# Default: uncommitted changes (staged + unstaged)
git diff HEAD
# If specific range provided:
git diff {BASE_SHA}..{HEAD_SHA}
For each requirement in the spec, verify the implementation:
| Spec Says | Check |
|-----------|-------|
| "Create X" | Does X exist and match spec exactly? |
| "X must do Y" | Does X actually do Y? Test it. |
| "Format: ..." | Does output match specified format? |
| "Error when..." | Are error cases handled as specified? |
Project Standards:
Architecture:
Code Quality:
Third-Party Libraries:
Testing:
Production Readiness:
Side Effects:
Critical (Must Fix)
Important (Should Fix)
Minor (Nice to Have)
For each issue, include:
Return exactly one of:
APPROVED
Result: APPROVED
Spec: [spec file path]
Changes: [uncommitted / git range]
### Checklist
- [x] Project docs read (README, AGENTS.md)
- [x] All spec requirements verified
- [x] Project standards followed
- [x] Architecture sound
- [x] Code quality acceptable
- [x] Third-party libs verified against exact versions
- [x] Linter passes
- [x] Tests pass
- [x] No unintended side effects on code outside scope
### Strengths
[What's well done - be specific with file:line references]
### Assessment
All spec requirements verified. Code is production-ready.
APPROVED_WITH_RECOMMENDATIONS
Use when implementation is correct but you have suggestions or observations worth discussing (edge cases not covered by spec, potential improvements, patterns that could be documented).
Result: APPROVED_WITH_RECOMMENDATIONS
Spec: [spec file path]
Changes: [uncommitted / git range]
### Checklist
- [x] Project docs read (README, AGENTS.md)
- [x] All spec requirements verified
- [x] Project standards followed
- [x] Architecture sound
- [x] Code quality acceptable
- [x] Third-party libs verified against exact versions
- [x] Linter passes
- [x] Tests pass
- [x] No unintended side effects on code outside scope
### Strengths
[What's well done - be specific with file:line references]
### Assessment
All spec requirements verified. Code is production-ready.
### Recommendations
[Suggestions, observations, edge cases not in spec - each as a bullet point]
NEEDS_FIXES
Result: NEEDS_FIXES
Spec: [spec file path]
Changes: [uncommitted / git range]
### Checklist
- [x] Project docs read (README, AGENTS.md)
- [ ] All spec requirements verified
- [x] Project standards followed
- [x] Architecture sound
- [ ] Code quality acceptable
- [x] Third-party libs verified against exact versions
- [x] Linter passes
- [ ] Tests pass
- [x] No unintended side effects on code outside scope
(mark [x] what passed, [ ] what failed or has issues)
### Issues
#### Critical (Must Fix)
[List with file:line, issue, spec reference, fix suggestion]
#### Important (Should Fix)
[List with file:line, issue, why it matters, fix suggestion]
#### Minor (Nice to Have)
[List - optional, only if noteworthy]
### Strengths
[What's well done - be specific]
### Assessment
[1-2 sentences: what needs to happen before approval]
GAP
Result: GAP
Spec: [spec file path]
Gap: [what the spec doesn't define that blocks review]
Context: [what you were trying to verify]
Recommendation: [what needs clarification in spec]
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.