TanStack/query

GitHub
https://github.com/TanStack/query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

Stars:
50.5k
Language:
TypeScript
Default branch:
main
Last scored:
Overall

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

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Linter / formatter config
    Configure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.
    +7.9 pts
  2. 2
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts
  3. 3
    Reproducible dev env
    Add 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 →

GPT-5 Codex
#201 of 401
74.0
  • AGENTS.md / CLAUDE.md
  • README
  • Test suite
Devin
#221 of 401
72.9
  • Reproducible dev env
  • Dependency manifest
  • Test suite
Kimi CLI
#199 of 401
72.5
  • AGENTS.md / CLAUDE.md
  • Test suite
  • Dependency manifest
Claude Code
#204 of 401
72.2
  • AGENTS.md / CLAUDE.md
  • Test suite
  • Reproducible dev env
Pi
#230 of 401
69.6
  • AGENTS.md / CLAUDE.md
  • Test suite
  • Linter / formatter config
Gemini CLI
#212 of 401
65.5
  • GEMINI.md
  • README
  • Test suite
Cursor
#212 of 401
65.4
  • Cursor rules (.cursor/rules)
  • README
  • Type configuration
OpenHands
#231 of 401
65.4
  • CI configuration
  • Dependency manifest
  • Reproducible dev env
Aider
#284 of 401
56.9
  • .aider.conf.yml
  • Linter / formatter config
  • Test suite

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

File exists (455 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
4 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
package.json has 23 scripts
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
No linter/formatter config found
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (5,447 characters)
Manageable size· 50% pass
3559 files — large
Test suite· 70% pass
Test files detected (packages/svelte-query/tests/containers.svelte.test.ts)
Type configuration· 100% pass
Type config present

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.

All TypeScript repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/TanStack/query
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/TanStack/query.svg)](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.