TanStack/query
GitHub🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
- async
- cache
- data
- fetch
- graphql
- hooks
- query
- react
- rest
- solid
- stale
- stale-while-revalidate
- svelte
- typescript
- update
- vue
- Stars:
- 50.5k
- Language:
- TypeScript
- Default branch:
- main
- Last scored:
At a glance
- Rank
- #222 of 401
- #60 of 82 TypeScript repos
- Checks passed
- 6 of 16
- Full list below
- Best set up for
- GPT-5 Codex
- Score 74.0
- Needs most work for
- Aider
- Biggest fix: .aider.conf.yml (+14.1 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Linter / formatter configConfigure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.+7.9 pts
- 2Pre-commit / git hooksSet up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.+5.3 pts
- 3Reproducible dev envAdd a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.+4.7 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does TanStack/query have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
AGENTS.md(new tab) · 455 characters- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh or .aider.conf.yml
- Repos that have one
- 61 of 82 TypeScript repos · 216 of 401 repos on the leaderboard · See examples →
All 16 checks · 6 passed
How TanStack/query compares
- vs leaderboard average
- 0.7 pts below
- Average 69.0
- vs TypeScript average
- 4.6 pts below
- Average 72.9
- Stars among TypeScript repos
- #35 of 82
Missing here, and how many repos have it
- Linter / formatter config · passed by 66% of leaderboard repos, 59% of TypeScript repos
- Pre-commit / git hooks · passed by 29% of leaderboard repos, 48% of TypeScript repos
One fix for the most agents: Linter / formatter config would raise the score for all 9 agents, by up to 14.1 points.
Similar repos
Same language and host as this repo, closest in overall score.
- prisma/orm69.6TypeScript · 47.7k ★
- chenglou/pretext69.5TypeScript · 50.9k ★
- TypeScript · 113.4k ★
- medusajs/medusa68.9TypeScript · 36.9k ★
- TanStack/ai68.3TypeScript · 3.2k ★
- TypeScript · 9.6k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- vercel/swr72.3TypeScript · cache, data, fetch, hooks, stale while revalidate
- sindresorhus/ky69.7TypeScript · fetch, rest
- fastapi/fastapi67.2Python · async, rest
- strapi/strapi85.9TypeScript · GraphQL, rest
- PHP · GraphQL, rest
- vercel/ai66.8TypeScript · svelte, Vue
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/TanStack/query)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.