Programming Difficulty: Intermediate
Professional Code Review and Improvement Recommendations
This prompt instructs an experienced software developer to analyze the provided code snippet and identify specific improvements. It requires a detailed review focusing on code quality, efficiency, readability, and best practices. The output must be a structured list of actionable recommendations for enhancing the code snippet. Users must supply the code snippet as input.
Act as an experienced software developer with expertise in code optimization and best practices. Based on the provided code snippet [CODE SNIPPET], placeholder, analyze it thoroughly to identify areas for improvement including but not limited to code efficiency, readability, maintainability, and adherence to industry standards. Generate a detailed, structured list of specific recommendations to enhance the code quality and performance. Present the output as a professional code review report that guides the user through each suggested improvement.
Highlighted text is a blank. Swap it for your own detail before you send the prompt.
What it produces
- Identify redundant code blocks and suggest refactoring options.
- Recommend improvements for variable naming to enhance readability.
- Highlight inefficient algorithms and propose optimized alternatives.
- Point out missing error handling and suggest robust exception management.
- Advise on adherence to coding standards and style guidelines.
How to use this prompt
Four steps, about a minute. Nothing to install and no account needed.
Copy the prompt
Use the Copy button above. The whole prompt goes to your clipboard exactly as written. Nothing is trimmed.
Fill in the blanks
Replace [CODE SNIPPET] with your own detail. Everything in square brackets is a blank for you to fill in.
Paste it into your assistant
Checked against ChatGPT, Claude, Gemini. It is written as plain instructions, so paste it into whichever of them you already use.
Read the result, then push back
Compare what you get to the example below. If it is close but not right, say what to change: shorter, warmer, more specific, then ask again in the same conversation.
More prompts like this one
Close neighbours in Programming, by shared subject and tagging.
- Comprehensive Code Review Template
- Code Explanation for Programmers
- Database Query Optimization Strategy for Slow-Running Queries
- Evaluate and Integrate a New Software Library into an Existing Codebase
- Strategic Plan for Developing Features Using Unfamiliar Programming Languages
- Create a Comprehensive Mobile App Development Roadmap for a Startup
Reviews and questions
What other people got out of this prompt, and what they asked about it.
Sign in to review this prompt.
Sign In to ReviewNo reviews yet
Be the first to share how this prompt worked for you.
Ask how to customize, adapt, or use this prompt more effectively.
Sign In to AskNo questions yet
Have a question about using or customizing this prompt? Be the first to ask.