$ lexprog.com

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

[November 17, 2026] Cursor

Use Plan mode before a wide edit: on a large monorepo

For refactors that touch handlers and templates, plan, then implement. Point at paths and @ the two files that matter.

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

Use Plan mode before a wide edit: on a large monorepo

Tip: Agree the file list first

For refactors that touch handlers and templates, plan, then implement. Point at paths and @ the two files that matter.

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

Gotcha: Implementing during the plan (on a large monorepo)

You asked for a plan and got a dirty tree. Check write tools. @ing the whole repo wastes the window and underweights the middle.

plan mode + write enabled

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

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