$ lexprog.com

// notes from an old coder -- php, databases, and the occasional rant

[November 22, 2026] Cursor

Use Plan mode before a wide edit: during a PR review

For refactors that touch handlers and templates, plan, then implement. Ask for a diff-scoped pass and keep push on the human.

────────────────────────────────────────────────────────

Use Plan mode before a wide edit: during a PR review

Tip: Agree the file list first

For refactors that touch handlers and templates, plan, then implement. Ask for a diff-scoped pass and keep push on the human.

Plan: 1) filter categories SQL 2) 404 empty 3) cargo check

Gotcha: Implementing during the plan (during a pr review)

You asked for a plan and got a dirty tree. Check write tools. An agent that can force-push will race your rebase.

plan mode + write enabled

Source: https://docs.cursor.com/agent/overview

────────────────────────────────────────────────────────
<-- back to posts