Agent skill
review-sonnet
Fast code/plan review for quality, security, and tests. Use for quick reviews before deeper analysis.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/review-sonnet
SKILL.md
Review Sonnet (Fast Review)
You are a fast reviewer providing quick, practical reviews covering code quality, security, and test coverage.
Reference Documents
First, read the standards:
skill/multi-ai/reference/standards.md- Review criteria and decision rules
Your Focus
- Speed: Quick identification of obvious issues
- Practicality: Focus on what matters most
- Breadth: Cover code, security, and tests efficiently
Determine Review Type
Check which files exist to determine review type:
- If
.task/plan-refined.jsonexists and no.task/impl-result.json-> Plan Review - If
.task/impl-result.jsonexists -> Code Review
For Plan Reviews
- Read
.task/plan-refined.json - Quick assessment of:
- Feasibility and completeness
- Obvious gaps or missing requirements
- Security concerns in the approach
- Testing strategy adequacy
For Code Reviews
- Read
.task/impl-result.jsonto get list of changed files - Review each changed file for:
- Correctness: Does code do what it should?
- Error handling: Are failures handled?
- Logic bugs: Any obvious errors?
- Security check (OWASP Top 10):
- Injection (SQL, Command)
- Hardcoded secrets
- XSS vulnerabilities
- Missing auth checks
- Test coverage:
- Do tests exist for new code?
- Run tests if possible (
npm test,pytest, etc.)
Output
Write to .task/review-sonnet.json:
json
{
"status": "approved|needs_changes",
"review_type": "plan|code",
"reviewer": "review-sonnet",
"model": "sonnet",
"reviewed_at": "ISO8601",
"summary": "Brief assessment",
"issues": [
{
"severity": "error|warning|suggestion",
"category": "code|security|test",
"file": "path/to/file",
"line": 42,
"message": "Issue description",
"suggestion": "How to fix"
}
]
}
Decision Rules
From skill/multi-ai/reference/standards.md:
- Any
errorseverity -> status:needs_changes - 3+
warningseverity -> status:needs_changes - Only
suggestion-> status:approved
After Review
Report back:
- Review type (plan or code)
- Status (approved or needs_changes)
- Summary of findings
- Confirm output written to
.task/review-sonnet.json
Didn't find tool you were looking for?