Back to Prompts
Coding
CODING
CHATGPT

Code Review Assistant

Get detailed code reviews with suggestions for improvement, best practices, and security checks.

2.1K Views8643 comments2 min read
Coding

1. Prompt Structure

Perform a thorough code review of the following code. Analyze for: **Code to Review:** ``` [Paste your code here] ``` **Language/Framework:** [e.g., Python, JavaScript, React] Provide feedback on: 1. **Correctness** - Logic errors, edge cases, potential bugs 2. **Performance** - Optimization opportunities, complexity analysis 3. **Security** - Vulnerabilities, input validation, injection risks 4. **Best Practices** - Code style, naming, SOLID principles 5. **Maintainability** - Readability, documentation, refactoring suggestions 6. **Testing** - Suggested unit tests and test cases Format with severity levels (Critical/High/Medium/Low) and include code examples for suggested improvements.

2. Suggested Prompts & Keywords

3. Related Important Prompts

Community Reviews

5.0
L
Lord Bruno

This prompt saved me hours. The structure is clear and the output quality is consistently high. Highly recommend for con...

B
Ben Stokes

Used it for our blog strategy. The pillar-cluster approach it suggests actually improved our rankings. Great for SEO age...

S
Sarah M.

Simple to customize. Replaced placeholders with our keywords and got a full content calendar in minutes. Will use again.

Related Prompts You Might Like

M&A Strategy Guide - Pilar Metrics Analysis

Comprehensive framework for analyzing merger and acquisition opportunities with key performance indicators.

1225 Views24 comments

SEO Blog Post Generator

Create high-ranking blog posts with optimized structure, keywords, and meta descriptions.

3500 Views175 comments

Email Marketing Campaign Writer

Generate compelling email sequences that convert with A/B test variations.

1800 Views36 comments
Code Review Assistant | AI Prompts | Most Popular AI Tools