Tanstack Query
bskimball/tanstack-hono
Powerful asynchronous state management, server-state utilities, and data fetching for TS/JS, React, Vue, Solid, Svelte & Angular.
Hooks for managing, caching and syncing asynchronous and remote data in Vue.
$ npx skills add skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install skilld-dev/vue-ecosystem-skills tanstack-vue-query-skilld --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/skilld-dev/vue-ecosystem-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tanstack-vue-query-skilld .claude/skills/tanstack-vue-query-skilld && 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 "tanstack-vue-query-skilld" agent skill from https://github.com/skilld-dev/vue-ecosystem-skills/tree/main/skills/tanstack-vue-query-skilld into .claude/skills/tanstack-vue-query-skilld/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-vue-query-skilld", 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/skilld-dev/vue-ecosystem-skills/tree/main/skills/tanstack-vue-query-skilldType 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 skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install skilld-dev/vue-ecosystem-skills tanstack-vue-query-skilld --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/tanstack-vue-query-skilld .agents/skills/tanstack-vue-query-skilld && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tanstack-vue-query-skilld" agent skill from https://github.com/skilld-dev/vue-ecosystem-skills/tree/main/skills/tanstack-vue-query-skilld into .agents/skills/tanstack-vue-query-skilld/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-vue-query-skilld", 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 skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install skilld-dev/vue-ecosystem-skills tanstack-vue-query-skilld --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/tanstack-vue-query-skilld .cursor/skills/tanstack-vue-query-skilld && 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 "tanstack-vue-query-skilld" agent skill from https://github.com/skilld-dev/vue-ecosystem-skills/tree/main/skills/tanstack-vue-query-skilld into .cursor/skills/tanstack-vue-query-skilld/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-vue-query-skilld", 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/skilld-dev/vue-ecosystem-skills.git --path skills/tanstack-vue-query-skilld--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 skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install skilld-dev/vue-ecosystem-skills tanstack-vue-query-skilld --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/tanstack-vue-query-skilld .gemini/skills/tanstack-vue-query-skilld && 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 "tanstack-vue-query-skilld" agent skill from https://github.com/skilld-dev/vue-ecosystem-skills/tree/main/skills/tanstack-vue-query-skilld into .gemini/skills/tanstack-vue-query-skilld/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-vue-query-skilld", 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 skilld-dev/vue-ecosystem-skills tanstack-vue-query-skilldInstalls 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 skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/tanstack-vue-query-skilld .github/skills/tanstack-vue-query-skilld && 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 "tanstack-vue-query-skilld" agent skill from https://github.com/skilld-dev/vue-ecosystem-skills/tree/main/skills/tanstack-vue-query-skilld into .github/skills/tanstack-vue-query-skilld/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-vue-query-skilld", 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 skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install skilld-dev/vue-ecosystem-skills tanstack-vue-query-skilld --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/tanstack-vue-query-skilld .opencode/skills/tanstack-vue-query-skilld && 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 "tanstack-vue-query-skilld" agent skill from https://github.com/skilld-dev/vue-ecosystem-skills/tree/main/skills/tanstack-vue-query-skilld into .opencode/skills/tanstack-vue-query-skilld/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tanstack-vue-query-skilld", 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.
tanstack-vue-query-skilldHooks for managing, caching and syncing asynchronous and remote data in Vue.
Tanstack Vue Query Skilld is an agent skill from skilld-dev/vue-ecosystem-skills. Hooks for managing, caching and syncing asynchronous and remote data in Vue. ALWAYS use when writing code importing "@tanstack/vue-query". Consult for debugging, best practices, or modifying @tanstack/vue-query, tanstack/vue-query, tanstack vue-query, tanstack vue query, query.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/api.md`, `references/migration.md` and `references/mutations.md`).
It sits in Development, covering Async programming and Caching. It works with Vue.js and TanStack. The repository describes itself as: Agent Skills for the Vue ecosystem, written from current docs, issues, and releases. The licence is MIT.
Read from SKILL.md and the folder at commit c8994af. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are vue and typescript).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
tanstack.comFrom 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.
Tanstack Vue Query Skilld loads about 1.4k tokens when it runs, and up to ~7.1k if it reads all its reference files. Until then it costs about 76 tokens; SKILL.md has 385 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.
The full file from skilld-dev/vue-ecosystem-skills at commit c8994af, republished under its MIT licence (© skilld-dev). 385 words, ~1,441 tokens.
.claude/skills/tanstack-vue-query-skilld/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Async data hooks for Vue. Version 5.103.2, prepared source at input/source.
Peer deps: vue ^2.6.0 || ^3.3.0; Vue 2 needs @vue/composition-api (optional peer) (package.json:56-59).
Re-exports everything from @tanstack/query-core 5.103.2, so keepPreviousData, skipToken, focusManager, onlineManager, hydration utils, and observer classes import from @tanstack/vue-query directly (src/index.ts:1).
Install the plugin once per app. It creates (or accepts) a QueryClient, provides it app-wide, and mounts/unmounts it (src/vueQueryPlugin.ts:74-154):
import { createApp } from 'vue'
import { QueryClient, VueQueryPlugin } from '@tanstack/vue-query'
const app = createApp(App)
// Option A: pass your own client (required for SSR — one fresh client per request)
const queryClient = new QueryClient()
app.use(VueQueryPlugin, { queryClient })
// Option B: let the plugin build one with your defaults
app.use(VueQueryPlugin, {
queryClientConfig: { defaultOptions: { queries: { staleTime: 5 * 1000 } } },
})VueQueryPluginOptions: queryClient or queryClientConfig (one or the other), queryClientKey (only when installing multiple clients), clientPersister + clientPersisterOnSuccess (persisted cache restore), enableDevtoolsV6Plugin (src/vueQueryPlugin.ts:11-38). The client is not mounted on the server (src/vueQueryPlugin.ts:87-89).
useQueryClient(id?) throws outside an injection context or without the plugin (src/useQueryClient.ts:27-44).
<script setup lang="ts">
import { ref } from 'vue'
import { useQuery } from '@tanstack/vue-query'
const postId = ref(1)
const { status, data, error, refetch } = useQuery({
queryKey: ['post', postId], // ref inside the key: tracked, no .value
queryFn: () => fetchPost(postId.value),
})
</script>
<template>
<span v-if="status === 'pending'">Loading...</span>
<span v-else-if="status === 'error'">Error: {{ error!.message }}</span>
<h1 v-else>{{ data!.title }}</h1>
</template><script setup lang="ts">
import { useMutation, useQueryClient } from '@tanstack/vue-query'
const queryClient = useQueryClient()
const addMutation = useMutation({
mutationFn: addTodo,
onSuccess: () => queryClient.invalidateQueries({ queryKey: ['todos'] }),
})
function onAdd() {
addMutation.mutate('Item', {
onError: (error) => console.error('Failed:', error),
})
}
</script>
<template>
<button @click="onAdd">Add</button>
</template>mutate swallows rejection by design; per-call callbacks fire only for the latest call. Use mutateAsync for a promise per call (src/useMutation.ts:262-270).
Refs. Every result field of useQuery/useInfiniteQuery/useMutation is a Ref (data.value in script, auto-unwrapped in template), except the functions refetch, fetchNextPage, fetchPreviousPage, mutate, mutateAsync, reset, plus suspense() (src/useBaseQuery.ts:27-40, src/useMutation.ts:53-68).useQueries returns one Ref of the whole result array (or the combine value), not a reactive array (src/useQueries.ts:357-376).ref itself into queryKey and read .value inside queryFn (src/utils.ts:84-111).queryKey and enabled accept reactive getters. A function anywhere else is the real callback (queryFn, select, ...). To make any option reactive, pass a whole-options getter useQuery(() => ({ ... })) (src/queryOptions.ts:67-76, src/useQuery.ts:225-227).initialData is not reactive; it is read once (src/queryOptions.ts:136-148).setup() or an effectScope. Outside a scope, dev mode warns about memory leaks (src/useBaseQuery.ts:82-88).queryClient.query() / queryClient.infiniteQuery(). fetchQuery, prefetchQuery, fetchInfiniteQuery, prefetchInfiniteQuery, ensureQueryData are deprecated and slated for removal (src/queryClient.ts:251-253, src/queryClient.ts:311-313).queryOptions() so the key carries its data type for getQueryData, invalidateQueries, and prefetch reuse (src/queryOptions.ts:244-251).@tanstack/vue-query 5.103.2 with @tanstack/query-core 5.103.2 (package.json:2,45). Docs match v5; v4 APIs may appear in old examples.@vue/composition-api, or Vue 2.7 native (package.json:52-59).build/modern, build/legacy); sideEffects: false (package.json:21-35).skipToken, queryOptions getters, shallow.QueryClient, reactive args, invalidation timing, SSR, multiple clients.mutationOptions, useMutationState, optimistic updates.Official docs: https://tanstack.com/query/latest/docs/framework/vue/overview
© skilld-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references) in skills/tanstack-vue-query-skilld of skilld-dev/vue-ecosystem-skills.
Open the folder on GitHubat commit c8994af
Tanstack Vue Query Skilld 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 |
|---|---|---|---|---|---|---|
| Tanstack Vue Query Skilld this skillskilld-dev/vue-ecosystem-skills | 181 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Tanstack Querybskimball/tanstack-hono | 119 | 1 repos | ~5.4k | Automated safety check: Pass | MIT | |
| Olore Tanstack Query 4olorehq/olore | 103 | — | ~583 | Automated safety check: Pass | MIT | |
| Olore Tanstack Query Latestolorehq/olore | 103 | — | ~487 | Automated safety check: Pass | MIT | |
| Native Data FetchingCherryHQ/cherry-studio-app | 4k | 6 repos | ~2.9k | Automated safety check: Notes | MIT | |
| Pre PR AblationPopupMaker/Popup-Maker | 110 | — | ~2.5k | Automated safety check: Pass | None |
bskimball/tanstack-hono
Powerful asynchronous state management, server-state utilities, and data fetching for TS/JS, React, Vue, Solid, Svelte & Angular.
olorehq/olore
Local TanStack Query documentation reference (v4). An agent skill from olorehq/olore.
olorehq/olore
Local TanStack Query documentation reference (latest). An agent skill from olorehq/olore.
CherryHQ/cherry-studio-app
A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.
PopupMaker/Popup-Maker
Use before finalizing or opening/updating a PR for non-trivial code changes, especially third-party integrations, compatibility layers, hooks and filters, lifecycle code, providers, abstractions…
wevm/wagmi
Walks through adding a Wagmi feature across its layers: a Viem-based core action, TanStack Query options, and React and Vue bindings.
skilld-dev/vue-ecosystem-skills
Floating UI for Vue (@floating-ui/vue@2.0.1). An agent skill from skilld-dev/vue-ecosystem-skills.
skilld-dev/vue-ecosystem-skills
A skill your agent uses whenever writing, debugging, or reviewing code that imports @formkit/core — FormKit's framework-agnostic core (node trees, values, events, hooks, message stores, ledgers…
skilld-dev/vue-ecosystem-skills
Data fetching layer for Vue built on Pinia. An agent skill from skilld-dev/vue-ecosystem-skills.
skilld-dev/vue-ecosystem-skills
A skill your agent uses when writing, debugging, or refactoring code that imports "pinia", the Vue 3 store library.
skilld-dev/vue-ecosystem-skills
A skill your agent uses when writing, debugging, or updating code that imports primevue (PrimeVue v5, UI component library for Vue 3).
skilld-dev/vue-ecosystem-skills
Build, configure, and debug apps with the Quasar framework (quasar npm package, v2.33.1).
Categories
Hooks for managing, caching and syncing asynchronous and remote data in Vue. Tanstack Vue Query Skilld is an agent skill from skilld-dev/vue-ecosystem-skills. Hooks for managing, caching and syncing asynchronous and remote data in Vue.
Tanstack Vue Query Skilld fits situations like: writing code importing @tanstack/vue-query; tasks that involve Async programming; tasks that involve Caching.
Run `npx skills add skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld -a claude-code`. Or copy the skill folder (skills/tanstack-vue-query-skilld in skilld-dev/vue-ecosystem-skills) into .claude/skills/tanstack-vue-query-skilld in your project. Claude Code loads it when a task matches its description.
Run `npx skills add skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld -a codex`. Or copy the skill folder (skills/tanstack-vue-query-skilld in skilld-dev/vue-ecosystem-skills) into .agents/skills/tanstack-vue-query-skilld 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 skilld-dev/vue-ecosystem-skills --skill tanstack-vue-query-skilld -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tanstack-vue-query-skilld, .gemini/skills/tanstack-vue-query-skilld, .github/skills/tanstack-vue-query-skilld and .opencode/skills/tanstack-vue-query-skilld in your project.
SKILL.md names no scripts, command-line tools or credentials: Tanstack Vue Query Skilld is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: tanstack.com. 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.
Tanstack Vue Query Skilld is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.8k 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 5.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Tanstack Vue Query Skilld: Tanstack Query (bskimball/tanstack-hono, 119 stars), Olore Tanstack Query 4 (olorehq/olore, 103 stars), Olore Tanstack Query Latest (olorehq/olore, 103 stars) and Native Data Fetching (CherryHQ/cherry-studio-app, 4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
skilld-dev (a GitHub organization) maintains it in skilld-dev/vue-ecosystem-skills, which has 181 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on September 22, 2026.
Source: skilld-dev/vue-ecosystem-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.