Code Review Assistant
Get detailed code reviews with suggestions for improvement, best practices, and security checks.
Prompt template
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.
Fields in [brackets] are placeholders — swap them for your own details before running the prompt.
Prompt details
Works with
- ChatGPT
- Claude
- Gemini
At a glance
- Category
- Coding
- Author
- Community
- Length
- ~140 words
Suggested keywords
Add any of these to the prompt for more specific output — tap one to copy it.
How to use this prompt
Copy the template
Grab the full prompt with the copy button, then paste it into your AI tool.
Fill the placeholders
Replace every [bracketed] field with your topic, audience, tone, and format.
Run and refine
Change one instruction at a time until the output matches what you need.
Related prompts
More templates from the same library — copy from the card or open the full page.
M&A Strategy Guide - Pilar Metrics Analysis
Comprehensive framework for analyzing merger and acquisition opportunities with key performance indicators.
SEO Blog Post Generator
Create high-ranking blog posts with optimized structure, keywords, and meta descriptions.
Email Marketing Campaign Writer
Generate compelling email sequences that convert with A/B test variations.
Product Description Generator
Create persuasive product descriptions that highlight features and drive sales.
Social Media Caption Creator
Craft engaging captions for Instagram, LinkedIn, and Twitter with hashtag suggestions.
Explore more AI prompts
Open the full library for other categories and tool-specific templates.