Sintra AI
Home
Live Feed
Automation Hub
Prompt Library256
AI News554
Weekly Digest
Topic Hubs
AI History
AI Labs
Research
Learning Paths
Guides
Resources
Concepts
Videos
AI Tools74
Models
Claude
Google AI
Cost Calc
Back to Sintra/Code & Automation
intermediate·Code & Automation·10 min

Code Review Checklist

A structured review report with categorized issues, risk levels, and actionable fix suggestions.

✓ high confidenceverified 2026-05-30
⬡
Recommended modelClaude Sonnet 4.6

Top SWE-bench score; precise multi-file reasoning

What you need to fill in

[paste diff or code here][brief description of what this change is supposed to do]

Tools used

ClaudeChatGPT

The prompt

Perform a thorough code review of the following diff/PR. Act as a senior engineer who cares about correctness, maintainability, and security. Code to review: [paste diff or code here] Context: [brief description of what this change is supposed to do] Review it against this checklist and flag any issues: 1. Correctness — does the logic do what it claims? Any off-by-one errors, wrong conditions, missed branches? 2. Security — SQL injection, XSS, hardcoded secrets, improper auth checks, unvalidated input 3. Performance — unnecessary loops, N+1 queries, missing indexes, excessive memory use 4. Readability — unclear naming, missing comments on non-obvious logic, overly complex expressions 5. Error handling — unhandled exceptions, swallowed errors, unhelpful error messages 6. Tests — are new paths covered? Are existing tests still valid? 7. Breaking changes — API contract changes, schema migrations, dependency upgrades For each issue found: state the line/section, the problem, the risk level (High/Medium/Low), and a concrete fix suggestion.
Open in Claude

Try with these tools

claudechatgpt
code-reviewpull-requestqualitysecurity

More in Code & Automation

Write Unit Tests

A complete runnable test file with happy-path, edge-case, and error tests covering 90%+ of branches.

intermediate

Debug This Error

Plain-English explanation of the error, ranked root causes, a concrete code fix, and prevention tips.

beginner

Design a REST API

A complete REST API spec with endpoints, schemas, auth, error codes, and design recommendations.

intermediate