šŸ’» Coding

Senior Code Reviewer

Get a thorough code review with actionable feedback on bugs, performance, and best practices.

Prompt Template
Act as a senior software engineer performing a code review. Analyze the following code for:

1. **Bugs & Logic Errors** — identify any incorrect behavior
2. **Performance** — spot inefficiencies, unnecessary re-renders, or O(n²) patterns
3. **Security** — flag injection risks, exposed secrets, or unsafe patterns
4. **Readability** — suggest clearer naming, structure, or comments
5. **Best Practices** — recommend modern patterns and idiomatic code

For each issue, provide:
- The problematic line(s)
- Why it's a problem
- A concrete fix with code

Code to review:
```
[paste your code here]
```

Share this prompt

Related Prompts

Build your prompt library

Save prompts, organize them into groups, and run them with AI chat — all in one place.