pinia-store
OfficialStandardize Pinia stores for scalable state.
AuthorYuDefine
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Pinia Store 架構規範。Use when creating app/stores/**/*.ts files, working with defineStore, managing global state, or building Pinia stores. Always use this skill for store design patterns, naming conventions, and state management architecture.
Core Features & Use Cases
- Store template using Vue's Composition API with defineStore.
- Naming conventions: stores should follow the pattern use<name>Store and IDs should be kebab-case.
- Global state architecture guidance for Nuxt/Vue apps, including best practices for state, actions, getters, and plugins.
- Example structures and references to patterns.md for advanced patterns.
Quick Start
Create a new store using defineStore following the naming rules and migrate existing stores to the standard pattern.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pinia-store Download link: https://github.com/YuDefine/nuxt-supabase-starter/archive/main.zip#pinia-store Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.