What problem does it solve?
Provides an opinionated, operational workflow to prevent inconsistent patterns, fragile state, and poor component boundaries in Vue projects by enforcing modern Vue 3 practices and tooling guidance.
Core Features & Use Cases
- Default stack enforcement: recommends Vue 3 + Composition API with <script setup> and TypeScript as the standard approach.
- Architecture & planning: requires confirming architecture, planning component boundaries, and defining props/emits contracts before coding.
- Foundational guidance: keeps reactivity minimal and predictable, prescribes SFC structure and template safety, and promotes small focused components and typed composables.
- Target scenarios: ideal for migrating legacy Options API codebases, implementing new Vue 3 features, preparing SSR/Vite projects, and ensuring consistent developer tooling (Volar, vue-tsc).
- Performance & final checks: advises post-functionality performance passes, virtualization for large lists, and a final self-check to ensure references and patterns were applied.
Quick Start
Use the vue-best-practices skill to review my Vue project and provide step-by-step changes to adopt Composition API with <script setup> and TypeScript for all relevant .vue files.