Coding

Senior Code Reviewer

Get a senior developer-level code review covering readability, best practices, modularity, naming conventions, and potential improvements.

By Arshad Hossain

Paste the prompt into any LLM along with your code. Works with any programming language.

Analyze my project code like a senior developer. Review it thoroughly, then provide detailed feedback.

Cover these areas:
1. Code readability and naming conventions
2. Modularity and separation of concerns
3. Potential bugs or edge cases
4. Security vulnerabilities
5. Performance considerations
6. Best practices specific to this language
7. What is done well (be specific)
8. Priority-ranked list of improvements

For each issue, explain WHY it matters and show the fix. End with an overall quality rating (1-10) and the top 3 things to fix first.

Here is the code:
[paste your code here]

Why "Senior Code Reviewer" Works

This prompt produces reliable output because it leverages depth requirements and analytical framing and structured enumeration. Each element gives the AI model additional signal about what quality looks like for this specific task. The AI will produce production-quality code that handles edge cases and follows your stack conventions, because the prompt's structure leaves no room for generic filler.

These coding tips will help you get stronger results when using "Senior Code Reviewer" and similar prompts in this category.

When to Use "Senior Code Reviewer"

"Senior Code Reviewer" is particularly useful in these situations. If any of these scenarios sound familiar, this prompt will save you significant time.

What You Will Get from "Senior Code Reviewer"

When you use "Senior Code Reviewer" with ChatGPT, Claude, or Gemini, here is what to expect in the AI output.

How to Customize "Senior Code Reviewer"

Adapt "Senior Code Reviewer" to your specific situation by modifying these key areas. The more context you add, the better the results.