Repository

vuejs-ai/skills

9 skills · 143.3K total installs

GitHub ↗
Install every skill from this repository$ npx skills add vuejs-ai/skills
Repository directory

Skills

9 of 9
1vue-best-practicesMUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.40.3K
2vue-debug-guidesVue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues.25.4K
3vue-pinia-best-practicesPinia stores, state management patterns, store setup, and reactivity with stores.15.6K
4vue-router-best-practicesVue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.13.6K
5create-adaptable-composableCreate a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()/toRef() inside reactive effects (watch/watchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables.12.7K
6vue-testing-best-practicesUse for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.12.4K
7vue-options-api-best-practicesVue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.10.9K
8vue-jsx-best-practicesJSX syntax in Vue (e.g., class vs className, JSX plugin config).10.3K
9vue-development-guidesA collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.2.1K