What problem does it solve?
This Skill enforces modern Vue 3 Composition API best practices, ensuring code is reactive, type-safe, and composable, leading to more maintainable and scalable Vue applications.
Core Features & Use Cases
- Enforces Composition API &
<script setup>: Guides developers to use the latest and most efficient Vue patterns.
- Reactivity Best Practices: Promotes
ref() over reactive() and correct usage of computed, watch, and nextTick.
- Component Conventions: Standardizes naming, props, emits, slots, and styling for consistency.
- Use Case: When writing new Vue components or refactoring existing ones, this Skill ensures adherence to Vue 3's recommended patterns, improving code quality and developer experience.
Quick Start
Use the vue skill to refactor the provided Vue component to use Composition API and <script setup>.