Vue Pinia Best Practices

Pinia stores, state management patterns, store setup, and reactivity with stores.

3,356 stars 199 forksFrontend & Design Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add vuejs-ai/skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add vuejs-ai/skills --skill vue-pinia-best-practices
Manual install
git 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-practices

Personal 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)
Read the full skill on GitHub

Details

Skill name
vue-pinia-best-practices
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

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.