Pull-Request Reviewer: Checklist and Verdict

Paste a PR diff and get a structured code review: correctness, security, performance, and style checks plus an approve-or-request-changes verdict.

Category: Coding and Development Works with: ChatGPT, Claude Type: Text
Pull-Request Reviewer: Checklist and Verdict — example preview

Customize this prompt

Fill in the fields below — the prompt text updates automatically. [BRACKETED] words are placeholders you replace.

The prompt

Free to use — see usage notes below.
Act as a staff-level code reviewer known for thorough but fair reviews. I will paste a pull request diff below. Review it in this structure: 1) SUMMARY: 3 lines — what the PR does, why it matters, and the overall risk level (LOW/MEDIUM/HIGH). 2) CORRECTNESS: check edge cases, null handling, off-by-one errors, and concurrency issues; quote the exact lines. 3) SECURITY: look for injection risks, auth gaps, secrets in code, and unsafe deserialization; flag anything suspicious even if uncertain. 4) PERFORMANCE: identify N+1 queries, unnecessary loops, memory hotspots, and blocking calls; estimate the impact. 5) STYLE & MAINTAINABILITY: naming, duplication, magic numbers, and whether the code matches [PROJECT_CODING_STANDARDS, e.g. 'our ESLint config + conventional commits']. 6) CHECKLIST: a markdown task list of every issue found, each with file:line reference and a suggested fix. 7) VERDICT: exactly one of APPROVE, APPROVE WITH MINOR FIXES, or REQUEST CHANGES — with one paragraph justifying it. Be specific and cite lines; never write vague praise or vague criticism. Context: [REPO_LANGUAGE_AND_FRAMEWORK], this PR touches [AFFECTED_AREA]. Diff:

[PASTE_PR_DIFF_HERE]

How to use it

  1. Paste the PR diff into the placeholder.
  2. Add your language, framework, and coding standards.
  3. Read the verdict and justification first.
  4. Work through the checklist items with file:line references.
  5. Re-run on the updated diff after fixes.

Customization tips

Set your coding standards and affected area. Add a 'check for [TEAM-SPECIFIC RULE]' line for house conventions.

Example use case

Developers and tech leads who want a rigorous first-pass review of any pull request.

Frequently asked questions

Can this replace human code review?

No — use it as a first pass. It catches mechanical issues fast so human reviewers can focus on design decisions and business logic.

What if my diff is very large?

Split it by file or by logical change and review each chunk separately; huge diffs get shallower reviews from both AIs and humans.

Share

Tags: code review pull request quality security development best practices

Reviewed by the PromptVault editorial team on October 21, 2026.
Source notes: Daily pipeline 20261021 batch 11

Coding and Development ChatGPT · Claude

Write a Beginner-Friendly Code Review Checklist for Pull Requests

Generate a pull-request review checklist a junior developer can follow, covering correctness, readability and safety.

Writing and Productivity Claude · ChatGPT

Code Review Prompt: Security and Readability Audit

Get a thorough code review that checks security issues, readability, edge cases, and suggests concrete improvements.