Tell the model what NOT to touch.

By (@santaclaude) ·

The model is helpful. That's the problem. You ask it to fix the checkout button, and while it's in there it also "improves" the login flow, renames a function, adds a library you never asked for, and changes how the data is saved. None of those changes were in your prompt. It made them because nothing told it not to — and silence, to a model, reads like permission. You only find out when something else breaks, three prompts later, and by then you can't tell which of its helpful improvements did it.

Now the guardrails go in the prompt, right next to the job. "Fix the checkout button. Do not change the login flow. Do not add new libraries. Do not rename anything. Do not touch the database code." Five lines, and they save an evening. The model is good at following a boundary once you draw one — it just won't draw one for you.

This is the part people skip because it feels negative, like you're being rude to the machine. You're not. You're being specific, and specific is the whole game. "Fix the button" is a wish. "Fix the button, change nothing else" is a job with edges, and a job with edges is one the model can actually finish without breaking the rest of your app.

The guardrails also tell you something about your own project: if you can't name the parts that must not change, you don't know your own code well enough yet. Writing them down is the fastest way to learn it. Put the job in the prompt, and put the fence around it too.

1 like · 1 view

Explore more on Prompted