Vue

uni-helper/skills/skills/vue

by uni-helper15909ff061a3No license108 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 7 months ago

Vue.js progressive JavaScript framework. Use when building Vue components, working with reactivity (ref, reactive, computed, watch), or implementing Vue Composition API patterns.

Instructions onlySoftware Development
AI-generated overview

Reference guide for building Vue 3.5+ applications with the Composition API, script setup and TypeScript.

What it does
Provides a structured reference to Vue.js development topics, including the reactivity system (ref, reactive, computed, watch, watchEffect), component features such as props, emits, slots, v-model and lifecycle hooks, and reusability patterns like composables, custom directives and template refs. It also covers advanced topics such as provide/inject and async components with Suspense, plus TypeScript usage. It ends with key recommendations, for example using script setup with lang ts and preferring ref over reactive.
When to use it
Use it when building or working on Vue components, when handling reactivity or Composition API patterns, or when looking up Vue component, composable and TypeScript conventions.
Requirements
No scripts or runtime dependencies; it is an instructions-only reference. The agent needs no packages, credentials or network access.

Vue

The skill is based on Vue 3.5+, generated at 2026-01-28.

Vue is a progressive JavaScript framework for building user interfaces. It builds on standard HTML, CSS, and JavaScript with intuitive API and world-class documentation. The Composition API with <script setup> and TypeScript is the recommended approach for building Vue applications.

Core References

TopicDescriptionReference
Reactivity Systemref, reactive, computed, watch, and watchEffectcore-reactivity [blocked]

Components

TopicDescriptionReference
PropsDeclare and validate component props with TypeScriptcomponents-props [blocked]
Events (Emits)Emit custom events from componentscomponents-emits [blocked]
SlotsPass template content to child componentscomponents-slots [blocked]
v-modelTwo-way binding on custom componentscomponents-v-model [blocked]
Lifecycle HooksRun code at specific component lifecycle stagescomponents-lifecycle [blocked]

Features

Script Setup & TypeScript

TopicDescriptionReference
Script SetupComposition API syntactic sugar for SFCsfeatures-script-setup [blocked]
TypeScriptType-safe Vue components with Composition APIfeatures-typescript [blocked]

Reusability

TopicDescriptionReference
ComposablesEncapsulate and reuse stateful logicfeatures-composables [blocked]
Custom DirectivesLow-level DOM manipulation directivesfeatures-directives [blocked]
Template RefsDirect DOM and component instance accessfeatures-template-refs [blocked]

Advanced

TopicDescriptionReference
Provide/InjectDependency injection across component treeadvanced-provide-inject [blocked]
Async & SuspenseTop-level await pitfalls, async components, Suspenseadvanced-async-suspense [blocked]

Key Recommendations

  • Use <script setup lang="ts"> for all components
  • Prefer ref() over reactive() for declaring state
  • Use type-based prop declarations with interfaces
  • Use defineModel() for v-model (3.4+)
  • Destructure props reactively (3.5+) for cleaner code
  • Extract composables for reusable stateful logic

Source and attribution

Source:uni-helper/skillsinskills/vueat commit15909ff

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal