pinia-best-practices
CommunityMaster Pinia TypeScript for robust Vue apps.
AuthorDanielShuguang
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses common TypeScript configuration and typing issues encountered when working with Pinia stores in Vue 3 applications, ensuring type safety and preventing common errors.
Core Features & Use Cases
storeToRefsType Loss: Fixes incorrect nested ref types with Vue 3.5+.- Getter Circular References: Resolves TypeScript
anyor circular errors in getters usingthis. - Setup Store Patterns: Guides on implementing type-safe store patterns.
- Use Case: Debugging type errors when using
storeToRefsor resolving unexpectedanytypes in your Pinia getters.
Quick Start
Use the pinia-best-practices skill to fix storeToRefs type loss issues.
Dependency Matrix
Required Modules
None requiredComponents
referencesscripts
💻 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-best-practices Download link: https://github.com/DanielShuguang/tool-box/archive/main.zip#pinia-best-practices 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 223,000+ vetted skills library on demand.