Unverified Commit 621015d4 authored by Benjamin Woodruff ‮'s avatar Benjamin Woodruff Committed by GitHub

docs: Remove task decomposition and validation boilerplate from AGENTS.md (#99558)

This was added in #89640.

Every agent should already know how to do this stuff, we shouldn't
declare it.

I think this was making my agent create insane unit tests for code that
didn't really need dedicated unit tests.
parent e2931d19
......@@ -438,13 +438,6 @@ Use skills for conditional, deep workflows. Keep baseline iteration/build/test p
- PR descriptions should focus on what changed and why
- Do NOT mark PRs as "ready for review" (`gh pr ready`) - leave PRs in draft mode and let the user decide when to mark them ready
## Task Decomposition and Verification
- **Split work into smaller, individually verifiable tasks.** Before starting, break the overall goal into incremental steps where each step produces a result that can be checked independently.
- **Verify each task before moving on to the next.** After completing a step, confirm it works correctly (e.g., run relevant tests, check types, build, or manually inspect output). Do not proceed to the next task until the current one is verified.
- **Choose the right verification method for each change.** This may include running unit tests, integration tests, type checking, linting, building the project, or inspecting runtime behavior depending on what was changed.
- **When unclear how to verify a change, ask the user.** If there is no obvious test or verification method for a particular change, ask the user how they would like it verified before moving on.
**Pre-validate before committing** to avoid slow lint-staged failures (~2 min each):
```bash
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment