---
name: "review-a-pr-cursor"
description: "Use when you need to Review a pull request before I open it. Open the diff in Cursor and ask it to review"
---

# Open the diff in Cursor and ask it to review

Job: [Review a pull request before I open it](https://aiagents.org/canai/review-a-pr)

## Need

- ai agent: [Cursor](https://aiagents.org/agents/cursor)

## Steps

1. Open the branch in Cursor.
2. Ask it to review the diff against main.
3. Skim the risks it flags. Fix the real ones, ignore style nits.

## Prompt

```
Review this diff like a careful teammate. List bugs, missing tests, and anything that could break production. Skip style nits unless they hide a real bug. For each issue, say why it matters and what to change.
```

## Credit

Method author @sam
