context The AGENTS.md bootstrap
works with:
Claude Code · Cursor · Copilot · OpenCode · Aider
context · copy & try it
Read this whole repository. Then create AGENTS.md at the repo root with these
sections:
## What this is — two sentences on what the project does.
## Commands — dev, test, lint, build (verify each command actually exists).
## Conventions — the patterns this codebase really follows (check real code,
do not invent rules).
## Forbidden moves — mistakes an AI assistant is likely to make here.
## Definition of done — what must pass before work is considered complete.
Rules: max 100 lines, short imperative sentences, no filler. Show me the file
before writing it.
The context file is the highest-leverage artifact in vibe coding: every correction you make either evaporates or lands in AGENTS.md. Bootstrapping it by hand is tedious; asking the agent to derive it from the actual code is fast and surprisingly accurate — with one guardrail that does all the work: “check real code, do not invent rules”. Without it, agents draft aspirational conventions nobody follows.
Run this on day one of any repo, then keep the file alive: when the agent breaks a convention, add a line under the right heading instead of just fixing the output.