// Vue 3 Composition API .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-vue3-composition-apiBasic Vue 3 Composition API guidelines but lacks actionable instructions and trigger conditions
1// Vue 3 Composition API .cursorrules23// Vue 3 Composition API best practices45const vue3CompositionApiBestPractices = [6 "Use setup() function for component logic",7 "Utilize ref and reactive for reactive state",8 "Implement computed properties with computed()",9 "Use watch and watchEffect for side effects",10 "Implement lifecycle hooks with onMounted, onUpdated, etc.",11 "Utilize provide/inject for dependency injection",12];1314// Folder structure1516const folderStructure = `17src/18 components/19 composables/20 views/21 router/22 store/23 assets/24 App.vue25 main.js26`;2728// Additional instructions2930const additionalInstructions = `311. Use TypeScript for type safety322. Implement proper props and emits definitions333. Utilize Vue 3's Teleport component when needed344. Use Suspense for async components355. Implement proper error handling366. Follow Vue 3 style guide and naming conventions377. Use Vite for fast development and building38`;3940
Full transparency — inspect the skill content before installing.