Tanstack Query Best Practices
DeckardGer/tanstack-agent-skills
TanStack Query (React Query) best practices for data fetching, caching, mutations, and server state management.
Comprehensive guide for XState v5 ecosystem including state machines, actors, @xstate/store, and TanStack Query integration.
$ npx skills add pedronauck/skills --skill xstate -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pedronauck/skills xstate --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pedronauck/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/curated/xstate .claude/skills/xstate && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "xstate" agent skill from https://github.com/pedronauck/skills/tree/main/skills/curated/xstate into .claude/skills/xstate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xstate", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pedronauck/skills/tree/main/skills/curated/xstateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pedronauck/skills --skill xstate -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pedronauck/skills xstate --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pedronauck/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/curated/xstate .agents/skills/xstate && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xstate" agent skill from https://github.com/pedronauck/skills/tree/main/skills/curated/xstate into .agents/skills/xstate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xstate", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pedronauck/skills --skill xstate -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pedronauck/skills xstate --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pedronauck/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/curated/xstate .cursor/skills/xstate && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "xstate" agent skill from https://github.com/pedronauck/skills/tree/main/skills/curated/xstate into .cursor/skills/xstate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xstate", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pedronauck/skills.git --path skills/curated/xstate--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pedronauck/skills --skill xstate -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pedronauck/skills xstate --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pedronauck/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/curated/xstate .gemini/skills/xstate && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "xstate" agent skill from https://github.com/pedronauck/skills/tree/main/skills/curated/xstate into .gemini/skills/xstate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xstate", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pedronauck/skills xstateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pedronauck/skills --skill xstate -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pedronauck/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/curated/xstate .github/skills/xstate && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "xstate" agent skill from https://github.com/pedronauck/skills/tree/main/skills/curated/xstate into .github/skills/xstate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xstate", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pedronauck/skills --skill xstate -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pedronauck/skills xstate --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pedronauck/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/curated/xstate .opencode/skills/xstate && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "xstate" agent skill from https://github.com/pedronauck/skills/tree/main/skills/curated/xstate into .opencode/skills/xstate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xstate", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
xstateComprehensive guide for XState v5 ecosystem including state machines, actors, @xstate/store, and TanStack Query integration.
Xstate is an agent skill from pedronauck/skills. Comprehensive guide for XState v5 ecosystem including state machines, actors, @xstate/store, and TanStack Query integration. Use when implementing state machines, event-driven stores, client state management, or integrating XState with React and TanStack Query for data fetching orchestration.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/machine-patterns.md`, `references/query-patterns.md` and `references/store-patterns.md`).
It sits in Backend & APIs, covering Event-driven systems and State management. It works with TanStack and React. The repository describes itself as: My personal favorite skills.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0422940. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadGrepGlobFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Xstate loads about 2.8k tokens when it runs, and up to ~18k if it reads all its reference files. Until then it costs about 75 tokens; SKILL.md has 805 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 805 words (~2,823 tokens).
“This skill provides comprehensive guidelines, patterns, and best practices for working with the XState v5 ecosystem in this project, including:”
SKILL.md and 3 other files (references) in skills/curated/xstate of pedronauck/skills.
Open the folder on GitHubat commit 0422940
Xstate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Xstate this skillpedronauck/skills | 634 | — | ~2.8k | Automated safety check: Pass | None | |
| Tanstack Query Best PracticesDeckardGer/tanstack-agent-skills | 222 | 1 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Tanstack Querysecondsky/claude-skills | 227 | — | ~7.9k | Automated safety check: Pass | MIT | |
| Tanstack QueryMindrally/skills | 269 | — | ~3.6k | Automated safety check: Pass | Apache-2.0 | |
| Tanstack Querybskimball/tanstack-hono | 119 | 1 repos | ~5.4k | Automated safety check: Pass | MIT | |
| React Native Mmkvmargelo/react-native-skills | 175 | — | ~2.1k | Automated safety check: Pass | MIT |
DeckardGer/tanstack-agent-skills
TanStack Query (React Query) best practices for data fetching, caching, mutations, and server state management.
secondsky/claude-skills
TanStack Query v5 (React Query) server state management. An agent skill from secondsky/claude-skills.
Mindrally/skills
Best practices for TanStack Query v5 (React Query) server state management, including query key factories, the queryOptions helper, mutations, optimistic updates, infinite queries, and Suspense mode.
bskimball/tanstack-hono
Powerful asynchronous state management, server-state utilities, and data fetching for TS/JS, React, Vue, Solid, Svelte & Angular.
margelo/react-native-skills
Fast synchronous key-value storage for React Native via react-native-mmkv (Nitro-backed).
elastic/kibana
Use the shared TestProvider in workflowsmanagement Jest tests instead of hand-wiring KibanaContextProvider, QueryClientProvider, WorkflowsContextProvider, MemoryRouter, I18nProvider, and the Redux…
pedronauck/skills
Review branch diffs, working trees, or PRs in depth with defect, polish and cross-contract coverage.
pedronauck/skills
Prepare, review, and package Y Combinator application answers and founder-video notes using the live form and verified founder facts.
pedronauck/skills
Guide technical communication for software developers. An agent skill from pedronauck/skills.
pedronauck/skills
Tauri v2+ cross-platform app development with Rust backend. An agent skill from pedronauck/skills.
pedronauck/skills
Generates 150-750+ ad variations using Alex Hormozi's combinatorial Hook x Meat x CTA framework.
pedronauck/skills
Plans and improves YouTube ideas, titles, thumbnail concepts, scripts, retention, channel strategy, and metric-based diagnosis.
Categories
Comprehensive guide for XState v5 ecosystem including state machines, actors, @xstate/store, and TanStack Query integration. Xstate is an agent skill from pedronauck/skills. Comprehensive guide for XState v5 ecosystem including state machines, actors, @xstate/store, and TanStack Query integration.
Xstate fits situations like: implementing state machines; event-driven stores; client state management; integrating XState with React and TanStack Query for data fetching orchestration.
Run `npx skills add pedronauck/skills --skill xstate -a claude-code`. Or copy the skill folder (skills/curated/xstate in pedronauck/skills) into .claude/skills/xstate in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pedronauck/skills --skill xstate -a codex`. Or copy the skill folder (skills/curated/xstate in pedronauck/skills) into .agents/skills/xstate in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pedronauck/skills --skill xstate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xstate, .gemini/skills/xstate, .github/skills/xstate and .opencode/skills/xstate in your project.
Going by SKILL.md and its folder, Xstate needs the command-line tools its instructions call (pnpm). Its frontmatter pre-approves these tools: Read, Grep, Glob.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
No licence was found for Xstate or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Xstate: Tanstack Query Best Practices (DeckardGer/tanstack-agent-skills, 222 stars), Tanstack Query (secondsky/claude-skills, 227 stars), Tanstack Query (Mindrally/skills, 269 stars) and Tanstack Query (bskimball/tanstack-hono, 119 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pedronauck (a GitHub user) maintains it in pedronauck/skills, which has 634 GitHub stars. The repository holds 65 skills in this directory. The repository was last updated on September 14, 2026.
Source: pedronauck/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.