Skip to content
hyf0 avatar

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
View on GitHub

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 -y

Installs 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 GitHub

Details

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 2

Similar to Pinia Best Practices

More Frontend & UI Code