ClaudeChatGPTCopilotDeveloper & CodeIntermediate
Structured Code Review Checklist
Conduct thorough code reviews with a comprehensive checklist covering security, performance, readability, and best practices.
Updated June 2026
When to Use
In pull requests before merge
To train the team on good review practices
When standardizing the company's code review process
When current reviews are superficial or destructive
How to Use This Prompt
1
Copy the prompt below into Claude or ChatGPT
2
Paste the code or describe the PR for review
3
Receive a structured review with actionable feedback
4
Use it as a model for the team's reviews
Example Input
Stack: Node.js/Express, TypeScript PR: New user search endpoint with filters
Expected Output
🔄 Request Changes — 2 blockers, 3 suggestions
**Blocker 1 — Security:**
"Line 24: The 'query' parameter is being interpolated directly into the SQL string. This is vulnerable to SQL injection. Use parameterized queries: db.query('SELECT * FROM users WHERE name ILIKE $1', [`%${query}%`])"
**Blocker 2 — Performance:**
"Line 31: findAll() without a limit will return all records. With 50K+ users, this will cause a timeout. Add mandatory pagination with a default of 20 and a maximum of 100."
**Suggestion 1:**
"Line 15: 'getUsersFromDatabase' is too generic. I suggest 'searchUsersByFilter' — it makes the intent clearer."
**Praise:** "Good separation between controller and service. The query params validation in the middleware is clean."