tanstack-query

Installation
SKILL.md

TanStack Query (React Query)

Powerful asynchronous state management for React - fetch, cache, synchronize and update server state.

Instructions

  1. Separate server state - Use React Query for server data, not local UI state
  2. Configure stale time - Set appropriate stale times based on data freshness needs
  3. Use query keys - Structure keys hierarchically for cache management
  4. Handle loading/error - Every query needs these states handled
  5. Invalidate strategically - Invalidate related queries after mutations

Setup

npm install @tanstack/react-query
Related skills

More from housegarofalo/claude-code-base

Installs
5
GitHub Stars
2
First Seen
Mar 15, 2026