BeClaude

vue

619Community RegistryGeneralby onmax

Vue 3 Composition API, components, composables. Use when editing .vue files, writing reactive code, or encountering ref, computed, watch, defineProps errors.

First seen 4/17/2026

Summary

This skill provides expert guidance on Vue 3 Composition API, including components, composables, and reactive patterns.

  • It helps developers write idiomatic Vue code using ref, computed, watch, and script setup, and troubleshoot common errors like defineProps issues.

Overview

[!WARNING]

This repo may be replaced by nuxt-skill.onmax.me. Stay tuned.

[!TIP]

Debug Vite issues with Vite Doctor.

<p align="center"> <img src="https://raw.githubusercontent.com/onmax/nuxt-skills/main/.github/nuxt-skills.webp" alt="Nuxt Skills" width="100%"> <br> <sub>Design inspired by <a href="https://github.com/HugoRCD">HugoRCD</a>'s work</sub> </p>

<p align="center">Vue, Nuxt, and NuxtHub skills for AI coding assistants.</p>

<p align="center"> <img src="https://raw.githubusercontent.com/onmax/nuxt-skills/main/.github/badge-claude-code.svg" alt="Claude Code"> <img src="https://raw.githubusercontent.com/onmax/nuxt-skills/main/.github/badge-copilot.svg" alt="GitHub Copilot"> <img src="https://raw.githubusercontent.com/onmax/nuxt-skills/main/.github/badge-codex.svg" alt="OpenAI Codex"> <img src="https://raw.githubusercontent.com/onmax/nuxt-skills/main/.github/badge-gemini.svg" alt="Google Gemini"> <img src="https://raw.githubusercontent.com/onmax/nuxt-skills/main/.github/badge-opencode.svg" alt="OpenCode"> </p>

<p align="center"> <a href="https://github.com/nuxt/nuxt/discussions/34059"> šŸ”— Related Nuxt RFC: Bundling Agent Skills in Nuxt Modules </a> </p>

Installation

bash
npx skills add onmax/nuxt-skills

The `skills` CLI auto-detects your installed agents and provides an interactive picker. Use -g for global (user-wide) or -y to install all skills.

Works with Claude Code, Cursor, Codex, OpenCode, GitHub Copilot, Antigravity, Roo Code, and more.

Claude Code Marketplace

An alternative for Claude Code users:

bash
# Add marketplace
/plugin marketplace add onmax/nuxt-skills

# Install Nuxt Skills
/plugin install nuxt-skills@nuxt-skills

Claude Code installs Nuxt Skills as one plugin and dynamically discovers all included skill entries.

Manual Installation

Clone the repository and copy skill folders to your agent's skills directory:

AgentProject pathGlobal path
Claude Code.claude/skills/~/.claude/skills/
Cursor.cursor/skills/~/.cursor/skills/
Codex.codex/skills/~/.codex/skills/
OpenCode.opencode/skill/~/.config/opencode/skill/
Copilot.github/skills/—

Skills

SkillDescription
vueVue 3 Composition API, components, composables, testing
nuxtNuxt 4+ server routes, routing, middleware, config
nuxt-modulesCreating Nuxt modules with defineNuxtModule, Kit utilities, testing
nuxthubNuxtHub v0.10 database, KV, blob, cache, multi-cloud
nuxt-contentNuxt Content v3 collections, queries, MDC rendering, NuxtStudio
nuxt-uiNuxt UI v4 components, theming, forms, overlays, composables
nuxt-better-authAuth with @onmax/nuxt-better-auth, useUserSession, route protection, clientOnly
reka-uiReka UI headless Vue components, accessible primitives, props/emits/slots
document-writerWriting documentation for Nuxt ecosystem - MDC, style, structure, code examples
ts-libraryTypeScript library authoring - exports, tsdown, API patterns, type tricks, CI
motionMotion Vue animations - motion component, composables, scroll, gestures
vueuseVueUse composables - state, browser, sensors, network, animation utilities
nuxt-seoNuxt SEO meta-module - robots, sitemap, og-image, schema-org, site config
vitestVitest testing - test API, mocking, coverage, type testing, environments
viteVite build tool - config, plugins, HMR, SSR, library mode, performance
pnpmpnpm package manager - workspaces, catalogs, CLI commands, CI/CD
tsdowntsdown bundler - TypeScript libraries, DTS generation, package validation
tresjsTresJS 3D framework - TresCanvas, Cientos helpers, post-processing effects
writing-web-documentationWrite and review developer docs - page types, house style, templates, web-project rules

