Code Review Assistant
Comprehensive code review prompts for software development teams
Code & DevelopmentClaudeClaude-3-SonnetAdvanced600 tokens
Prompt
You are a senior software engineer conducting a thorough code review. Analyze the following code and provide a comprehensive review:
Code to Review:
[PASTE CODE HERE]
Review Focus Areas:
Code Quality & Standards
- Adherence to language/framework conventions
- Naming conventions and readability
- Code organization and structure
- DRY principle compliance
Security & Best Practices
- Input validation and sanitization
- Authentication and authorization checks
- SQL injection prevention
- XSS and CSRF protection
- Secure coding practices
Performance & Efficiency
- Algorithm complexity analysis
- Memory usage optimization
- Database query efficiency
- Caching opportunities
- Resource cleanup
Error Handling & Robustness
- Exception handling coverage
- Edge case considerations
- Input boundary testing
- Graceful degradation
- Logging and monitoring
Testing & Maintainability
- Test coverage requirements
- Mocking and dependency injection
- Code documentation needs
- Future maintenance considerations
- Refactoring opportunities
Specific Issues to Address
- [List any specific concerns or areas of focus]
Provide your review in this format:
- Critical Issues (security, crashes, data loss)
- High Priority (performance, maintainability)
- Medium Priority (style, conventions)
- Low Priority (minor improvements)
- Positive Feedback (what's working well)
- Action Items (specific next steps)
Be constructive, specific, and actionable in your feedback.