mcpField
V
vue

vue

github.com/uni-helperDevelopment111709 installsUpdated 39w ago
Repository

About vue

A Vue 3.5+ skill for developers building user interfaces, covering reactivity, components, TypeScript, and reusable logic. It also addresses dependency injection and asynchronous components.

Key features

  1. 01Reactivity and lifecycle hooks
  2. 02Component props, events, and slots
  3. 03Composition API and TypeScript
  4. 04Composables and custom directives
  5. 05Dependency injection
  6. 06Async components and Suspense

Use cases

  1. 01Manage reactive application state
  2. 02Define reusable Vue components
  3. 03Share stateful logic with composables
  4. 04Build asynchronous component flows

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/uni-helper/skills --skill vue

After installing, type/vuein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

GENERATION.md
LICENSE.md
SYNC.md
references/
advanced-async-suspense.md
advanced-provide-inject.md
components-emits.md
components-lifecycle.md
components-props.md
components-slots.md
components-v-model.md
core-reactivity.md
features-composables.md
features-directives.md
features-script-setup.md
features-template-refs.md
features-typescript.md

Details

From the project README

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

Components

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

Features

Script Setup & TypeScript
TopicDescriptionReference
Script SetupComposition API syntactic sugar for SFCsfeatures-script-setup
TypeScriptType-safe Vue components with Composition APIfeatures-typescript
Reusability
TopicDescriptionReference
ComposablesEncapsulate and reuse stateful logicfeatures-composables
Custom DirectivesLow-level DOM manipulation directivesfeatures-directives
Template RefsDirect DOM and component instance accessfeatures-template-refs

Advanced

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

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

Comments

Markdown supported