Skip to the workspace
Pebellslearn by building
Prompting and Context  ›  Lesson

One Change per Prompt

Prompting Best Practices 12 minAsk for one change at a time, starting with a plan for larger work, so every change is small enough to review, blame and undo.

vibe coding / One Change per Prompt

Explore each scene at your own pace.

01 · The rule

The rule

One Change per Prompt

You ask for three things at once: "add settle up, redesign the balances page, and rename the amount column". Twenty minutes later the app starts, but the balances are wrong. Was it the new feature, the redesign or the rename? You cannot tell, and neither can the assistant. Bundled requests make bundled bugs.

The rule

Ask for one change, review it, then ask for the next.

One change at a time gives you three things:

  • A readable review. A small change fits in your head. A giant one gets skimmed, and skimming is where bugs hide.
  • A clear cause. If something breaks, the last change broke it.
  • A clean undo. You can throw away one bad step without losing three good ones.

For anything bigger than a single file, add a step before the code: ask for a plan. "Before writing code, list the files you would change and why." A plan is short, cheap to read, and easy to correct. Fixing a bad plan costs one sentence; fixing bad code costs an evening.

When a step comes back wrong, give feedback the way a good bug report does: what you did, what you saw, what you expected. "It doesn't work" gives the assistant nothing to go on.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.