tanstack-query-best-practices
tanstack query best practices
What it does
- Creating new data fetching logic
- Setting up query configurations
- Implementing mutations and optimistic updates
- Configuring caching strategies
- Integrating with SSR/SSG
- Refactoring existing data fetching code
- qk-array-structure — Always use arrays for query keys
Requirements & configuration
- qk-include-dependencies — Include all variables the query depends on
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
tanstack query best practices
Source
Repository: https://github.com/deckardger/tanstack-agent-skills
tanstack-query-best-practices FAQ
What does the tanstack-query-best-practices skill do?
TanStack Query (React Query) best practices for data fetching, caching, mutations, and server state management. Activate when building data-driven React applications with server state. Creating new data fetching logic Setting up query configurations
What does tanstack-query-best-practices require?
qk-include-dependencies — Include all variables the query depends on
How do I install tanstack-query-best-practices?
Run: npx -y skills add https://github.com/deckardger/tanstack-agent-skills --skill tanstack-query-best-practices --agent claude-code — the source lives at github.com/deckardger/tanstack-agent-skills.
Maintain tanstack-query-best-practices?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/deckardger-tanstack-agent-skills-tanstack-query-best-practices?ref=badge) npx agentictools info skills/deckardger-tanstack-agent-skills-tanstack-query-best-practices The second line is the CLI lookup for this page — handy in READMEs and docs.