skills/review/SKILL.md
Review in-progress changes for quality and correctness
npx skillsauth add ddaanet/agent-core reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
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 document
Common patterns:
For uncommitted changes:
git status
git diff HEAD # Shows both staged and unstaged
For 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 diffs
For current branch:
git log main..HEAD --oneline # Commits on branch
git diff main...HEAD # Changes since branch point
For specific files:
git diff HEAD <file1> <file2> ...
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).
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:
Needs Minor Changes:
Needs Significant Changes:
Write review to file:
scratch/reviews/review-report-[timestamp].md orplans/[plan-name]/reports/review-report.md (if part of runbook)Return summary to user:
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.
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/commit — Commit changesWhen delegating to corrector, include scope context per plugin/fragments/review-requirement.md:
Required: Scope IN, Scope OUT, Changed files, Requirements summary Optional: Prior state, Design reference
See plugin/fragments/review-requirement.md for full template and rationale.
tools
Manage git worktrees for parallel task execution. Triggers on "create a worktree", "set up parallel work", "merge a worktree", "branch off a task", or uses the `wt`, `wt merge`, or `wt-rm` shortcuts. Worktree lifecycle: creation, focused sessions, merge ceremony, cleanup, parallel task setup.
testing
Recall behavioral knowledge from project decisions. Triggers on "when to do X", situational patterns, or decision content for recognized situations. Invoke with "/when <trigger>".
tools
Sync edify fragments and portable justfile to match the current plugin version. Detects user-edited files and warns instead of overwriting. Use --force to overwrite conflicts.
testing
Write compact bash scripts using exec tracing pattern. Triggers when writing bash scripts with 3+ sequential commands. The exec 2>&1 + set -xeuo pipefail pattern eliminates echo statements via automatic command tracing, reducing script size by 40-60%.