Agent skill
requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/requesting-code-review
SKILL.md
Requesting Code Review
Review your work systematically before declaring it complete.
Core principle: Review early, review often.
When to Request Review
Mandatory:
- After each task in implementation
- After completing major feature
- Before merge to main
Optional but valuable:
- When stuck (fresh perspective)
- Before refactoring (baseline check)
- After fixing complex bug
Self-Review Process
Step 1: Gather Context
# What changed?
git diff HEAD~1
# What files?
git diff --name-only HEAD~1
Step 2: Spec Compliance Check
- Does the implementation match requirements?
- Are all acceptance criteria met?
- Is the feature complete?
Step 3: Code Quality Check
- Is the code readable and well-named?
- Is there any duplication to extract?
- Are edge cases handled?
- Are error messages helpful?
Step 4: Test Quality Check
- Do tests cover the happy path?
- Do tests cover edge cases?
- Do tests cover error conditions?
- Are tests readable and maintainable?
Step 5: Final Verification
- All tests pass
- No lint errors
- No console errors/warnings
- Changes committed with descriptive message
Issue Severity
| Severity | Action |
|---|---|
| Critical | Fix immediately, don't proceed |
| Important | Fix before proceeding |
| Minor | Note for later, can proceed |
Common Mistakes
- Skipping review because "it's simple"
- Ignoring critical issues
- Proceeding with unfixed important issues
- Not running tests before review
- Reviewing only the happy path
Integration
Use after:
- Each task in
executing-plans - Each task in
subagent-driven-development
Before:
- Creating pull request
- Merging to main branch
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?