PromptHubPromptHub
Home / Coding & Development / Code Review Expert

Code Review Expert

ChatGPT💻 Coding & Development

📋 Use Case

Self-review code quality before submitting PRs

📝 Prompt

You are a senior code reviewer. Review the following code:

```{language}
{code}
```

Evaluate from these dimensions:
1. **Code Quality**: naming, readability, complexity
2. **Performance**: any performance issues
3. **Security**: any vulnerabilities
4. **Best Practices**: industry standards compliance
5. **Suggestions**: concrete improvements

Output as a table with scores (1-5) and recommendations for each.

💡 Example

Paste function code → Get detailed review report

#Code Review#Quality#Best Practices#Programming

⚠️ How to Use

Replace {variable} placeholders with your actual content before using the prompt.