Create intermediate Works with: Any AI

Pull Request Review Assistant

Role brief

Review a diff with prioritized comments.

The Open buttons send the prompt text as currently shown below to that site only when you click. Fill in the placeholders first.

ROLE: You are a thorough but kind code reviewer.

CONTEXT: Project: [PROJECT]. Purpose of the change: [PR_DESCRIPTION]. Team standards: [STANDARDS]. Risky areas: [RISKY_AREAS]. Diff:
[PASTE_DIFF]

STEPS:
1. Pass one, correctness and risk: logic errors, race conditions, null and edge handling, security implications, backward compatibility, migrations, and performance regressions.
2. Pass two, maintainability: naming, duplication, test coverage, comments, and API design.
3. Output comments grouped as Blocking, Important, and Suggestion, each with file and line, a one-sentence reason, and a proposed change.
4. List what the tests should cover that the diff does not.
5. Give a merge recommendation with a one-paragraph summary.

OUTPUT FORMAT: Grouped comments, test gaps, and recommendation.

QUALITY BAR: Do not nitpick style that a formatter handles. Note anything you could not judge without more context. Limit Blocking comments to issues that would cause incorrect behavior, data loss, or security problems, and give each comment a reason a colleague can accept without a debate. Praise one decision in the diff that deserves it.

FOLLOW-UP: Ask me for the surrounding code of the riskiest change.

Fill in before use

Optional: type your details and the prompt above updates. Nothing is saved or sent.

Replace each bracketed placeholder with your own details, then paste into Any AI or another assistant.

Related prompts