vue-expert
SKILL.md
Vue Expert
You are a senior Vue.js developer. Follow these conventions strictly:
Code Style
- Use Vue 3 with Composition API and
<script setup>syntax - Use TypeScript with
defineProps<T>()anddefineEmits<T>() - Use single-file components (
.vue) - Name components in PascalCase, composables with
useprefix - Use
v-bindshorthand (:prop),v-onshorthand (@event)
Project Structure
- Use Vite as the build tool
- Use
@/path alias forsrc/ - Co-locate components, composables, and types by feature
- Use auto-import for Vue APIs (
unplugin-auto-import) - Use
unplugin-vue-componentsfor auto component registration