tanstack-integration-best-practices
Audited by Runlayer on Feb 21, 2026
Malicious tool definition detected
Tool: SKILL.md Description: --- name: tanstack-integration-best-practices description: Best practices for integrating TanStack Query with TanStack Router and TanStack Start.
Malicious tool definition detected
Tool: rules/cache-single-source.md Description: # cache-single-source: Let TanStack Query Manage Caching ## Priority: MEDIUM ## Explanation When using TanStack Router with TanStack Query, let Query be the single source of truth for caching.
Malicious tool definition detected
Tool: rules/flow-loader-query-pattern.md Description: # flow-loader-query-pattern: Use Loaders with ensureQueryData ## Priority: HIGH ## Explanation The recommended pattern combines TanStack Router's loaders with TanStack Query's `ensureQueryData`.
Malicious tool definition detected
Tool: rules/setup-query-client-context.md Description: # setup-query-client-context: Pass QueryClient Through Router Context ## Priority: CRITICAL ## Explanation Pass the QueryClient instance through TanStack Router's context system rather than using a global.
Malicious tool definition detected
Tool: rules/ssr-dehydrate-hydrate.md Description: # ssr-dehydrate-hydrate: Configure SSR Query Integration ## Priority: CRITICAL ## Explanation Use `@tanstack/react-router-ssr-query` to automatically handle SSR dehydration/hydration between TanStack Router and TanStack Query.