pinia-best-practices
9
总安装量
5
周安装量
#31732
全站排名
安装命令
npx skills add https://github.com/dedsiteam/dedsi-skills --skill pinia-best-practices
Agent 安装分布
claude-code
3
windsurf
2
opencode
2
codex
2
antigravity
2
gemini-cli
2
Skill 文档
Pinia Best Practices
TypeScript configuration and common pitfalls for Pinia stores in Vue 3 applications.
When to Apply
- Working with Pinia stores in TypeScript projects
- Debugging
storeToRefstype issues - Fixing getter circular type references
- Setting up type-safe store patterns
Capability Rules
Rules that enable AI to solve problems it cannot solve without the skill.
| Rule | Impact | Description |
|---|---|---|
| storeToRefs-type-loss | HIGH | Fix incorrect nested ref types with Vue 3.5+ |
Efficiency Rules
Rules that help AI solve problems more effectively and consistently.
| Rule | Impact | Description |
|---|---|---|
| getters-circular-types | MEDIUM | Fix TypeScript any or circular errors in getters using this |