/vue-skills:vue-datafrom vue-skills
Guides server state and data fetching in Vue 3 using Pinia Colada queries/mutations, caching, invalidation, optimistic updates, Vue Router data loaders, and SSR payloads. Helps decide between fetch layers and handle loading/error states.
Ships in vue-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Versions checked on 2026-10-15: @pinia/colada 1.4.8 (stable, works with Pinia 4), Vue Router 5.4 data loaders (still experimental), @tanstack/vue-query 5. Nuxt apps start with useFetch and useAsyncData (nuxt skill).
Server state is not client state. API data does not belong in hand-written Pinia stores with loading and error flags. A query layer owns caching, deduplication, invalidation and the request lifecycle. Pinia stores keep state the client owns: session, preferences, drafts.
| Situation | Use |
|---|---|
| Vue SPA fetching REST or GraphQL | Pinia Colada useQuery and useMutation |
| Data must be ready before the route renders | Data loaders (defineColadaLoader, defineBasicLoader) from vue-router/experimental |
| Nuxt app | useFetch or useAsyncData (SSR payload, Nitro aware) |
| Project already uses TanStack Query | Keep TanStack Vue Query |
| One-off call with no cache impact, such as a form submit | $fetch or ofetch in the event handler |
| Static lookup fetched once at startup | A composable with a module-level cache (not on SSR) |
| Topic | Path |
|---|---|
| Pinia Colada: keys, invalidation, optimistic updates, SSR | pinia-colada |
| Data loaders with Vue Router 5 | data-loaders |
| Race conditions, AbortSignal, error handling, layering | patterns |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kimjinwoo4/vue-skills --plugin vue-skills17 skills in this plugin
/antfuAnthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences./build-toolingFrontend build and test tooling for Vue projects. Vite 8 with Rolldown, Vitest 5, tsdown for libraries, pnpm 12 workspaces and catalogs, Turborepo, and TypeScript 7 with vue-tsc. Use when editing vite.config.ts, vitest.config.ts, tsdown.config.ts, pnpm-workspace.yaml, turbo.json or tsconfig, or when builds, tests or installs fail./designVisual design and UI quality for web frontends. Design direction, typography, color and layout that avoid generic generated looks, UI review against the Vercel Web Interface Guidelines, UnoCSS configuration, presets and semantic tokens. Use when building or restyling pages, dashboards and components, when reviewing UI quality, or when working with uno.config.ts.Other plugins' skills for the same job