The Handbook Enchiridion
221 short cards, one idea each, ending with what to tell your agent.
Asking for a plan first
For big changes, approve the plan before any code is written.
Asking for tests
Ask for code that checks the feature still works.
Asking the agent to explain
Make the agent explain its change in plain words.
Breaking the agent's loop
When fixes keep undoing each other, stop and change approach.
Checking it yourself
Check the change yourself, not the agent's summary of it.
Definition of done
Say what must be true for the work to count as finished.
Describing the goal
Say what should happen for the user, and why.
Giving context
Tell the agent what it can't see from the code.
Naming your stack
Tell the agent which tools and versions your app uses.
One change at a time
Ask for one change, check it, then ask for the next.
Pointing at the right files
Name the file the change belongs in.
Project rules files
A file of standing instructions the agent reads every time.
Reading a diff
The list of lines the agent added and removed.
Rolling back safely
Go back to the last version that worked, cleanly.
Saying what must not change
Name the parts of your app the agent must leave alone.
Sharing the full error
Paste the whole error, not your summary of it.
Showing examples and screenshots
Show the agent what you mean with a screenshot or sample.
Spotting the confident mistake
When the agent sounds sure and is wrong.
Starting a fresh context
When a chat gets long and confused, start a new one.
Stopping unrelated changes
Stop the agent changing things you didn't ask for.