Back to Library
Coding
Featured
Code Review Assistant
Get comprehensive code reviews with suggestions for improvements, security, and best practices.
18,540 uses
3 variables
code review
security
best practices
quality
Customize Prompt
Fill in the variables below to customize this prompt template
Programming language
The code to review
What the code does
Generated Prompt
Please review the following {{language}} code:
```{{language}}
{{code}}
```
Context: {{context}}
Provide a comprehensive review covering:
1. **Code Quality**
- Readability and maintainability
- Naming conventions
- Code organization
2. **Potential Bugs**
- Logic errors
- Edge cases not handled
- Null/undefined risks
3. **Performance**
- Inefficient algorithms
- Memory leaks
- Unnecessary computations
4. **Security**
- Vulnerabilities (injection, XSS, etc.)
- Input validation
- Sensitive data handling
5. **Best Practices**
- Design patterns
- SOLID principles
- Testing suggestions
Rate severity: 🔴 Critical | 🟡 Warning | 🟢 Suggestion
Provide specific line references and corrected code examples.Tips for Better Results
- • Be specific with your variable inputs for more accurate outputs
- • Try different models to compare results and find the best fit
- • Adjust the prompt based on your specific use case
- • Use the playground to test and iterate on your prompts