Skip to main content
skill CX Codex

tanstack — Claude Code skill: features and installation

Get focused guidance for React changes involving TanStack Query, Router, or Form. Useful when you need the relevant implementation notes without loading every reference.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pedronauck/skills --skill tanstack -a claude-code
Open on GitHub

What tanstack does

The skill directs the agent to reference files based on the change: query keys and caching, route data loading, or form validation. It brings in neighboring material when a change crosses those boundaries. Its scope is TanStack Query, Router, and Form; TanStack Start, DB, and unrelated state or routing libraries are outside it.

The references cover Query mutations, SSR, and errors, as well as Router typing, loaders, and navigation. Form guidance includes hooks, Zod validation, and field components. Query keys need every dependency and must remain serializable, so a non-serializable value rules out that key design. The guidance also calls for rolling back optimistic cache writes and using throw redirect(...) in Router.

What it helps with

  • Find the relevant Query guidance for a code change
  • Set up query keys and cache behavior
  • Load data from a Router route
  • Add Zod validation to a form

Example prompts for the agent

  • Review the Query keys and caching in this change.
  • Add data loading for this route with TanStack Router.
  • Set up Zod validation for these form fields.

How to install tanstack

1Skills CLI (Vercel)

npx skills add pedronauck/skills --skill tanstack -a claude-code

2Manually: put the files in place

~/.claude/skills/tanstack/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/tanstack/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about tanstack

How do I install tanstack in Claude Code?

Run npx skills add pedronauck/skills --skill tanstack -a claude-code. The skill file is at ~/.claude/skills/tanstack/SKILL.md.

What does tanstack do?

It guides React work with TanStack Query, Router, and Form, pointing the agent to reference material for the behavior being changed.

Which TanStack libraries does the skill cover?

It covers TanStack Query, Router, and Form. TanStack Start, DB, and unrelated state or routing libraries are out of scope.

Similar skills

Everything for Frontend and UI →

From the same set18

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor