Skill Issue ›
Browse Skills ›
Vue expert
Vue expert
Vue expert is an AI agent skill from the GitHub repository rnavarych/alpha-engineer . Vue.js expertise including Composition API, Pinia state management, Nuxt.js 3, Vue Router, custom directives, provide/inject patterns, transition system, and Volar tooling configuration.
How to use this skill
Claude Code: save it as .claude/skills/vue-expert/SKILL.md
Cursor: save it as .cursor/rules/vue-expert.md
Codex: save it as .agents/skills/vue-expert/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
Vue Expert
When to use
Building or reviewing Vue 3 single-file components with <script setup>
Choosing between ref/reactive/computed/watch for state and derived values
Designing Pinia stores or migrating from Vuex
Setting up Vue Router with guards, nested routes, and lazy loading
Working with Nuxt 3 — data fetching, server routes, middleware, SEO
Implementing typed composables, generic components, or provide/inject
Debugging reactivity loss, performance bottlenecks, or transition behavior
Core principles
<script setup> always — less boilerplate, better TypeScript inference, no option to go back
ref for primitives, reactive for objects — never destructure reactive; use toRefs()
computed over watch for derived state — synchronous derivations should never need watchers
Domain stores, not type stores — useCartStore, useAuthStore; not useArrayStore
storeToRefs() for reactive destructuring — functions can be destructured directly
Reference Files
references/composition-api-reactivity.md — ref/reactive/toRefs, computed, watch/watchEffect, script setup macros (defineProps, defineEmits, defineModel, defineExpose), composables, shallowRef, defineAsyncComponent
references/pinia-vue-router.md — Pinia setup vs options syntax, storeToRefs, persistence, store composition, Vue Router named routes, guards, scroll behavior, composable testing, createTestingPinia
references/nuxt3-typescript-directives.md — Nuxt 3 useFetch/useAsyncData, server routes, middleware, runtime config, typed composables, generic components, InjectionKey, custom directives, transition system, anti-patterns
Use this skill with your AI agent:
Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.