What problem does it solve?
Pinia stores often suffer from inconsistent naming, messy destructuring, and tangled cross-store access, making maintenance hard. This Skill provides a standardized convention for naming stores, destructuring with storeToRefs, and CRUD-like patterns to promote readability and reliability.
Core Features & Use Cases
- Full descriptive store naming, root-level destructuring with storeToRefs, and explicit dot-access patterns for refs and methods.
- Clear cross-store access guidelines and per-store CRUD patterns to keep state predictable.
- Use Case: When building a large Vue app with multiple modules, enforce consistent store structure to reduce bugs and onboarding time.
Quick Start
Create your first Pinia store following the prescribed naming and destructuring conventions, and import storeToRefs to access refs and methods from the store root.