Pinia v3 State Management
Architects robust Vue 3 and Nuxt state management solutions using Pinia v3 with best practices for reactivity, SSR hydration, and testing.
Pinia v3 State Management equips Claude with deep technical expertise for building, debugging, and migrating store architectures in Vue 3 and Nuxt applications. The skill covers both Option Stores and Setup Stores, correct usage of storeToRefs to preserve reactivity, composable integrations with VueUse, and error-free server-side rendering (SSR) state hydration. It proactively prevents common pitfalls such as lost reactivity from direct destructuring, out-of-order store initialization, circular dependencies, and SSR cross-request state pollution, while offering streamlined patterns for testing with @pinia/testing and migrating legacy Vuex stores.