Pull request review against your team’s own checklist

by fidji ChatGPT English ~613 tokens
Public excerpt Locked
Mode A: build a review checklist from your conventions and past comments. Mode B: review the diff (does it do what the description says, migrations backward-compatible, N+1 queries, logs with personal data)… Each comment labelled issue / suggestion / nitpick, blocking or not…

About this prompt

Two modes in one prompt: first it turns your team conventions and a few past review comments into a checklist specific to your codebase, then it reviews a diff against it. Comments use Conventional Comments labels with severity, line references and a clear verdict, and it separates hard rules from taste.

Example output

Provided by the author
Verdict: Request changes — the migration locks the orders table during deploy. | File:line | Label | Blocking | Comment | | migrations/2026_11_02_add_status.sql:3 | issue | yes | `ALTER TABLE orders ADD COLUMN status text NOT NULL DEFAULT 'new'` is fine on PG 11+, but the CREATE INDEX on l. 5 is not CONCURRENTLY → table lock on 4M rows. Suggest `CREATE INDEX CONCURRENTLY` in a separate migration. | | src/orders/order.service.ts:88 | issue | yes | `findCustomer()` inside the `for` loop → one query per order. Load customers with one `WHERE id IN (…)`. | | src/orders/order.service.ts:120 | suggestion | no | `logger.info(order)` logs the full object including the delivery address. Team rule #7: log IDs only. | | src/orders/order.controller.ts:41 | praise | no | Clear separation of validation and business logic, easy to test. | Scope creep: the change to `currency.ts` is not mentioned in the description — intended? Questions: during a rolling deploy, does the old version still write orders without `status`?

Details

Model
ChatGPT
Prompt language
English
Who it's for
Developers and tech leads who review pull requests every day and want consistent, useful reviews
Length
~613 tokens (estimate)
Delivered as
Prompt text, shown online after purchase

Reviews

Buyers only

No reviews yet. Only buyers of this prompt can leave one.

Report this prompt