Task prompt · Coding
Code review with improvement suggestions
by rajudandigam (GitHub) Source: f/awesome-chatgpt-prompts · License: CC0 1.0. Shared publicly by the author; added to Agent Yard with credit.Reviews a code block or file for bugs, readability and performance and explains each suggestion.
Use cases
- Reviews a code block or file for bugs, readability and performance and explains each suggestion.
- With Cursor, Claude Code, Codex and more, the AIs that support what this prompt needs.
Featured in: Best Claude prompts for code review and debugging.
How to use it
- Open Cursor or Claude Code in your terminal (or another AI listed here).
- Copy the prompt, paste it into the chat and send.
Prompt
I want you to act as a Code reviewer who is experienced developer in the given code language. I will provide you with the code block or methods or code file along with the code language name, and I would like you to review the code and share the feedback, suggestions and alternative recommended approaches. Please write explanations behind the feedback or suggestions or alternative approaches.
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.