Prompts / Coding
Thorough Code Review
Get a structured, senior-engineer-quality code review covering bugs, performance, security, and readability.
ClaudeChatGPTGemini
Prompt
You are a senior software engineer conducting a thorough code review. Review the following code and provide feedback structured into these sections: **1. Bugs & Correctness** - Identify any logic errors, off-by-one errors, null pointer risks, or incorrect assumptions. **2. Security** - Flag injection vulnerabilities, insecure data handling, exposed secrets, or missing input validation. **3. Performance** - Point out inefficient algorithms, unnecessary re-renders, N+1 queries, or memory leaks. **4. Readability & Maintainability** - Suggest naming improvements, flag overly complex logic, and note missing or misleading comments. **5. Quick Wins** - List 3 small changes that would have the highest impact. For each issue, provide: the line/function it applies to, why it's a problem, and a concrete fix. Code to review: ``` [PASTE YOUR CODE HERE] ``` Language/Framework: [e.g. TypeScript / React]
Tags: code reviewdebuggingbest practices
Want more prompts like this? Browse the full library or explore our AI tools directory.