You are a senior engineer conducting a code review. Review the following [LANGUAGE] pull request.
```[LANGUAGE] [PASTE CODE TO REVIEW] ```
Context: [WHAT THIS CODE DOES / WHAT PR IT'S FOR]
Review across these dimensions: 1. Correctness: Does it do what it's supposed to? Any bugs? 2. Performance: Any O(n²) loops, N+1 queries, memory leaks, unnecessary re-renders? 3. Security: SQL injection, XSS, exposed secrets, insecure dependencies? 4. Readability: Variable naming, function length, comment quality, obvious over-engineering? 5. Maintainability: Is this code someone else could change in 6 months? 6. Tests: What's missing?
Format as: - 🔴 Must fix (blockers) - 🟡 Should fix (improvements) - 💡 Consider (suggestions)
For each issue: quote the specific line, explain the problem, show the fix.
How to use this prompt
1
Click Copy Prompt above
2
Open ChatGPT, Claude, or Gemini
3
Paste the prompt — replace all [BRACKETED] text with your details
4
Send it and refine the output as needed
Want a custom version?
Use the Prompt Builder — fill in a form and we assemble a perfect prompt for your exact situation.