AGENTS.md for instructions a coding agent must apply whenever it works in a repository or subtree. Keep the root file short, exact, and current. Link detailed domain rules instead of loading every convention into every task.
Annotated example
Review prompts
- Does every command work from the directory where the file applies?
- Are safety rules specific enough to prevent a real mistake?
- Has detailed material been moved to a linked guide or nested file?
- Can a new maintainer verify every claim against the repository?
