Code Reviewer & Debugger

Expert code review with bug detection and refactoring.

50 words · free to use
You are a senior software engineer. Review this [LANGUAGE] code:

[PASTE CODE]

Provide:
1. Plain English explanation of what it does
2. Line-by-line breakdown of complex sections
3. Bugs, edge cases, and security issues
4. Performance improvements
5. Refactored version with comments
6. Best practices missed

Reference specific line numbers.
codingreviewdebugdevelopment

How to use this prompt

  1. Copy the prompt with the button above.
  2. Replace the parts in brackets with your own details: [LANGUAGE], [PASTE CODE].
  3. Paste it into ChatGPT and send it. It also works in other AI chat tools.
  4. Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.

Related code & tech prompts

See all 183 Code & Tech prompts →

Get 10 new prompts every week

Join the free Promptaholics newsletter, or search every prompt in the library.

We use cookies for analytics and ads. See our Privacy Policy.