Back to guide/Developer Tools

Code Review with Specific Criteria

Get focused code review feedback with numbered criteria that works on both ChatGPT and Claude.

code-reviewcross-modeldevelopment
Edit View
Prompt
Review this {{language}} code for:
1. Security vulnerabilities (injection, auth issues, data exposure)
2. Performance bottlenecks (N+1 queries, unnecessary allocations)
3. Readability (naming, function length, complexity)

For each issue found, explain the risk, show the problematic line, and provide a fixed version.

Code to review:
```
{{paste your code}}
```

Variables to customize

{{language}}{{paste your code}}

Why this prompt works

Numbered criteria give both models a checklist to follow. Asking for the problematic line + fix prevents vague feedback.

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.