Test command in the instructions
The instruction file tells the agent which command runs the tests, so it can check its own work.
The instruction file at the root of the repo names the command that runs the tests, such as pnpm test, pytest or cargo test, often with how to run a single file. With it, an agent can run the tests after a change and see what it broke, rather than guess or skip the step. It is a line or a section of a file the team already has, not a file of its own. The site reads the text of the root instruction files and counts a repo when one of them names a test command, in a sentence or in a code block.
- Pro scene today: 56%, 124 of 221 pro repos
- In three months: –
- Kept: –
Pro 56% · Ladder 24% · 2.4×
Insight: 32 of the 38 root instruction files that name no test command sit in repos that run tests in CI.
In the pro repos
The 6 most starred of the 124 pro repos that have it today.
- firecrawl/firecrawl/AGENTS.md
- n8n-io/n8n/AGENTS.md
- huggingface/transformers/AGENTS.md
- langchain-ai/langchain/AGENTS.md
- excalidraw/excalidraw/AGENTS.md
- supabase/supabase/AGENTS.md
By month
| Month | Pro scene |
|---|---|
| June 2025 | 7% |
| July 2025 | 13% |
| August 2025 | 17% |
| September 2025 | 22% |
| October 2025 | 24% |
| November 2025 | 25% |
| December 2025 | 26% |
| January 2026 | 28% |
| February 2026 | 33% |
| March 2026 | 38% |
| April 2026 | 41% |
| May 2026 | 44% |
| June 2026 | 47% |
| July 2026 | 49% |
| August 2026 | 51% |
| September 2026 | 52% |
| October 2026 | 52% |
| November 2026 | 54% |
| today | 56% |
Inside the practice
What the instruction file names
Of the repos with an instruction file at the root. Read from its text.
- A command to run the tests: 77%, 124 of 162
- A lint or format command: 64%, 104 of 162
- A type check: 43%, 69 of 162
- All three: 36%, 58 of 162
Evidence
- Observed. Published study, November 2025: In 2,303 agent context files from 1,925 repos, 75.9% give test procedures. Source: Agent READMEs, arXiv 2511.12884
How it is detected
Looks for a root instruction file that names a command to run the tests. Read in instruction files. How the method counts
Related practices
More in Test, the most adopted first.