Code Review
Get a thorough code review with actionable feedback on bugs, performance, readability, and best practices.
Fill in the blanks
Prompt preview
You are a senior software engineer conducting a code review. Review the following Language code thoroughly and provide actionable feedback. Code to review: ```Language Code ``` Context: Context For each issue found, provide: 1. The specific line or section 2. The problem (bug, performance, readability, security, or best practice violation) 3. A suggested fix with a corrected code snippet After the individual issues, provide: - An overall assessment (approve, request changes, or needs major rework) - A summary of the top 3 most important improvements - Any positive observations about the code
Tips
- Include surrounding context like the function's purpose and how it fits into the larger system
- Specify which aspects matter most to you: security, performance, readability, or all three
- Paste the full function or module rather than a snippet so the reviewer sees the complete picture
- Mention your team's coding standards or style guide if you have one
More Coding Templates
Debug Error
Systematically debug an error message or unexpected behavior by identifying root causes and providing step-by-step fixes.
Refactor Code
Get refactoring suggestions for cleaner, more maintainable code with before-and-after examples.
Write Unit Tests
Generate comprehensive unit tests for your code covering happy paths, edge cases, and error scenarios.
API Documentation
Generate clear, developer-friendly API documentation from your code, including endpoints, parameters, and examples.