Skip to content
PromptPilot AI

Library / Coding & Technology / Code review

Review a pull request

Prioritised review: bugs, security, tests, then style.

Cursor / coding agentsClaude CodeChatGPTClaude
Who it's for
Developers using AI coding tools
Use case
Code review
Output
Agent task · Free
You'll need to fill in
paste diff or say: review the current git diff
Prevents: Review drowns real bugs in nitpicks about naming and formatting.
Review this diff:
"""
[paste diff or say: review the current git diff]
"""

Report findings in this order, skipping empty categories:
1. Bugs / incorrect logic
2. Security (input validation, authz, secrets, injection)
3. Performance problems (N+1 queries, unbounded loops, missing indexes)
4. Missing tests
5. Readability (only if significant)

For each: file:line, the problem, why it matters, a concrete fix. End with an overall verdict: approve / approve with changes / request changes.

Copies your prompt and opens the official site in a new tab. You may need to paste it yourself (Ctrl/⌘ + V). Nothing is sent to the AI by us.

Replace [bracketed] parts with your own details before sending. Want it tailored? Build a custom coding assistant prompt.

Before vs after

A typical one-line request compared with this prompt. We only show sample responses where we've written an illustration.

BeforeWhat people usually type

Prompt

code review

2 words · no role, context, format or constraints

AfterThis library prompt

Prompt

Review this diff:
"""
[paste diff or say: review the current git diff]
"""

Report findings in this order, skipping empty categories:
1. Bugs / incorrect logic
2. Security (input validation, authz, secrets, injection)
3. Performance problems (N+1 queries, unbounded loops, missing indexes)
4. Missing tests
5. Readability (only if significant)

For each: file:line, the problem, why it matters, a concrete fix. End with an overall verdict: approve / approve with changes / request changes.

75 words · generated instantly from templates, no AI called

What we added

  • Your details: [brackets] for the facts only you know
  • Step-by-step workflow: numbered steps

Related prompts