Best use case
vue is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Vue.js progressive framework with Composition API and Pinia. Use for .vue files.
Teams using vue should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/vue/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How vue Compares
| Feature / Agent | vue | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Vue.js progressive framework with Composition API and Pinia. Use for .vue files.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Vue.js
Vue is a progressive framework for building user interfaces. Vue 3.5 (2025) solidifies the Composition API and introduces "Vapor Mode" for solid-js like performance.
## When to Use
- **Progressive Adoption**: Drop it into an existing HTML page or build a full SPA.
- **Developer Experience**: Often cited as having the best balance of simplicity and power.
- **Performance**: With Vapor Mode, it rivals the fastest signals-based frameworks.
## Quick Start (Composition API)
```vue
<script setup>
import { ref, computed } from "vue";
const count = ref(0);
const double = computed(() => count.value * 2);
function increment() {
count.value++;
}
</script>
<template>
<button @click="increment">
Count is: {{ count }}, Double is: {{ double }}
</button>
</template>
```
## Core Concepts
### Composition API (`<script setup>`)
The standard way to write Vue components. It groups logic by feature, not by option type (data, methods, mounted).
### Reactivity System (Signals)
Vue's reactivity is based on proxies. `ref()` and `reactive()` allow fine-grained dependency tracking.
### Vapor Mode (Opt-in)
A compilation strategy that compiles Vue components into highly efficient JavaScript that modifies the DOM directly (no Virtual DOM).
## Best Practices (2025)
**Do**:
- **Use `<script setup>`**: It is less verbose and provides better TypeScript support.
- **Use `defineModel`**: The new standard for two-way binding props (Vue 3.4+).
- **Use Composables**: Extract logic into reusable `useFeature()` functions (Vue's version of Hooks).
**Don't**:
- **Don't mix Options and Composition API**: Stick to Composition API for new projects.
- **Don't destructure `props`**: You lose reactivity (unless using `toRefs` or Vue 3.5 reactive destructuring).
## References
- [Vue.js Documentation](https://vuejs.org/)
- [Vue Vapor Mode](https://github.com/vuejs/core-vapor)Related Skills
template
Expert [skill-name] assistance covering [feature 1], [feature 2], and [feature 3]. Use when [working with X], [debugging Y], or [implementing Z].
zsh
Zsh shell with oh-my-zsh. Use for terminal shell.
zed
Zed high-performance collaborative editor. Use for fast editing.
xcode
Xcode Apple development IDE with simulators. Use for iOS/macOS development.
webstorm
WebStorm JavaScript IDE with debugging. Use for web development.
webpack
Webpack module bundler with loaders and plugins. Use for bundling.
warp
Warp modern terminal with AI. Use for terminal work.
vscode
Visual Studio Code editor with extensions and debugging. Use for code editing.
vite
Vite fast build tool with HMR. Use for modern frontend builds.
visual-studio
Visual Studio IDE for Windows with debugging and profiling. Use for .NET development.
vim
Vim text editor with motions, macros, and plugins. Use for terminal editing.
turbopack
Turbopack Rust-powered bundler. Use for fast builds.