pinia-best-practices

TypeScript configuration and common pitfalls for Pinia stores in Vue 3 applications.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pinia-best-practices" with this command: npx skills add hyf0/vue-skills/hyf0-vue-skills-pinia-best-practices

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 storeToRefs type 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

Reference

  • Pinia Documentation

  • Pinia TypeScript Guide

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

vue-development-guides

No summary provided by upstream source.

Repository SourceNeeds Review
498-hyf0
General

vue-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
9.4K-hyf0
General

vue-debug-guides

No summary provided by upstream source.

Repository SourceNeeds Review
8.1K-hyf0
General

vue-pinia-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
1.1K-hyf0