By DeckardGer
Apply best practices for TanStack Start full-stack development, including TanStack Query and Router integration, SSR hydration, caching coordination, type-safe routing, and server functions in React apps.
Best practices for integrating TanStack Query with TanStack Router and TanStack Start. Patterns for full-stack data flow, SSR, and caching coordination.
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.
TanStack Router best practices for type-safe routing, data loading, search params, and navigation. Activate when building React applications with complex routing needs.
TanStack Start best practices for full-stack React applications. Server functions, middleware, SSR, authentication, and deployment patterns. Activate when building full-stack apps with TanStack Start.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Comprehensive best practices for building applications with the TanStack ecosystem. These skills provide AI coding agents with structured guidelines for TanStack Query, TanStack Router, and TanStack Start.
Skills follow the Agent Skills format.
Best practices for data fetching, caching, mutations, and server state management with TanStack Query (React Query).
Use when:
useQuery or useMutation32+ rules across 8 categories:
Best practices for type-safe routing, data loading, search params, and navigation with TanStack Router.
Use when:
30+ rules across 8 categories:
Best practices for full-stack React applications with TanStack Start, including server functions, middleware, SSR, and authentication.
Use when:
29+ rules across 8 categories:
Best practices for integrating TanStack Query with TanStack Router and TanStack Start together.
Use when:
13 rules across 4 categories:
npx skills add DeckardGer/tanstack-agent-skills
Or manually add to your project's .cursor/ or Claude Code configuration.
Skills are automatically available once installed. The agent will use them when relevant tasks are detected.
Each skill follows the Agent Skills standard:
skills/
├── tanstack-query/
│ ├── SKILL.md # Main skill instructions
│ └── rules/ # Individual rule files
│ ├── qk-array-structure.md
│ ├── cache-stale-time.md
│ └── ...
├── tanstack-router/
│ ├── SKILL.md
│ └── rules/
├── tanstack-start/
│ ├── SKILL.md
│ └── rules/
└── tanstack-integration/
├── SKILL.md
└── rules/
Each rule file contains:
Contributions welcome! Please ensure:
Works with any AI coding agent that supports AGENTS.md, including Claude Code, Codex, Opencode, and others.
MIT
npx claudepluginhub deckardger/tanstack-agent-skillsType-safe routing with search params and data loading
TanStack Query v5 (React Query) server state management. Use for data fetching, caching, mutations, or encountering v4 migration, stale data, invalidation errors.
Idiomatic usage patterns for React, TanStack Table, and better-all.
Build type-safe, file-based routing for React with TanStack Router. Covers first-class search param APIs with Zod/Valibot/ArkType validation, built-in data loading with SWR caching, automatic code splitting, 100% inferred TypeScript types, authentication with route protection, SSR streaming and dehydration, route masking, URL rewrites, view transitions, document head management, scroll restoration, and bundler configuration for Vite, Webpack, Rspack, and esbuild.
Ultra-compressed communication mode. Cuts 65% of output tokens (measured) while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation