Prompt Library 💻 Coding & Dev Code Review — Find Every Problem
Any 💻 Coding & Dev Advanced

Code Review — Find Every Problem

Get a thorough senior-level code review covering bugs, security, performance, and style.
👁 11 views ⎘ 0 copies ♥ 0 likes

The Prompt

Perform a thorough code review of the following code. Act as a senior engineer who is unforgiving about quality.

Review for:
1. Bugs and logic errors (including subtle ones)
2. Security vulnerabilities (injection, auth issues, data exposure, etc.)
3. Performance problems (N+1 queries, unnecessary loops, memory leaks)
4. Error handling gaps
5. Readability and maintainability issues
6. Violation of SOLID principles or relevant design patterns
7. Missing edge case handling

For each issue found:
- Severity: Critical / High / Medium / Low
- Line reference
- What the problem is
- Why it matters
- The corrected code

End with an overall assessment and the top 3 things to fix first.

CODE:
[paste code here]

Language: [language]
Context: [brief description of what this code does]

📝 Fill in the blanks

Replace these placeholders with your own content:

[paste code here]
[language]
[brief description of what this code does]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into Any

Open your preferred AI assistant and paste the prompt to get started.