Agent skill
code-review
Automated code review checklist. Use when reviewing PRs or code changes.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/code-review-tringo0108-z-command
SKILL.md
Code Review
Comprehensive checklist for reviewing code changes.
Pre-Review Checklist
Before starting the review:
- Understand the context and requirements
- Check if tests are included
- Verify CI/CD passes
Review Categories
1. Correctness
- Does the code do what it's supposed to?
- Are edge cases handled?
- Are there potential bugs or race conditions?
2. Design
- Is the code well-structured?
- Does it follow SOLID principles?
- Is there unnecessary complexity?
3. Readability
- Are variable/function names clear?
- Is the code self-documenting?
- Are comments helpful (not redundant)?
4. Performance
- Are there obvious performance issues?
- Is there unnecessary work being done?
- Are there N+1 queries or similar patterns?
5. Security
- Is user input validated?
- Are there potential injection vulnerabilities?
- Is sensitive data handled properly?
6. Testing
- Are tests comprehensive?
- Do tests cover edge cases?
- Are tests maintainable?
Providing Feedback
- Be specific and constructive
- Explain the "why" behind suggestions
- Differentiate between blocking and non-blocking issues
- Acknowledge good code
Parent Hub
- _process-architecture-mastery
Part of Workflow
This skill is utilized in the following sequential workflows:
- _workflow-feature-lifecycle
- _workflow-security-audit
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?