Skip to main content
Use 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

Every line changes agent behavior. Generic advice such as “write clean code” adds noise without telling the agent what is different here. The AGENTS.md project describes the file as a simple open format and requires no fixed headings. Scope and precedence depend on the consuming tool. Read How to write a good AGENTS.md for detailed guidance.

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?
Reviewed July 18, 2026. Written and maintained by the Plannotator documentation team.
Last modified on July 19, 2026