Software Development
Coding
Beginner-Friendly
Code Review

Structured Code Review Feedback

Get thorough, categorized code review feedback on a diff or file.

Universal

Use case

Use before opening a PR, or when reviewing a teammate's change, to get a second pass that catches correctness, security, and readability issues in one structured pass.

Customize

e.g. TypeScript, Python, Go

Preview

Review the following code for a {language} project:

```
{code}
```

Give feedback organized into these categories: Correctness (bugs, edge cases), Security (injection, auth, secrets), Performance, Readability/Maintainability, and Test Coverage. For each issue, cite the relevant line or snippet, explain the concrete failure scenario, and suggest a fix. Do not comment on pure style preferences unless they affect readability. If a category has no issues, say so explicitly rather than inventing minor nitpicks.

Usage guidance

Paste a real diff or complete function, not a snippet missing context — the model can't reason about edge cases it can't see.

Example input

Language: TypeScript. Code: [a function handling user input validation]

Example output

Correctness: Line 12 — the email regex allows consecutive dots... Security: Line 24 — user input is interpolated directly into the query string...

Last updated Jan 1, 2026

Related prompts