Route and scope
Tell the assistant which work belongs in Brownfield, Greenfield, or Config/Infrastructure flow.
AGENTS.md preview
Use this preview to understand what repository instructions should cover. The implementation-ready AGENTS.md starter is included in the AIDLC Team Starter Kit.
What to include
A useful AGENTS.md file should make the assistant respect route selection, scope, verification, and human review before a candidate change is accepted.
Tell the assistant which work belongs in Brownfield, Greenfield, or Config/Infrastructure flow.
Name what the assistant may do, what requires approval, and what must stay out of context.
Require checks, review notes, open decisions, and human acceptance before release.
The full repository instruction starter is part of the AIDLC Team Starter Kit.
Avoid smells
Keep durable rules in AGENTS.md and task-specific context in the prompt or issue. Do not turn the file into a second wiki.
Make one rule source authoritative for tests, style, security, and release gates.
Say exactly when the agent must stop and ask before changing dependencies, infrastructure, secrets, or production behavior.
FAQ
AGENTS.md is a repository instruction file for AI coding agents. It gives persistent rules for how the agent should work in the project.
No. CLAUDE.md is specific to Claude Code. AGENTS.md is commonly used as a model-agnostic instruction file for coding agents such as Codex and other assistants.
Put it at the repository root unless your tool expects a different location. Keep team-wide rules in the root file and avoid duplicating conflicting instructions deeper in the repo.
Related templates
Support the resource
Small donations help maintain free workflows, tutorials, references, and public learning material for product and engineering teams.