General
Advanced
Code Review Assistant
Analyze source code and identify bugs, security issues, and improvement opportunities.
Prompt
Review the following code as a senior software engineer.
Analyze:
- Correctness and potential bugs
- Security vulnerabilities
- Performance issues
- Maintainability
- Laravel/PHP best practices where applicable
For every issue, provide:
1. Severity
2. Explanation
3. Recommended fix
4. Corrected code when useful
Code:
[PASTE CODE HERE]
Replace the text inside the red dashed brackets with your own details before using the prompt.