How Skills Work

Skills follow the Agent Skills open format. They can be activated in two ways:

  1. Auto-discovery — The agent reads each skill's description and loads it when relevant to your task
  2. Manual invocation — Type /skill-name (e.g., /nuxt) to explicitly load a skill
You're working on...Agent may auto-load...
.vue filevue skill
server/api/ routenuxt skill
nuxt.config.tsnuxt skill
NuxtHub storagenuxthub skill
Auth/login/sessionnuxt-better-auth

Structure

Follows agentskills standard format.

code
nuxt-skills/
ā”œā”€ā”€ skills/                 # Skills (agentskills format)
│   ā”œā”€ā”€ vue/
│   │   ā”œā”€ā”€ SKILL.md        # Entry point with frontmatter
│   │   └── references/     # Sub-files loaded on-demand
│   ā”œā”€ā”€ nuxt/
│   ā”œā”€ā”€ nuxt-modules/
│   ā”œā”€ā”€ nuxthub/
│   ā”œā”€ā”€ nuxt-content/
│   ā”œā”€ā”€ nuxt-ui/
│   ā”œā”€ā”€ nuxt-better-auth/
│   ā”œā”€ā”€ reka-ui/
│   ā”œā”€ā”€ document-writer/
│   ā”œā”€ā”€ ts-library/
│   ā”œā”€ā”€ motion/
│   ā”œā”€ā”€ vueuse/
│   ā”œā”€ā”€ nuxt-seo/
│   ā”œā”€ā”€ vitest/
│   ā”œā”€ā”€ vite/
│   ā”œā”€ā”€ pnpm/
│   ā”œā”€ā”€ tsdown/
│   ā”œā”€ā”€ tresjs/
│   └── writing-web-documentation/
└── .claude-plugin/
    ā”œā”€ā”€ plugin.json         # Claude Code plugin manifest
    └── marketplace.json    # Claude Code marketplace

Automated Maintenance

Skills are kept up-to-date via GitHub Actions:

WorkflowSchedulePurpose
update-skills.ymlWeekly (Monday)Regenerates reka-ui, nuxt-ui, and vueuse docs from upstream
skill-maintenance.ymlBiweekly (1st & 15th)Claude analyzes upstream changelogs, creates PRs if updates needed

The maintenance workflow uses claude-code-action to intelligently detect breaking changes, new features, and deprecations from upstream sources.

Resources

Acknowledgments

  • •vue skill gotchas from vuejs-ai/skills vue-best-practices (200+ rules)
  • •vitest, vite, pnpm, tsdown skills from @antfu's skills

License

MIT

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install vue@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Writing a Vue 3 component with Composition API and script setup
Creating a reusable composable for shared state or logic
Debugging reactivity issues with ref, computed, or watch
Migrating an Options API component to Composition API
Defining props and emits with TypeScript in script setup
Optimizing component performance with computed and watchEffect

Usage Examples

1

/vue Create a Vue 3 component with script setup that fetches data on mount and displays it in a list

2

/vue Write a composable called useCounter that exposes count, increment, and decrement

3

/vue Debug this component: the computed property is not updating when the ref changes

View source on GitHub
apivuevue3composition-apicomponentscomposablesreactivityscript-setup

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is vue?

This skill provides expert guidance on Vue 3 Composition API, including components, composables, and reactive patterns. It helps developers write idiomatic Vue code using ref, computed, watch, and script setup, and troubleshoot common errors like defineProps issues.

How to install vue?

To install vue: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install vue@<marketplace>. Finally, /plugin in Claude Code.

What is vue best for?

vue is a plugin categorized under General. It is designed for: api, vue, vue3, composition-api, components, composables, reactivity, script-setup. Created by onmax.

What can I use vue for?

vue is useful for: Writing a Vue 3 component with Composition API and script setup; Creating a reusable composable for shared state or logic; Debugging reactivity issues with ref, computed, or watch; Migrating an Options API component to Composition API; Defining props and emits with TypeScript in script setup; Optimizing component performance with computed and watchEffect.