Skip to content
vue logo

Vue 3 Development

vue

Use when editing .vue files, creating Vue 3 components, writing composables, or testing Vue code - provides Composition API patterns, props/emits best practices, VueUse integration, and reactive destructuring guidance

SKILL.md

Full skill instructions

Vue 3 Development

Reference for Vue 3 Composition API patterns, component architecture, and testing practices.

Current stable: Vue 3.5+ with enhanced reactivity performance (-56% memory, 10x faster array tracking), new SSR features, and improved developer experience.

Overview

Progressive reference system for Vue 3 projects. Load only files relevant to current task to minimize context usage (~250 tokens base, 500-1500 per sub-file).

When to Use

Use this skill when:

  • Writing .vue components
  • Creating composables (use* functions)
  • Building client-side utilities
  • Testing Vue components/​composables

Use nuxt skill instead for:

  • Server routes, API endpoints
  • File-based routing, middleware
  • Nuxt-specific patterns

For styled UI components: use nuxt-ui skill For headless accessible components: use reka-ui skill For VueUse composables: use vueuse skill

Quick Reference

Working on...Load file
.vue in components/references/​components.md
File in composables/references/​composables.md
File in utils/references/​utils-client.md
.spec.ts or .test.tsreferences/​testing.md
TypeScript patternsreferences/​typescript.md
Vue Router typingreferences/​router.md
Reactivity (ref, watch)references/​reactivity.md
Custom directivesreferences/​directives.md
Provide/​injectreferences/​provide-inject.md
Edge cases, vue-tscreferences/​gotchas.md

Loading Files

Consider loading these reference files based on your task:

DO NOT load all files at once. Load only what's relevant to your current task.

Quick Start

<script setup lang="ts">
const { count = 0 } = defineProps<{ count?: number }>()
const emit = defineEmits<{ update: [value: number] }>()
</​script>

<template>
  <button @click="emit('update', count + 1)">
    Count: {{ count }}
  </​button>
</​template>

Available Guidance

references/​components.md - Props with reactive destructuring, emits patterns, defineModel for v-model, slots shorthand

references/​composables.md - Composition API structure, VueUse integration, lifecycle hooks, async patterns, reactivity gotchas

references/​utils-client.md - Pure functions, formatters, validators, transformers, when NOT to use utils

references/​testing.md - Vitest + @vue/​test-utils, component testing, composable testing, router mocking

references/​typescript.md - InjectionKey for provide/​inject, vue-tsc strict templates, tsconfig settings, generic components

references/​router.md - Route meta types, typed params with unplugin-vue-router, scroll behavior, navigation guards

references/​reactivity.md - ref, reactive, computed, watch, watchEffect, reactivity fundamentals

references/​directives.md - Custom directive hooks, v-focus, v-click-outside, v-tooltip patterns

references/​provide-inject.md - InjectionKey typing, app-level provide, readonly patterns

references/​gotchas.md - Common gotchas, vue-tsc edge cases, hydration issues, race conditions (from vuejs-ai/​skills)

More Frontend Development skills

ui-ux-pro-max logo
Frontend Development

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
imagegen-frontend-web logo
Frontend Development

imagegen-frontend-web

Premium frontend image direction for landing pages and marketing sites, generating one distinct horizontal image per section.

92.7K 337.8K
View
imagegen-frontend-mobile logo
Frontend Development

imagegen-frontend-mobile

Premium mobile app screen concepts and flows with clean hierarchy, strong imagery, and distinctive art direction.

92.7K 331.8K
View
shadcn logo
Frontend Development

shadcn

Complete shadcn/ui component management for adding, searching, fixing, styling, and composing UI.

125.1K 271.7K
View
vercel-react-native-skills logo
Frontend Development

vercel-react-native-skills

React Native and Expo best practices for performant mobile apps across list rendering, animations, navigation, and native modules.

31.9K 231.8K
View
vercel-react-view-transitions logo
Frontend Development

vercel-react-view-transitions

Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.

31.9K 143K
View
vercel-react-view-transitions logo
Frontend Development

vercel-react-view-transitions

Native browser animations for React UI state changes using the View Transition API.

31.9K 143K
View
convex-create-component logo
Frontend Development

convex-create-component

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View
web-artifacts-builder logo
Frontend Development

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

179.7K 106.4K
View
shadcn logo
Frontend Development

shadcn

Official shadcn/ui skill — teaches agents the CLI v4, the registry system, component patterns, and Tailwind v4 config.

125.1K 89.5K
View
tailwind-design-system logo
Frontend Development

tailwind-design-system

CSS-first design system framework for Tailwind v4 with tokens, components, and responsive patterns.

40.2K 67.4K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View