Pinia Best Practices
Pinia store conventions for Vue apps, covering state, getters, and actions with setup-store style.
- CCM score
- 43 of 100
- skills.sh installs
- 350
- GitHub stars
- 3.4K
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers store structure guidance for organizing state, getters, and actions across Vue application modules
- Designed for Vue developers adopting Pinia for shared application state
Install
$ npx -y skills add hyf0/vue-skills --skill pinia-best-practices -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Pinia store conventions for Vue apps, covering state, getters, and actions with setup-store style. Covers store structure guidance for organizing state, getters, and actions across Vue application modules. Designed for Vue developers adopting Pinia for shared application state.
Browse the repository on GitHubDetails
- Repository
- github.com/hyf0/vue-skills
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the pinia-best-practices skill do?
The pinia-best-practices skill gives an agent guidance for Pinia state management in Vue 3 projects, covering store setup, reactivity, and state patterns. It is one of the skills in the vue-skills repository, which is an early community experiment. The skill's listing is brief, so details beyond its description are not available here.
How do I install the pinia-best-practices skill?
Run npx -y skills add hyf0/vue-skills --skill pinia-best-practices -y in your project. The command installs only this skill from the vue-skills repository into the project. After that, the agent can apply the Pinia store setup and state patterns the skill describes.
Which other skills lead the Frontend & UI Code category?
Within Frontend & UI Code, the skills ranked alongside pinia-best-practices include vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps. Those skills cover other frontend topics, while this one focuses on Pinia state management for Vue projects.
Is the pinia-best-practices skill for Vue 3 projects?
Yes, the skill targets Pinia state management, which is used with Vue 3 applications. It helps with store setup, reactivity, and how state is organized inside stores. Developers working on Vue 3 apps that rely on Pinia for shared state are the intended audience.
More from hyf0/vue-skills
All 2Similar to Pinia Best Practices
More Frontend & UI CodepiniaSkillantfu/skills20.8K installsType-safe Vue state management library covering store definitions, plugins, composables, testing, SSR, and Nuxt.
pinia-v3Pluginsecondsky/claude-skills254 starsPinia v3 Vue state management with defineStore, getters, actions. Use for Vue 3 stores, Nuxt SSR, Vuex migration, or encountering store composition, hydration,
pinia-skilldSkillskilld-dev/vue-ecosystem-skills354 installsPinia 4.x reference for writing, debugging, and migrating Vue 3 stores with version-correct API usage.
vue-application-structureSkillaj-geddes/useful-ai-prompts449 installsVue 3 structure guide covering Composition API composables, component organization, Pinia stores, and TypeScript patterns.