What problem does it solve? Setting up Pinia correctly differs between Nuxt and Vue SPA Vite projects, and mistakes like manual createPinia plugins in Nuxt, wrong store directory placement, or mismatched package managers cause SSR bugs and inconsistent project structure. This Skill detects the Vue target, installs the right packages, registers Pinia correctly, and verifies the result. ## Core Features & Use Cases - Target-aware setup: Detects Nuxt versus Vue SPA Vite projects and applies the correct integration, using @pinia/nuxt modules for Nuxt and createPinia() app registration for Vue Vite. - Lockfile-aware installation: Detects pnpm, npm, yarn, or bun from lockfiles and installs pinia and @pinia/nuxt with the project's existing package manager. - Store architecture guidance: Places stores in shared/store, features/<feature>/store, or src/store based on the repo's actual layout, with rules for storeToRefs, SSR-safe state, and persistence boundaries. - Use Case: After scaffolding a Nuxt 4 app, ask the AI to add Pinia; it installs pinia and @pinia/nuxt, registers the module in nuxt.config, creates the correct store directory, and runs verification. ## Quick Start Use the pinia skill to add and configure Pinia state management in my Nuxt or Vue Vite project.