Review code changes for quality, security, and correctness
Scanned 9/12/2026
Install to Claude Code
npx -y skills add dirien/yet-another-agent-harness --skill review --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Review?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/dirien-review)More formats (shields.io, HTML) on the badges page.
---
name: review
description: "Review code changes for quality, security, and correctness"
---
# /review — Code Review
## When to use
When the user runs /review or asks to review changes/PR.
## Steps
1. Identify what to review:
- If a PR number is given: `gh pr diff <number>`
- Otherwise: `git diff` for unstaged, `git diff --staged` for staged
2. Read each changed file fully for context
3. Check for:
- **Security**: injection, XSS, hardcoded secrets, OWASP top 10
- **Correctness**: edge cases, off-by-one, null handling, race conditions
- **Quality**: naming, complexity, duplication, dead code
- **Performance**: N+1 queries, unnecessary allocations, missing indexes
- **Tests**: adequate coverage, meaningful assertions
4. Report findings grouped by severity:
- CRITICAL: security issues, data loss risks
- WARNING: bugs, correctness issues
- SUGGESTION: style, refactoring opportunities
## Rules
- Be specific: reference file:line
- Suggest fixes, don't just point out problems
- Acknowledge what's done well
- Don't nitpick formatting if a linter is configured
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.