agentreadme

Report Β· marked 25 Aug 2026

TanStack/query

Ready for an agent to work in without hand-holding.

TypeScript Β· 50,204 stars Β· 2,373 files Β· branch main

Fix these first

01
Instruction quality
Worth fixing: it never states a build, test, or run command; has no code blocks.
02
File sizes fit in context
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.
03
README as an entry point
Give the README an Install and a Usage heading with real commands under each. Agents pattern-match on those headings.

The full marking

Every deduction below names the file or setting it came from.

Instructions 20/27 B+

Whether the repo tells an agent how to behave before it starts guessing.

βœ“Agent instruction file 12/12
AGENTS.md is present, which is the format the most tools read.
βœ—Instruction quality 6/12
Real instructions, with gaps.
Worth fixing: it never states a build, test, or run command; has no code blocks.
455 characters, a workable length
uses headings, so an agent can skim it
βœ—README as an entry point 2/3
README exists but never explains how to get the thing running.
Give the README an Install and a Usage heading with real commands under each. Agents pattern-match on those headings.
Setup 14/14 A+

Whether an agent can install the project and get it running without a human.

βœ“Deterministic install 6/6
pnpm-lock.yaml pins the dependency tree.
Found pnpm-lock.yaml
βœ“Discoverable commands 6/6
Commands are declared where an agent will look for them.
package.json scripts (clean, test, test:pr, test:ci, test:eslint, test:sherif…)
scripts/ directory
–Environment config n/a
Not applicable β€” this reads as a library, with no environment to configure.
βœ“Pinned runtime version 2/2
The language runtime version is pinned.
Found .nvmrc
–Reproducible environment n/a
Not applicable β€” a library doesn't need a container to be worked on.
Verification loop 25/25 A+

Whether an agent can check its own work. This is the category that most decides whether agent output is trustworthy.

βœ“Tests exist 8/8
309 test files against 1227 source files.
e.g. packages/angular-query-experimental/src/__tests__/infinite-query-options.test-d.ts, packages/angular-query-experimental/src/__tests__/infinite-query-options.test.ts, packages/angular-query-experimental/src/__tests__/inject-devtools-panel.test.ts
βœ“Test command is discoverable 7/7
An agent can find and run `npm run test`.
βœ“Continuous integration 4/4
4 GitHub Actions workflows define what "passing" means.
βœ“Lint and format rules 3/3
eslint.config.js encodes the house style.
βœ“Static type checking 3/3
Strict type checking is on, which catches a whole class of agent mistakes before they run.
Context economy 15/20 B+

Whether the repo fits in a context window, or fights it.

βœ“No committed build output 6/6
No generated directories committed.
βœ“.gitignore hygiene 3/3
.gitignore covers 40 patterns.
βœ—File sizes fit in context 2/6
4 source files are over 100KB.
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.
packages/react-query/src/__tests__/useQuery.test.tsx β€” 183KB
packages/preact-query/src/__tests__/useQuery.test.tsx β€” 179KB
packages/solid-query/src/__tests__/useQuery.test.tsx β€” 152KB
βœ—Repository weight 4/5
About 113.9MB checked out, which is comfortable.

Here is your AGENTS.md

Drafted from what is actually in this repository: the install command from your lockfile, the commands you already declare, your real directory layout. Anything marked TODO needs a person. Save it at the root as AGENTS.md.

AGENTS.md β€” drafted for TanStack/query
undefined

Open the raw markdown  or  curl -o AGENTS.md agentreadme.com/draft/TanStack/query.md

Show the mark

The badge re-checks daily, so it keeps up as the repository changes. Use mark again to force it now.

agent ready 88 out of 100

[![agent ready](https://agentreadme.com/badge/TanStack/query.svg)](https://agentreadme.com/TanStack/query)

Other TypeScript repositories, marked

freeCodeCamp/freeCodeCamp 69 B openclaw/openclaw 68 B nilbuild/developer-roadmap 45 C vuejs/vue 67 B n8n-io/n8n 87 A anomalyco/opencode 80 A-

All TypeScript repositories

Think this mark is wrong?

Every deduction above names the file it came from, so this can be settled by looking. If a check missed something, that is a rule worth fixing.

Open an issue, already filled in