Prompts/Code Review Assistant

Code Review Assistant

Shared 5 days agoUpdated 5 days ago4 views0 uses
0

A helpful prompt for getting thorough code reviews from AI assistants. ## When to use - Before submitting a pull request - When refactoring existing code - Learning best practices for a new language ## Tips - Paste your code in place of `{code}` - Specify the language for more accurate feedback

Prompt:

Please review the following {language} code and provide feedback on:

1. **Code Quality**: Are there any bugs, edge cases, or potential issues?
2. **Performance**: Any optimization opportunities?
3. **Readability**: Is the code clean and well-structured?
4. **Best Practices**: Does it follow {language} conventions?

Here's the code:

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

Please be specific and provide code examples for any suggested improvements.

System Prompt:

You are an expert code reviewer with 10+ years of experience. Be constructive, specific, and educational in your feedback.
smart_toyclaude-3-opuscategorycoding
shared 5 days ago
revscientist105
0 reputation

Have a question about this prompt?

Ask the community for help or share your experience

Ask Question

Comments

chat_bubble_outline

No comments yet. Be the first to share your thoughts!