StoicBuilder

HandbookIV the PraetoriumSaying what must not change

IVthe Praetorium, Direct the agent

Saying what must not change

1 min readUpdated 28 November

In plain words

Constraints are the fences in your prompt: the files, features, data and packages the agent must leave exactly as they are while it works.

Where you see it

You ask Cursor to tweak the pricing page, and the diff also touches your login code and package.json. Nothing in your prompt said those were off limits, so the agent treated them as fair game.

Your promptagent
Change the Pro price shown on Harbor's pricing page to $12. Do not change:- the database tables or the Stripe setup- anything outside src/components/pricing- package versions, and add no new packages
Three lines that keep a small job small.

What goes wrong

  1. Assuming some things are obviously off limits

    To you, the login flow is sacred. To the agent, it's one more file that could be tidier. If it matters, write it down.

  2. A fence too vague to follow

    "Don't break anything" gives the agent nothing to check against. Name the file, the table or the screen.

    and don't break anything
  3. Forgetting the database

    Agents add columns, rename fields and write migrations to make a feature fit. On live data that can't be undone with one click, so say "no schema changes" when you mean it.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Do not change the database schema, the login flow, or any package versions. If the task can't be done without touching one of these, stop and ask me first.

Quick check

Sign in to earn +10 XP for it

Which line works best as a constraint in your prompt?

Got a prompt that touches saying what must not change?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.