Instructions
Give the agent a map, not an encyclopaedia.
Root guidance should explain the project, stack, first-run commands, hard constraints, and where deeper docs live. Progressive disclosure keeps task-relevant context close without making the root file unmanageable.
Environment
A healthy runtime is a prerequisite, not a side quest.
Versions, dependencies, services, build steps, and test commands should be reproducible. Initialisation earns the agent’s first implementation turn.
State
Persist decisions outside the context window.
Progress logs, feature state, git history, and handoff notes let a new session continue from a known point instead of re-discovering the project.
Feedback
Replace self-confidence with executable evidence.
Tests, lint, type checks, smoke runs, end-to-end flows, and runtime observations close the loop between “I think it works” and “we can demonstrate it works”.