Skip to main content
Ganesh Joshi
Back to AI Rules

Small, focused changes

Updated 2026-02-13

Make minimal, targeted edits; avoid refactoring or touching unrelated code unless the user asks. Use in any AI-assisted editor.

Use in Cursor, Windsurf, Codeium, or any AI-assisted editor.

Rule
# Small, focused changes

Make minimal, targeted edits. Do **not** refactor or touch unrelated code unless the user explicitly asks.

- **Scope:** Change only what is needed to fulfill the request. If the user asks to fix a bug in one function, edit that function (and any direct callers if necessary), not the whole file.
- **Avoid:** Broad "cleanup", renaming unrelated symbols, reformatting large blocks, or adding features the user did not request.
- **When in doubt:** Prefer a small, reversible change over a large refactor. The user can ask for more.
Small, focused changes | AI Rules | Ganesh Joshi