From sprint
Review completed Task or Feature deliverables. Uses type-specific checklists (coding/docs/ideation/general) for quality review. Two modes: default (creates improvement Tasks) and immediate-fix (fixes issues directly). Triggers: 'review task', 'review feature', 'review backlog'
How this skill is triggered — by the user, by Claude, or both
Slash command
/sprint:review-backlogThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Systematically review completed Task or Feature deliverables, identify areas for improvement, and connect to next actions.
Systematically review completed Task or Feature deliverables, identify areas for improvement, and connect to next actions.
This skill operates in a sprint folder containing:
BACKLOG.md - Backlog itemsHANDOFF.md - Current progress statusINSTRUCTION.md - Agent guidelinesrefs/ - Reference documentsThis skill supports two modes:
| Aspect | Default Mode | Immediate-Fix Mode |
|---|---|---|
| When | Manual review, post-completion | Called from /sprint:work-on-feature R&R step |
| Trigger | User runs /sprint:review-backlog | R&R Agent selects "immediate-fix" when prompted |
| Output | New improvement Tasks in BACKLOG.md | Issues fixed directly in code |
| Post-review | Tasks for next session | R&R Agent reports fixes to Lead |
| Sprint files | Updates BACKLOG.md with Tasks | Does NOT touch sprint files (Lead handles) |
Mode selection: After Step 4 (Report Results), ask:
How would you like to handle the findings?
1. Create improvement Tasks (default) — adds Tasks to BACKLOG.md for next session
2. Fix issues directly (immediate-fix) — fix all issues now in this session
If the agent is running as part of /sprint:work-on-feature, it should select option 2.
Required files to read:
BACKLOG.md - Check completed itemsHANDOFF.md - Check progress statusAfter identifying target, read related files:
| Target | Files to Read |
|---|---|
| Feature | refs/designs/F-{slug}.md, active/F-{slug}.md (contains decisions), refs/archive/F-{slug}.md (if prior Feature) |
| Task | refs/plans/F-{feature-slug}-T-*.md, related Feature files |
Sprint-wide (if needed):
refs/decisions/_sprint.mdrefs/lessons/_sprint.mdReport to user:
Recently completed items:
- T-login-api: Login API (done)
- T-signup-api: Signup API (done)
- F-dashboard: Dashboard (done)
What would you like to review?
1. Specific Task
2. Entire Feature
Collect information about the user's selected item:
coding | docs | ideation | general from BACKLOG.mdNote: Checklists are minimum standards. Apply additional criteria based on project characteristics.
Load checklist based on type:
| Type | Checklist |
|---|---|
| coding | assets/coding/checklist.md |
| docs | assets/docs/checklist.md |
| ideation | assets/ideation/checklist.md |
| general | assets/general/checklist.md |
Perform review:
Consider using agent teams when:
Always propose to the user and get approval before spawning agent teams.
Parallelization strategies:
| Strategy | Description | Example |
|---|---|---|
| By aspect | Each agent reviews a different quality dimension | functionality, security, performance, code quality |
| By target | Each agent reviews a different Task or component | Agent A: T-login-api & T-signup-api, Agent B: T-token-refresh & T-logout-api |
| Cross-verification | A separate agent validates the primary reviewer's findings | Reduces false positives and missed issues |
After parallel review, merge results into a single report in Step 4.
Categorize findings:
| Category | Description | Examples |
|---|---|---|
| 🔴 Critical | Immediate fix required, functional/security issues. Failure to meet goals or acceptance criteria is always Critical. | Goal not met, acceptance criteria failed, bugs, security vulnerabilities, data loss risk |
| 🟡 Improvement | Would be better if improved, quality enhancement | Refactoring candidates, performance improvements, readability |
| 🟢 Minor | Minor improvements | Naming, comments, formatting |
| 💡 Suggestion | Future considerations | New feature ideas, technical debt |
Report results to user:
## Review Results: [Item name]
### 🔴 Critical (N items)
1. [Issue]: [Description]
- Location: [File/location]
- Impact: [Scope of impact]
### 🟡 Improvement (N items)
1. [Improvement]: [Description]
- Current: [Current state]
- Suggested: [Improvement direction]
### 🟢 Minor (N items)
- [Items...]
### 💡 Suggestion (N items)
- [Items...]
---
Would you like to create an improvement plan for Critical/Improvement items?
Enter Plan Mode if Critical or Improvement items exist and user agrees.
There are items that need improvement.
Entering Plan Mode to create an improvement plan.
Content to write in Plan Mode:
# [Item Name] Improvement Plan
> This plan will be executed in the next session via `@INSTRUCTION.md`.
> Do not start improvement work immediately after plan approval.
## Review Summary
- Review target: [Task/Feature name]
- Issues found: Critical N, Improvement N
## Improvement Tasks
### Task 1: [Improvement item]
- Issue: [Current problem]
- Solution: [Specific solution]
- Scope: [Files/areas to modify]
- Completion criteria: [How to know it's done]
### Task 2: [Improvement item]
...
## Priority Order
1. [What to do first]
2. [Next...]
## Risks
- [Things to watch out for during improvement]
## Estimated Effort
- [Expected time/complexity]
Wait for user approval.
CRITICAL: In default mode, this skill only handles review and planning. It does NOT perform actual improvement work.
When the user approves the Plan:
- Update BACKLOG.md (Step 6A)
- End the skill
Fix all Critical, Improvement, and Minor issues in this session.
## Immediate-Fix Results
Fixed:
- 🔴 Critical: N/N items fixed
- 🟡 Improvement: N/N items fixed
- 🟢 Minor: N/N items fixed
- 💡 Suggestion: N items (skipped — future consideration)
Unfixable (if any):
- [Issue]: [Why it cannot be fixed]
Files modified:
- [list of files]
In immediate-fix mode, do NOT modify sprint files (BACKLOG.md, HANDOFF.md, active/). The Lead (orchestrator) handles sprint file updates.
IMPORTANT: After user approval, only update files and end the skill. Do not start improvement work.
Add improvement Tasks:
- [x] T-login-api: Login API `done`
- [ ] T-fix-login-api-review: Fix review issues (T-login-api) `backlog` ← newly added
- [ ] T-fix-login-api-review.critical: [Critical improvement 1]
- [ ] T-fix-login-api-review.improvement: [Improvement 1]
Reopen Feature (if Feature was in completed state):
- [ ] F-user-auth: Login System ← changed from [x] to [ ]
Add to ## Context for Next Session:
**Review results to address:**
- [Item name] review found N improvement items
- Improvement Task: T-{task-slug}
- Work from Plan file - no Plan Mode needed
In immediate-fix mode, the skill ends after fixing issues and reporting results.
Sprint file updates are handled by the Lead (orchestrator from /sprint:work-on-feature).
End the skill.
[Item name] review complete.
Review results:
- 🔴 Critical: N items
- 🟡 Improvement: N items
- 🟢 Minor: N items
- 💡 Suggestion: N items
Updated files:
- BACKLOG.md - Improvement Tasks added
- HANDOFF.md - Status reflected
Call @INSTRUCTION.md in your next session to start improvement work.
[Item name] review and fix complete.
Review results:
- 🔴 Critical: N found, N fixed
- 🟡 Improvement: N found, N fixed
- 🟢 Minor: N found, N fixed
- 💡 Suggestion: N items (noted)
Files modified:
- [list]
[If unfixable issues exist:]
⚠️ Unfixable issues:
- [issue and reason]
/sprint:init - Sprint initialization/sprint:add-backlog - Add backlog items/sprint:plan-backlog - Design items in detail/sprint:review-work - Same-session review, improve, and mark done@INSTRUCTION.md - Execute improvement workUser: "Review T-login-api"
Claude:
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub workingdanny911/sprint --plugin sprint