docs: add commit-often and subagent model selection rules to AGENTS.md

This commit is contained in:
William Valentin
2026-02-06 23:42:06 -08:00
parent 73fc5d173d
commit e92ce69067
+2
View File
@@ -3,6 +3,8 @@
## General Rules ## General Rules
- **Parallelise with subagents:** For every task, use multiple subagents with the appropriate model to work more efficiently. Dispatch independent subtasks in parallel rather than executing them sequentially. - **Parallelise with subagents:** For every task, use multiple subagents with the appropriate model to work more efficiently. Dispatch independent subtasks in parallel rather than executing them sequentially.
- **Subagent model selection (MANDATORY):** You MUST use the right model tier for each subagent — `claude-haiku-4.5` for fast/simple/mechanical tasks, `claude-sonnet-4.5` for default/standard implementation work, and `claude-opus-4.6` for complex reasoning or architecture decisions. Never use the same model for all subagents.
- **Commit often:** `git commit` frequently — after each meaningful unit of work, not just at the end of a task.
## Build, Lint, and Test Commands ## Build, Lint, and Test Commands