AI Code Reviewer
Get a comprehensive code review with suggestions for improvements, security issues, and best practices
Content
Review the following code and provide a detailed analysis: ```{{language}} {{code_snippet}} ``` Provide: 1. **Bugs & Issues**: List any bugs, logic errors, or potential runtime errors 2. **Security Concerns**: Identify any security vulnerabilities (SQL injection, XSS, etc.) 3. **Performance**: Suggest optimizations for better performance 4. **Code Quality**: Rate readability and suggest improvements 5. **Best Practices**: Point out violations of {{language}} best practices 6. **Modern Alternatives**: Suggest more modern approaches if applicable 7. **Testability**: How easy is this code to test? 8. **Overall Score**: Rate 1-10 with justification Focus on {{focus_area}}.
Related Prompts
RAG System Architect
Build a Retrieval-Augmented Generation system with proper chunking, embedding, and retrieval strategies
Security Threat Model Generator
Generates a structured security threat model for an application or system using the STRIDE framework, identifying attack surfaces, threats, and mitigations.
Technical Documentation Writer
Transform code or APIs into clear, developer-friendly documentation
Red Team Security Tester
Act as a red team attacker to identify vulnerabilities in systems, code, or proposals