Instructing the agents
One rulebook, a plan before code, and guardrails for autonomous work
An agent can only follow the rules it can find, and it follows them literally. These pages cover where the rules live, how they are phrased so they end arguments rather than start them, and the workflow that makes an agent plan behaviour before it writes code.
-
AGENTS.md
One rulebook that every agent reads, with the answers already written in
-
Exemplars over essays
Point agents at the best code you have, and tell them to copy its shape
-
Guardrails for autonomous agents
The rules that stop an agent fixing the wrong thing
-
Plain words
Simplified Technical English for developers, simple language for users
-
Libraries over hand-rolled code
Move home-made validators and helpers onto Valibot and the Deno standard library
-
Behaviour contracts
Plan the states, failures, retries and races before any code exists