Skip to content
Back to skills

Vue Pinia Best Practices

ASecurity

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

  • 2,128 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agentsgoreactvuegit

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add LeoYeAI/openclaw-master-skills --skill vue-pinia-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vue Pinia Best Practices?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vue Pinia Best Practices
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leoyeai-vue-pinia-best-practices/badge)](https://www.skillsdirectory.com/skills/leoyeai-vue-pinia-best-practices)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vue-pinia-best-practices
description: "Pinia stores, state management patterns, store setup, and reactivity with stores."
version: 1.0.0
license: MIT
author: github.com/vuejs-ai
---

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)

Files in this skill

  • SKILL.md1.1 KB
  • reference/pinia-no-active-pinia-error.md6.3 KB
  • reference/pinia-setup-store-return-all-state.md5.8 KB
  • reference/pinia-store-destructuring-breaks-reactivity.md5.1 KB
  • reference/state-url-for-ephemeral-filters.md7.1 KB
  • reference/state-use-pinia-for-large-apps.md6.2 KB
  • reference/store-method-binding-parentheses.md5.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…