Vue Pinia Best Practices
Pinia stores, state management patterns, store setup, and reactivity with stores.
Install
/plugin marketplace add vuejs-ai/skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add vuejs-ai/skills --skill vue-pinia-best-practicesgit clone --depth 1 https://github.com/vuejs-ai/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/vue-pinia-best-practices ~/.claude/skills/vue-pinia-best-practicesPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
Pinia best practices, common gotchas, and state management patterns. ### Store Setup - Getting "getActivePinia was called" error at startup → See [pinia-no-active-pinia-error](reference/pinia-no-active-pinia-error.md) - Setup stores missing state in DevTools or SSR → See [pinia-setup-store-return-all-state](reference/pinia-setup-store-return-all-state.md) ### Reactivity - Store destructuring stops updating UI reactively → See [pinia-store-destructuring-breaks-reactivity](reference/pinia-store-destructuring-breaks-reactivity.md) - Store methods lose context in template calls → See [store-method-binding-parentheses](reference/store-method-binding-parentheses.md) ### State Patterns - Filters reset on refresh or can't be shared → See [state-url-for-ephemeral-filters](reference/state-url-for-ephemeral-filters.md) - Building production app without DevTools or conventions → See [state-use-pinia-for-large-apps](reference/state-use-pinia-for-large-apps.md)
Details
- Skill name
vue-pinia-best-practices- Repository
- vuejs-ai/skills
- Path
skills/vue-pinia-best-practices/SKILL.md- License
- MIT
- Repo updated
- 23 October 2026
FAQ
What does the Vue Pinia Best Practices skill do?
Pinia stores, state management patterns, store setup, and reactivity with stores.
How do I install the Vue Pinia Best Practices skill?
Claude Code plugin: /plugin marketplace add vuejs-ai/skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Vue Pinia Best Practices popular?
It lives in vuejs-ai/skills, which has 3,356 GitHub stars and 199 forks.
Related skills
Vue Best Practices
3.4kvuejs-ai/skills
MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.
Vue Router Best Practices
3.4kvuejs-ai/skills
Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
Vue Testing Best Practices
3.4kvuejs-ai/skills
Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
Designs
4.3kdavidondrej/skills
Show 4 better, new design options as separate real image renders of the actual app UI. Use for "designs" or when the user asks for new design ideas.
Vue Jsx Best Practices
3.4kvuejs-ai/skills
JSX syntax in Vue (e.g., class vs className, JSX plugin config).
Threejs Game UI Designer
2.8kmajidmanzarpour/threejs-game-skills
Design premium Three.js game UI: HUDs, menus, overlays, pause/win/lose screens, settings, icon controls, touch UI, typography, responsive layout, safe areas, text fit, and UI/world cohesion.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.