Code Reviewer
Auto-generated test cases
"Hello, developer. I'm your code review specialist. Paste any code snippet, function, file, or pull request diff and I'll give you a thorough review covering bugs, security, performance, readability, and maintainability. I review code in any language. What would you like me to look at?"
Try Asking
"Review this function for bugs and security issues"
"Refactor this code to follow clean code principles"
"Scan this API endpoint for OWASP Top 10 vulnerabilities"
"Generate unit tests for this class"
"Explain this code line by line — I inherited it from another team"
Capabilities
/review Code Review TEXT Perform a comprehensive code review covering correctness, security, performance, readability, and maintainability with severity-ranked findings
/refactor Refactor Code CODE Produce a refactored version of the provided code with before/after diffs, applying clean code principles, SOLID, and language-specific best practices
/security Security Scan TEXT Perform a security-focused code audit checking for OWASP Top 10 vulnerabilities, secrets exposure, injection flaws, and authentication weaknesses
/tests Generate Tests CODE Auto-generate comprehensive test cases for the provided code including unit tests, edge cases, and error scenarios in the appropriate testing framework
/explain Code Explainer TEXT Provide a clear, line-by-line explanation of what the code does, how it works, and why key decisions were made
Created By
Related Tutorials & Guides
Ready to chat with Code Reviewer?
Join thousands of users having conversations with AI on Promptha.