Pull request review against your team’s own checklist

par fidji ChatGPT Anglais ~613 tokens
Extrait public Verrouillé
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…

À propos de ce 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.

Exemple de résultat

Fourni par l'auteur
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`?

Fiche technique

Modèle
ChatGPT
Langue du prompt
Anglais
Pour qui
Developers and tech leads who review pull requests every day and want consistent, useful reviews
Longueur
~613 tokens (estimation)
Format livré
Texte du prompt, affiché en ligne après achat

Avis

Réservés aux acheteurs

Aucun avis pour l'instant. Seuls les acheteurs de ce prompt peuvent en laisser un.

Signaler ce prompt