Thorough Code Review Checklist Prompt
Paste any code and get a structured, senior-engineer-style review covering correctness, security, and clarity.
Customize this prompt
Fill in the fields below — the prompt text updates automatically. [BRACKETED] words are placeholders you replace.
The prompt
You are a senior software engineer reviewing a pull request. Review the code below written in [PROGRAMMING_LANGUAGE] for [PROJECT_CONTEXT]. Structure your review in five sections: (1) Correctness — logic bugs, edge cases, and off-by-one errors, (2) Security — injection, auth, and data-exposure risks at a [SECURITY_LEVEL] scrutiny level, (3) Performance — complexity concerns and wasteful operations, (4) Readability — naming, structure, and missing comments, and (5) Tests — what unit or integration tests are missing. For every issue, give the file location, severity (blocker/major/minor), and a concrete fix suggestion with sample code — never just say 'fix this'. End with a verdict: APPROVE, REQUEST CHANGES, or COMMENT ONLY, plus a one-paragraph summary the author can paste into the PR. Be candid but constructive; praise what's genuinely well done. Here is the code: [CODE_SNIPPET]
How to use it
- Paste the code with its language and project context
- Review correctness: logic bugs, edge cases, off-by-one errors
- Scan security risks at your chosen scrutiny level plus performance issues
- Assess readability and list the tests that are missing
- Deliver a verdict with a paste-ready PR summary
Customization tips
Lower the security scrutiny level for prototype code, or raise it for payment and authentication modules.
Example use case
Developers who want a second pair of senior-engineer eyes before merging a pull request.
Frequently asked questions
Does it just point out problems without fixes?
No — every issue requires a concrete fix suggestion with sample code, never a bare complaint.
Can it review non-production or learning code?
Yes — set the project context to a learning exercise and the tone stays constructive rather than gatekeeping.
Share
Tags: code review software engineering pull request security best practices programming
Reviewed by the PromptVault editorial team on October 23, 2026.
Source notes: Daily pipeline 20261023 batch 11