๐ŸŽฏ

tanstack-query

๐ŸŽฏSkill

from jezweb/claude-skills

VibeIndex|
What it does
|

A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.

Overview

A Claude Code skill providing comprehensive guidance on TanStack Query (React Query) v5, covering server state management in React applications. It documents new v5 features including useMutationState for cross-component mutation tracking, simplified optimistic updates, throwOnError for error boundaries, network mode for offline/PWA support, and infiniteQueryOptions.

Key Features

  • useMutationState - Access mutation state from any component without prop drilling, with filtering by status and mutation key for targeted tracking
  • Simplified Optimistic Updates - New pattern using variables from pending mutations to show optimistic UI without manual cache manipulation or rollback logic
  • v4 to v5 Migration Guide - Covers breaking changes including object syntax requirement, gcTime replacing cacheTime, isPending replacing isLoading, and throwOnError replacing useErrorBoundary
  • Error Boundary Integration - QueryErrorResetBoundary with throwOnError for declarative error handling in React component trees
  • Offline/PWA Support - Network mode configuration for handling offline scenarios and progressive web applications

Who is this for?

This skill is designed for React developers using TanStack Query who need up-to-date guidance on v5 patterns, migration from v4, or debugging SSR/hydration issues with streaming server components. It is particularly useful for teams adopting TanStack Query v5 for the first time or migrating existing v4 implementations who want to leverage the new simplified optimistic update patterns and cross-component mutation tracking.

๐Ÿ“ฆ

Same repository

jezweb/claude-skills(161 items)

tanstack-query

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add jezweb/claude-skills --skill tanstack-query
skills.sh Installโš  Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add jezweb/claude-skills --skill tanstack-query
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/tanstack-query/SKILL.md

SKILL.md

2,524Installs
253
-
Last UpdatedJan 26, 2026

More from this repository10

๐ŸŽฏ
tailwind-v4-shadcn๐ŸŽฏSkill

A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.

๐ŸŽฏ
fastapi๐ŸŽฏSkill

Provides FastAPI development patterns including async endpoints, dependency injection, Pydantic models, authentication, and API documentation best practices

๐ŸŽฏ
zustand-state-management๐ŸŽฏSkill

Provides Zustand state management patterns for React including store creation, selectors, middleware, and best practices for scalable client-side state

๐ŸŽฏ
react-hook-form-zod๐ŸŽฏSkill

Provides React Hook Form integration patterns with Zod schema validation for type-safe, performant form handling

๐ŸŽฏ
tailwind-patterns๐ŸŽฏSkill

A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.

๐ŸŽฏ
nextjs๐ŸŽฏSkill

A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.

๐ŸŽฏ
shadcn-ui๐ŸŽฏSkill

A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.

๐ŸŽฏ
color-palette๐ŸŽฏSkill

Skill for generating complete, accessible color palettes from a single brand hex, creating 11-shade scales, semantic tokens, dark mode variants, and WCAG contrast checking for Tailwind v4

๐ŸŽฏ
tailwind-theme-builder๐ŸŽฏSkill

A collection of production-ready Claude Code skills covering Tailwind CSS v4, shadcn/ui integration, and modern web development patterns.

๐ŸŽฏ
motion๐ŸŽฏSkill

Skill for building React animations with Motion (formerly Framer Motion), covering gestures, scroll effects, spring physics, layout animations, and SVG with bundle sizes from 2.3KB to 34KB