Research: tanstack-query-best-practices

Cached research evidence for tanstack-query-best-practices (not authority).

Back to catalog page

TanStack Query best practices for optimized data fetching, caching, mutations, and server state management in React apps. Provides 32+ rules across query keys, caching, mutations, error handling, prefetching, infinite queries, SSR, and performance. Complements TanStack Router/Start skills and local React/Next best practices.

Target agents: antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode.

trust_tier=curated-trust-gated; status=install-now-after-trust-gate; provenance=verified-install-command; source=community (DeckardGer); repo has ~184 stars, MIT license, follows agentskills.io format with structured rules (priority, examples, context); low risk as read-only guidance; no execution surface. Evidence from GitHub repo page and registry listings.

Install: npx skills add DeckardGer/tanstack-agent-skills --skill tanstack-query-best-practices --skill tanstack-router-best-practices --skill tanstack-start-best-practices -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode; status=install-now-after-trust-gate; selector=named

DeckardGer/tanstack-agent-skills (community contributor)

Other TanStack ecosystem skills or general react-query guidance; vercel-react-best-practices for overlapping React concerns.

> Evidence synthesized from public web sources (GitHub repos, official docs, skill registries); confidence reflects source reputation and public signals only. Not an endorsement.