Resources
1Install
npx skillscat add ddaanet/agent-core/review Install via the SkillsCat registry.
Review Changes for Quality
Review in-progress work for quality, correctness, and adherence to project standards. This skill examines uncommitted changes, recent commits, or partial branch work to identify issues and suggest improvements.
Distinction: This skill reviews work-in-progress. The built-in /review is for PR-focused reviews.
Review Process
1. Determine Scope
Ask user what to review:
Use AskUserQuestion tool:
What should I review?
Options:
1. "Uncommitted changes" - Review git diff (staged + unstaged)
2. "Recent commits" - Review last N commits on current branch
3. "Current branch" - Review all commits since branched from main
4. "Specific files" - Review only specified files
5. "Everything" - Uncommitted + recent commits
6. "Design conformity" - Review changes against design documentCommon patterns:
- After runbook execution: "Uncommitted changes"
- After series of commits: "Recent commits" (ask how many)
- Before creating PR: "Current branch"
- Targeted review: "Specific files"
2. Gather Changes
For uncommitted changes:
git status
git diff HEAD # Shows both staged and unstagedFor recent commits:
git log -N --oneline # List recent commits
git diff HEAD~N..HEAD # Show changes in last N commits
git log -N -p # Show commits with diffsFor current branch:
git log main..HEAD --oneline # Commits on branch
git diff main...HEAD # Changes since branch pointFor specific files:
git diff HEAD <file1> <file2> ...3. Analyze Changes
Review axes: Read references/review-axes.md for the full 10-category checklist (code quality, design conformity, functional completeness, project standards, runbook file references, self-referential modification, security, testing, documentation, completeness).
4. Provide Feedback
Feedback structure:
# Review Report: [scope description]
**Scope**: [What was reviewed]
**Date**: [timestamp]
## Summary
[2-3 sentence overview of changes and overall assessment]
**Overall Assessment**: [Ready / Needs Minor Changes / Needs Significant Changes]
## Issues Found
### Critical Issues
[Issues that must be fixed before commit/merge]
1. **[Issue title]**
- Location: [file:line or commit hash]
- Problem: [What's wrong]
- Fix: [What to do]
### Major Issues
[Issues that should be fixed, strongly recommended]
1. **[Issue title]**
- Location: [file:line or commit hash]
- Problem: [What's wrong]
- Suggestion: [Recommended fix]
### Minor Issues
[Nice-to-have improvements, optional]
1. **[Issue title]**
- Location: [file:line or commit hash]
- Note: [Improvement idea]
## Positive Observations
[What was done well - be specific]
- [Good practice 1]
- [Good pattern 2]
## Recommendations
[High-level suggestions if applicable]
1. [Recommendation 1]
2. [Recommendation 2]
## Next Steps
[Clear action items]
1. [Action 1]
2. [Action 2]Assessment criteria:
Ready:
- No critical issues
- Minor issues only or no issues
- Follows project standards
- Tests adequate
- Documentation complete
Needs Minor Changes:
- No critical issues
- 1-2 major issues
- Quick fixes needed
- Can proceed after addressing major issues
Needs Significant Changes:
- Critical issues present, or
- Multiple major issues, or
- Design problems requiring rework
5. Output Review
Write review to file:
- Path:
scratch/reviews/review-report-[timestamp].mdor - Path:
plans/[plan-name]/reports/review-report.md(if part of runbook)
Return summary to user:
- Overall assessment
- Count of issues (critical/major/minor)
- Key action items
- Path to full review
Constraints
- Bash for git commands only, Read for examining files, Write for review output
- Do NOT use Edit to fix issues (review only)
- Review exactly what user requested — do not expand scope
- Be specific, actionable, constructive
- Flag secrets as CRITICAL — never log or output secret values
Example execution: Read references/example-execution.md for a complete review interaction flow.
Common scenarios: Read references/common-scenarios.md for handling secrets, multi-concern changes, pattern violations, already-committed work, and large changesets.
Integration with General Workflow
This skill is the protocol used by review/correction agents. In workflow contexts, prefer agent delegation over direct skill invocation:
corrector— review + apply fixes (Tier 3 orchestration)
Direct /review invocation is still valid when the user explicitly requests a review in conversation.
Workflow stages:
/design— Opus creates design document/runbook— Sonnet creates runbook (per-phase typing: TDD + general)/orchestrate— Executes runbook- corrector — Review and fix changes before commit
/commit— Commit changes- Complete job
Execution Context for Review Delegations
When delegating to corrector, include scope context per agent-core/fragments/review-requirement.md:
Required: Scope IN, Scope OUT, Changed files, Requirements summary
Optional: Prior state, Design reference
See agent-core/fragments/review-requirement.md for full template and rationale.