What problem does it solve? Pinia stores in Vue 3 applications frequently fail due to initialization order errors, broken reactivity from destructuring, and missing state in setup stores, causing crashes, stale UI, and SSR hydration failures that are hard to debug. ## Core Features & Use Cases - Error Diagnosis: Resolve the "getActivePinia was called but there was no active Pinia" error by fixing plugin order, module-level store calls, and script setup timing. - Reactivity Fixes: Restore reactive updates by using storeToRefs for state and getters while destructuring actions directly. - State Architecture Guidance: Decide when to use URL query parameters for shareable filters versus Pinia stores, and when Pinia is required over hand-rolled reactive objects. - Use Case: A developer's Vue app crashes on startup with a Pinia error and the product filter state resets on refresh; this Skill provides the exact plugin ordering fix and a URL-based filter pattern to resolve both. ## Quick Start Ask the assistant to diagnose why your Vue app throws "getActivePinia was called but there was no active Pinia" on startup.