Skills by vuejs-ai

8 skills available

vue-best-practices
MUST 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.
Verified
1,921 installs
vue-pinia-best-practices
Pinia stores, state management patterns, store setup, and reactivity with stores.
Verified
1,678 installs
vue-router-best-practices
Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
Verified
1,671 installs
create-adaptable-composable
Create 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.
Verified
1,576 installs
vue-testing-best-practices
This skill provides Vue.js testing best practices for `Vitest`, `Vue Test Utils`, component testing, mocking, and `Playwright` E2E guidance. No security-relevant behaviors detected.
Verified
1,432 installs
vue-options-api-best-practices
Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
Verified
1,367 installs
vue-jsx-best-practices
JSX syntax in Vue (e.g., class vs className, JSX plugin config).
Verified
1,328 installs
vue-debug-guides
This skill is a Vue 3 debugging and error-handling guide for runtime issues, warnings, async failures, and SSR/hydration problems. No security-relevant behaviors detected.
Verified
1,162 installs