| name | code-review-checklist |
| description | Language-agnostic code review checklist. Covers security, performance, readability, maintainability, testing, and common pitfalls across languages. Use when performing code reviews, creating review guidelines, or when the user mentions code review, PR review, review checklist, or code quality. Use when this capability is needed. |
| metadata | {"author":"antonroefer"} |
Code Review Checklist Skill
Perform thorough, language-agnostic code reviews with a comprehensive checklist.
When to Use
- Reviewing pull requests
- Creating code review guidelines
- Mentoring developers
- Establishing review standards
- When the user mentions code review or PR review
The Review Process
1. Understand the Context
- Read the PR description and linked issues
- Understand what the code is supposed to do
- Check if tests are included
- Verify documentation is updated
2. Review in Layers
- High-level: Architecture, design patterns, approach
- Mid-level: Function/method design, error handling, logic
- Low-level: Naming, formatting, comments
Comprehensive Checklist
Architecture & Design
Security
Performance
Readability & Maintainability
Error Handling
Testing
Documentation
Git/PR Hygiene
Language-Specific Gotchas
Python
JavaScript/TypeScript
Go
Java
Review Comment Templates
For Architectural Concerns
**Architecture Concern**
This approach couples X and Y too tightly. Consider using [pattern] to decouple them.
This would make it easier to [benefit].
For Security Issues
**Security Issue** 🔒
Found: [description of vulnerability]
Suggestion: Use [approach] to prevent this.
Reference: [OWASP link if applicable]
For Performance
**Performance Note** ⚡
This loop executes N+1 queries. Consider using [eager loading/batch approach] instead.
Current: O(n) queries
Suggested: O(1) query
For Nitpicks
**Nitpick** (non-blocking)
Consider renaming `x` to `userCount` for clarity.
Review Etiquette
Do
- Be respectful and constructive
- Explain "why", not just "what"
- Suggest solutions, not just problems
- Praise good code
- Ask questions if unclear
Don't
- Be sarcastic or condescending
- Block on personal preferences (use "consider")
- Review too fast (give it proper time)
- Focus only on nitpicks
- Demand changes without explanation
Verification
After completing a code review:
- Verify all checklist items were considered
- Ensure feedback is actionable
- Check that tone is constructive
- Confirm you've tested the code (if possible)
- Approve only when confident in the changes
Source: antonroefer/opencode-project-management — distributed by TomeVault.