Documentation Navigation
Configure

Rules

Guide every agent with AGENTS.md.

#Location

  • Project root — AGENTS.md loads automatically on session start.
  • Subfolders — nested AGENTS.md files scope rules to that tree.
  • Always in context — agents re-read rules before planning, not just once.

#Format

AGENTS.md
# Project rules

## Stack
React + TypeScript. Tailwind for styling.

## Conventions
- Max 300 lines per file.
- Use existing UI primitives.
  • Headers are sections — ## blocks become retrievable rule groups.
  • Short beats complete — five enforced rules beat fifty ignored ones.
  • Bootstrap fast — run /init to generate a starter file from your repo.

#See also