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
- #255 of 401
- #66 of 82 TypeScript repos
- Checks passed
- 6 of 17
- Full list below
- Best set up for
- Claude Code
- Score 70.3
- 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
- 3Manageable sizeIf possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.+5.3 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, .aider.conf.yml or .agents/skills
- Repos that have one
- 62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 6 passed
How TanStack/query compares
- vs leaderboard average
- 3.2 pts below
- Average 66.8
- vs TypeScript average
- 7.6 pts below
- Average 71.2
- Stars among TypeScript repos
- #35 of 82
Missing here, and how many repos have it
- Linter / formatter config · passed by 65% of leaderboard repos, 57% of TypeScript repos
- Pre-commit / git hooks · passed by 29% of leaderboard repos, 48% of TypeScript repos
- Skills (.agents/skills) · passed by 17% of leaderboard repos, 30% 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.
- TypeScript · 56.6k ★
- TypeScript · 15.1k ★
- makeplane/plane63.3TypeScript · 62k ★
- nocodb/nocodb62.9TypeScript · 65.4k ★
- TypeScript · 17.3k ★
- shadcn-ui/ui61.9TypeScript · 127.3k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- vercel/swr69.2TypeScript · cache, data, fetch, hooks, stale while revalidate
- sindresorhus/ky66.8TypeScript · fetch, rest
- fastapi/fastapi64.4Python · async, rest
- strapi/strapi82.3TypeScript · GraphQL, rest
- PHP · GraphQL, rest
- TypeScript · GraphQL, 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.