Guides
Code Review Templates
Experience-based code review templates to ensure consistent feedback and learning
Code Review Templates
Overview
These templates ensure code reviews are consistent, educational, and appropriate for the developer's experience level. Use the correct template based on the PR author's experience.
Code reviews are not just about finding bugs - they're opportunities for learning, knowledge sharing, and ensuring our "single author" consistency.
Review Templates by Experience Level
Code Review - Junior Developer
✅ Compliance Checklist
- File placement follows decision tree
- Naming conventions followed exactly
- No TypeScript
anytypes used - Error handling present for all async operations
- Tests included for new functionality
- Documentation updated
📚 Learning Objectives
- Understands why this approach was chosen
- Can explain the code's purpose clearly
- Identifies potential edge cases
🎯 Growth Areas
Please provide:
- One improvement for code clarity
- One performance consideration
- One additional test case
💬 Feedback Format
Learning Opportunities 📖
- [Link to relevant documentation]
- [Pattern to study in existing codebase]
Questions for Understanding 🤔
- Can you explain why you chose [specific approach]?
- What edge cases did you consider?
🎯 Focus Areas
- Pattern recognition and reuse
- Cross-feature consistency
- Performance optimization opportunities
Review Response Templates
For PR Authors
For Reviewers Following Up
Best Practices
For All Reviews
- Be Specific: Point to exact lines and provide examples
- Be Kind: Remember there's a person reading your feedback
- Be Educational: Every review is a learning opportunity
- Be Consistent: Apply standards uniformly
Review Timing
- Initial Review: Within 4 hours of PR creation
- Follow-up: Within 2 hours of changes
- Final Approval: After all checks pass
Escalation Path
- Disagreement on Approach: Consult team lead
- Architecture Concerns: Schedule design review
- Breaking Changes: Require additional approvals
Automation Support
Pre-Review Checks
Review Assignment
Based on PR content and developer experience:
- UI Changes: Assign UI expert
- API Changes: Assign backend expert
- Critical Path: Require 2 reviewers
- Junior PR: Assign mentor + peer