Vue Pinia Best Practices
Pinia stores, state management patterns, store setup, and reactivity with stores.
- Type
- Skill
- Author
- vuejs-ai
- Category
- Frontend
- GitHub stars
- 3.2K
- Installs
- 16.9K
- Last updated
- October 23, 2026
Install
npx skills add https://github.com/vuejs-ai/skills --skill vue-pinia-best-practicesUse cases
- Set up a Pinia store for a new Vue feature.
- Refactor state management patterns when a store becomes hard to follow.
- Check reactivity between components and stores in a Vue app.
Frequently Asked Questions
What does this skill cover?
Pinia stores, state management patterns, store setup, and reactivity with stores.
Is it specific to Vue?
Yes, it comes from the vuejs-ai skills and focuses on Pinia stores in Vue projects.
When should I reach for it?
When structuring application state in a Vue project, especially if you want stores to stay predictable as the app grows.
About this skill
Covers Pinia stores in Vue: store setup, state management patterns, and reactivity with stores. Use it when structuring application state in a Vue project. Aimed at developers who want their stores to stay predictable as the app grows.
Summary written with AI assistance from the project's public description.
More from vuejs-ai
Vue Best Practices
MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR...
by vuejs-ai
Vue Debug Guides
Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues.
by vuejs-ai
Vue Router Best Practices
Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
by vuejs-ai
Create Adaptable Composable
Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or g...
by vuejs-ai
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh