PromptHub
Back to Recipes
Development Claude 3.5 or ChatGPT-4

Code Review Checklist

Use AI to perform a thorough code review with specific checks and actionable feedback.

Prompt Template

Review the following {language} code and provide detailed feedback:

```
{code}
```

Context: {context}

Please check for:
1. Code quality and readability
2. Potential bugs or errors
3. Security vulnerabilities
4. Performance optimizations
5. Best practices adherence
6. Documentation completeness

Provide specific, actionable suggestions with code examples where applicable.

Variables to Customize

{language} {code} {context}

Description

Get comprehensive code review feedback using this structured prompt.

How to Use

  1. Paste your code
  2. Specify the language and context
  3. Review AI feedback
  4. Implement suggestions