cursor-docs/latest/content · Jun 26, 20:20 UTC
pages/agent/agent-review.txt
TXT1.3 KB33 lines
route: /docs/agent/agent-review title: Agent Review description: Run a dedicated code review on your local changes from inside Cursor. Choose Quick or Deep depth to match the size and risk of your changes. Agent Review Agent Review runs a dedicated code review on your local changes from inside Cursor. Setup To configure Agent Review: Open Cursor Settings Go to Agents Find Agent Review and configure your preferences Agent Review also reads repository rules from BUGBOT.md files. To set up these rule files, see BugBot docs. You can set it to run automatically after every agent task, or leave it manual and trigger it yourself. Running a review There are three ways to start a review: Automatic: When enabled in settings, Agent Review runs after every commit is made. Slash command: Type /agent-review in the agent window input to trigger a review on demand. Source Control tab: Open the Source Control tab and run Agent Review to compare all local changes against your main branch. This catches issues across your full set of changes, not only the latest edit. Review depth Agent Review supports two depth levels. Choose based on the thoroughness of review you need. Depth Speed Cost Best for Quick Fast Low Small diffs, formatting changes, or a fast sanity check Deep Slow High Complex logic, security-sensitive code, or large refactors