How to instruct an agent

Context windows, clear requests, and habits that get you better results.

The context window

An agent can only "hold in mind" a limited amount at once — its context window: your conversation, the files it has read, the results of commands. In a very long session, early details can get squeezed out. That's why Bumper Lanes keeps important things in files your agent re-reads: PROJECT.md (your idea), AGENTS.md (the rules), skills (how to do jobs) and CHANGELOG.md (what's been done).

Asking well

  • Say the goal, not just the task. "Customers need to book a pickup time" beats "add a dropdown".
  • One thing at a time. Small changes are easier to check and undo.
  • Say what "done" looks like. "When I submit the form on my phone, I see a thank-you message."
  • Point at examples. "Like the card on the status page" or "like airbnb.com's search box".
  • Ask it to explain. "Before you start, tell me your plan" — or afterwards, explain-that.

You're in charge

The rules in AGENTS.md are safe defaults, not a cage. If you want to skip one — say, publish without a pull request this once — just say so. Your agent will tell you in one sentence what the rule protects against, ask once whether to go ahead, then do it and note it in your changelog.

Want a rule gone for good? Say "stop asking me before deleting files" (or whatever it is), and your agent will offer to change AGENTS.md — as a pull request you can review, like any other change. Your safety nets keep running either way: backups, preview links and undo.

Good habits

  • Start a new session for a new piece of work; long sessions get muddled.
  • End sessions with capture-learning, so lessons become rules and skills.
  • If it goes in circles, stop and say "let's step back — what's the actual problem?"
  • If it's stuck on a setting outside your project, it will ask you to check — that's expected.