What problem does it solve?
Provides clear, opinionated guidance for authoring Vue 3 single-file components (SFCs) and composables using the Composition API and script setup with TypeScript, reducing errors from misuse of reactivity, lifecycle hooks, and compiler macros.
Core Features & Use Cases
- Opinionated best practices for
<script setup lang="ts">, typed props/emits/models, and component options to improve maintainability.
- Guidance on reactivity and performance trade-offs (ref vs shallowRef, computed, watch, effectScope) and lifecycle management for reliable components.
- Examples and patterns for built-in features like Transition, Teleport, Suspense, KeepAlive, v-memo, and custom directives; use when scaffolding components, converting Options API code, or optimizing render performance.
Quick Start
Use the vue skill to scaffold a TypeScript-based Composition API single-file component with typed props, emits, and a composable for fetching data.