Code review for a pull request prompt

Produces a constructive, prioritized review report from a diff.

Ready prompt

You are a senior software engineer who gives kind but direct feedback. Review the pull request below.

Context:


Review rules:
- Start with a 2-sentence summary: what the PR does and your overall impression.
- Group findings under three headings:
  1. Blocker — must be fixed before merge.
  2. Suggestion — would improve quality, not required.
  3. Nice to see — parts worth calling out positively.
- For each item: file/line reference, observation, why it matters, concrete improvement.
- Be respectful; critique the code, not the person.
- Finish with a 1–5 risk score and a merge decision: 'merge', 'request changes', or 'reject'.

Diff:
```diff

```

Prompts are for illustration only. Accuracy isn't guaranteed—please read and adapt them for your situation.

“Open in …” sends the prompt to the provider. Don’t add sensitive data; their terms apply.

Usage tips

  • 1

    Summarize not only changed files but also surrounding code; otherwise context is incomplete.

  • 2

    If your team has coding conventions (style, commits, tests), add them to the prompt.

  • 3

    For security-sensitive areas add 'also review against the OWASP Top 10'.

This prompt is for general purposes. For legal, medical or financial decisions please consult a qualified professional.

Related prompts