An AGENTS.md file should contain actionable guidance organized into logical sections. Common sections include:
- Dev environment tips: Commands for navigating the workspace, installing dependencies in a monorepo, or scaffolding new packages.
- Testing instructions: How to locate CI plans, run specific test suites (e.g., via
turbo or vitest), and ensure linting/type checks pass. - PR instructions: Requirements for pull request titles, commit hygiene, and mandatory pre-commit checks.
# Sample AGENTS.md file
## Dev environment tips
- Use `pnpm dlx turbo run where <project_name>` to jump to a package...
## Testing instructions
- Run `pnpm turbo run test --filter <project_name>` to run every check...
## PR instructions
- Title format: [<project_name>] <Title>