AGENTS.md.
For most teams, the best setup is a single root-level AGENTS.md that defines your default operating rules for planning, coding, reviews, and communication.
Instructions template
Use this compact template and keep rules stable over time:Instructions vs. skills
- Instructions (
AGENTS.md) define persistent policy and defaults. - Skills (
.agents/skills/*/SKILL.md) define reusable task-shaped playbooks you invoke with$<skill-name>.
Common mistakes to avoid
- Putting task-by-task checklists in
AGENTS.md(that belongs in skills). - Duplicating the same rule across multiple files.
- Writing vague guidance without a default action.