FOR EVERYONEPROMPT
TESTED 2.1.329. Last tested on 20 November 2026 with Claude Code 2.1.329.

Tell Claude what must stay the same

You asked for a change on one page, and another page changed too. A few more sentences in your request fence the change in.

[HOW IT WAS CHECKED]

Tested on 20 Nov 2026 with Claude Code 2.1.329

[WHAT THE LABEL MEANS]

An editor ran this tip by hand with Claude Code 2.1.329 and it worked as described.

Parts of your app share things. The menu and the invoice may read item names from one list, so a change to that list shows up on both. Claude sees the shared list as the tidy place to make the change. Only you know that the invoice has to stay as it is.

So when you ask for a change, add three things:

  • What must stay the same, in your own words: "the invoice must stay exactly as it is".
  • What to do if that's not possible: "stop and tell me first".
  • A request for the list of files it changed, so you can see how far the change went.

We tried it on a small bakery app with made-up items. Asked only to rename "Coffee" to "Filter coffee" on the menu, Claude changed the shared list both times. The invoice then said "Filter coffee" too, and Claude's reply didn't mention the invoice. With the three additions, it changed only the menu's own file both times, and the invoice printed exactly as before. The same held on a second request, twice more.

Suggested by us
Add this to the end of a request
Only the menu page should change. The invoice must stay exactly as it is, so don't change anything the invoice uses. If you can't do it without that, stop and tell me first. When you're done, list every file you changed.

Why it works

Claude can read your files, but it can't know which parts of your app you're happy with, or which ones your customers or your accountant rely on. Say it in the request and Claude plans around it, and the list of changed files lets you check that it did.

Watch out

This is an instruction, and Claude follows instructions nearly every time, not every time. After the change, open the thing you fenced (here, the invoice) and look at it yourself. In our test Claude always found a way to stay inside the fence, so we never saw it stop and ask. We also tested on a small app. In a big one, Claude may not see every place a file is used. For a file Claude must never edit, a deny rule in your settings is applied by Claude Code itself, whatever Claude decides (see the permissions page; we didn't test that here). You don't need a fence on every request. On a simpler change, to how prices look on the menu, Claude left the invoice as it was without being asked, both times, though it added to a file the invoice also uses.

Done with this one? Read another tip, or check your app before real people use it.

[ROA/ FRIDAY DIGEST]

One email on Fridays. One thing to try with your AI builder, in plain words.

Unsubscribe anytime.