Skip to content
V

vue-pinia-best-practices

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

by vuejs-aiFree

#4395in AI Skills
0In stores

Description

vue-pinia-best-practices is an agent skill from the vuejs-ai/skills collection, listed on skills.sh. It gives an AI agent Pinia best practic…

Highlights

  • Fixes common Pinia startup and setup problems
  • Keeps store reactivity intact when destructuring
  • URL state for filters that should survive a refresh
  • Links to a reference note for each problem

Ratings & Reviews

No ratings yet

Be the first to rate vue-pinia-best-practices.

People also visit

P

pinia

Type-safe Vue state management

AI Skills
Get
P

pinia

Intuitive, type safe, light and flexible Store for Vue

UI Libraries
Launch
V

vue-patterns

Vue.js 3 Composition API patterns, component architecture

AI Skills
Get
V

vue-best-practices

MUST be used for Vue.js tasks

AI Skills
Get
U

unit-test-vue-pinia

Write and review unit tests for Vue 3 + TypeScript + Vitest + Pinia codebases

AI Skills
Get
V

vue-skills

Agent skills for Vue 3 development

AI Skills
Get

vue-pinia-best-practices FAQ

What does the vue-pinia-best-practices skill do?

It guides an AI agent through Pinia store setup, reactivity and state patterns in Vue projects.

How do I install it?

Run: npx skills add https://github.com/vuejs-ai/skills --skill vue-pinia-best-practices

What startup error does it cover?

The getActivePinia was called error, which appears when Pinia is used before it is set up.

Why does my store lose reactivity when I destructure it?

The skill lists destructuring a store as a common cause of UI not updating, and links a reference note with the fix.

When should filters go in the URL?

The skill recommends it for ephemeral filters that need to survive a refresh or be shared.

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best vue-pinia-best-practices alternatives?

Popular alternatives to vue-pinia-best-practices include pinia, vue-patterns and vue-best-practices. See all vue-pinia-best-practices alternatives

Developer Stuff

Badges