SponsoredSkillry: Agent Skills with taste. Designed and tested in-house, so one prompt gives you polished slides, web pages and launch videos.Skillry: Agent Skills with taste Try free Skills
Agent Skills
  • Skills
  • Picks
  • ShopSoon
  • Solutions
  • Specification
  • Submit
Agent Skills
Agent Skills

Discover and share powerful Agent Skills for AI assistants

GitHubX (Twitter)
Skills
  • View All
  • Install Guide
  • Documentation
  • Solutions
  • Product Launch Video
  • Submit
Tools
  • Claude Code
  • Cursor
  • OpenCode
  • Codex CLI
  • Gemini CLI
Resources
  • anthropics/skills
  • awesome-claude-skills
  • vercel-labs/agent-skills
  • kepano/obsidian-skills
Company
  • About
  • Blog
  • Authors
  • Changelog
  • Privacy Policy
  • Terms of Service

Sponsored by Vectrust @ OpenDev Org & NextRouter Alliance

© 2026 EvergreenAI. Built with JimmyLv
vue - Agent Skill - Agent Skills
Home/Skills/vue

vue

404

Use when writing Vue 3 components and composables: `<script setup>` macros (defineProps, defineEmits, defineModel, defineSlots), refs, computed, watchers, lifecycle hooks, and Transition, Teleport, Suspense and KeepAlive.

Download FolderView on GitHub

CLI Install

Recommended

Use the skills CLI to install this skill with one command. Auto-detects all installed AI assistants.

Method 1 - skills CLI

npx skills i onmax/nuxt-skills/skills/vue

Method 2 - openskills (supports sync & update)

npx openskills install onmax/nuxt-skills

Auto-detects Claude Code, Cursor, Codex CLI, Gemini CLI, and more. One install, works everywhere.

Installation Path

Download and extract to one of the following locations:

~/.claude/skills/vue/
SKILL.md

Skill Instructions

Back

Run with Cloud Agent

No setup needed. Let our cloud agents run this skill for you.

Select Provider

Select Model

ClaudeClaude Sonnet 5.5
$0.20/task

Best for coding tasks

Join Cloud Agent Waitlist

No setup required

Before you install

Read from this skill's files on GitHub on 2026-11-09. These are facts about the files, not a review of how well the skill works.

Files
4 files, 0 scripts, SKILL.md is 261 words
Needs on your machine
Nothing beyond the agent: no scripts or install commands found
Web addresses in its scripts
No URLs in its scripts
Worth a look before running
No sudo, rm -rf, curl | sh or shell=True in its scripts
Agent Skills spec
name and description present, name matches the folder
Last upstream change
2026-11-02

We ran this skill ourselves. Here is what went in and what came out.

Field noteRan on 2026-11-22

Claude Code 2.1.329, claude-opus-5-5, headless, 76s. Claude picked the skill on its own from a plain prompt. How we test skills

Terminal log of the run, rendered from Claude Code's stream-json output. Long steps are trimmed.
Terminal log of the run, rendered from Claude Code's stream-json output. Long steps are trimmed.

Input

Empty folder. Prompt: a useCountdown(seconds) composable and a CountdownButton.vue with defineModel for 'running' that emits 'done'.

Output

src/composables/useCountdown.ts (end-time based, survives background tab throttling, cleans up on unmount) and src/components/CountdownButton.vue using v-model:running.

What happened

It passed its own behavior test and a strict type-check. Edge cases were thought through: seconds of 0 or less resets running to false.

Use it when

Composables and components using Vue 3.4+ macros like defineModel.

Skip it when

Options API code.

Where this skill sits

  • Vue, then Nuxt if you mean Nuxt

    While editing a .vue file. Composition API, props, emits.

Vue

Based on Vue 3.5, generated at 2026-09-25. Always use Composition API with <script setup lang="ts">.

Preferences
  • Prefer TypeScript over JavaScript
  • Prefer <script setup lang="ts"> over <script>
  • For performance, prefer shallowRef over ref if deep reactivity is not needed
  • Always use Composition API over Options API
  • Discourage using Reactive Props Destructure
Core
TopicDescriptionReference
Script Setup & Macros<script setup>, defineProps, defineEmits, defineModel, defineExpose, defineOptions, defineSlots, genericsscript-setup-macros
Reactivity & Lifecycleref, shallowRef, computed, watch, watchEffect, effectScope, lifecycle hooks, composablescore-new-apis
Features
TopicDescriptionReference
Built-in Components & DirectivesTransition, Teleport, Suspense, KeepAlive, v-memo, custom directivesadvanced-patterns
Quick Reference
Component Template
<script setup lang="ts">
import { ref, computed, watch, onMounted } from 'vue'
 
const props = defineProps<{
  title: string
  count?: number
}>()
 
const emit = defineEmits


















Key Imports
// Reactivity
import { ref, shallowRef, computed, reactive, readonly, toRef, toRefs, toValue } from 'vue'
 
// Watchers
import { watch, watchEffect, watchPostEffect, onWatcherCleanup } from 'vue'
 
// Lifecycle
import { onMounted, onUpdated, onUnmounted, onBeforeMount, onBeforeUpdate, onBeforeUnmount } from 'vue'
 
// Utilities
import { nextTick, defineComponent, defineAsyncComponent } from 'vue'
<{
update: [value: string]
}>()
const model = defineModel<string>()
const doubled = computed(() => (props.count ?? 0) * 2)
watch(() => props.title, (newVal) => {
console.log('Title changed:', newVal)
})
onMounted(() => {
console.log('Component mounted')
})
</script>
<template>
<div>{{ title }} - {{ doubled }}</div>
</template>