Agent Skill
2/7/2026code-review
Perform a maximally picky and professional code review of recent changes. Reviews all code added since the last review, checking for thread safety, async safety, security vulnerabilities, data integrity, test quality, and code smells. Use before committing significant changes.
M
mqfacultyofarts
0GitHub Stars
1Views
npx skills add MQFacultyOfArts/PromptGrimoireTool
SKILL.md
| Name | code-review |
| Description | Perform a maximally picky and professional code review of recent changes. Reviews all code added since the last review, checking for thread safety, async safety, security vulnerabilities, data integrity, test quality, and code smells. Use before committing significant changes. |
name: code-review description: Perform a maximally picky and professional code review of recent changes. Reviews all code added since the last review, checking for thread safety, async safety, security vulnerabilities, data integrity, test quality, and code smells. Use before committing significant changes.
Code Review Skill
Perform a professional code review following the standards in prompts/CODE_REVIEW.md.
When to Use
- Before committing significant code changes
- After completing a spike or feature
- When the Stop hook reminds you
- When explicitly requested by user
Process
-
Identify scope - Determine what code needs review:
- Check
git statusandgit difffor uncommitted changes - Check
git logto find commits since last review - Look for any existing code review documents to find the last review point
- Check
-
Read the review template - Load
prompts/CODE_REVIEW.mdfor the full criteria -
Perform the review - Apply all criteria from the template:
- MANDATORY: No Quick Hacks policy
- Race Condition Audit Checklist
- Critical issues (thread safety, async safety, security, data integrity)
- High priority (type hints, input validation, logging, test coverage)
- Medium priority (magic numbers, hard-coded config, duplication)
- Test quality (primary use cases tested, no anti-patterns)
-
Write the review document - Save to
.claude/plans/with:- Executive summary
- Issues grouped by severity with file:line references
- Specific code fixes (before/after)
- Checklist of items to fix
- Verification steps
- Notes for future work
-
Report the path - Tell the user where to find the review document
Key Principles
- Be specific and critical
- Every issue needs a file:line reference
- Provide concrete fixes, not just descriptions
- Consider whether code enables future architectural goals
- Quick hacks are absolutely forbidden
Skills Info
Original Name:code-reviewAuthor:mqfacultyofarts
Download