Back to search
vue-skills
MarketplaceWorks with Claude CodeGitHub
A collection of skills for Vue.js development.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Checked today
Badge for your README
Markdown
[](/listings/vuejs-ai-skills)HTML
<a href="/listings/vuejs-ai-skills"><img src="/api/listings/vuejs-ai-skills/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
npx skills add vuejs-ai/skills
Claude Code Marketplace
An alternative for Claude Code users:
# Add marketplace /plugin marketplace add vuejs-ai/skills # Install all skills at once /plugin install vue-skills-bundle@vue-skills # Install individual skills /plugin install vue-best-practices@vue-skills # Install multiple skills /plugin install vue-best-practices@vue-skills vue-router-best-practices@vue-skills
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
.claude-plugin/marketplace.json · Manifest · 54 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- {
- "name": "vue-skills",
- "description": "A collection of skills for Vue.js development.",
- "owner": {
- "name": "vuejs-ai"
- },
- "plugins": [
- {
- "name": "vue-skills-bundle",
- "source": "./",
- "description": "Install all Vue.js skills at once, including best practices, testing, router, Pinia, JSX, Options API, debug guides, and composable patterns."
- },
- {
- "name": "create-adaptable-composable",
- "source": "./skills/create-adaptable-composable",
- "description": "Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()/toRef() inside reactive effects (watch/watchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables."
- },
- {
- "name": "vue-best-practices",
- "source": "./skills/vue-best-practices",
- "description": "A collection of best practices and tips for developing applications using Vue.js. MUST be used when developing, refactoring, or reviewing Vue.js and Nuxt tasks."
- },
- {
- "name": "vue-debug-guides",
- "source": "./skills/vue-debug-guides",
- "description": "Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues."
- },
- {
- "name": "vue-jsx-best-practices",
- "source": "./skills/vue-jsx-best-practices",
- "description": "JSX syntax in Vue (e.g., class vs className, JSX plugin config)."
- },
- {
- "name": "vue-options-api-best-practices",
- "source": "./skills/vue-options-api-best-practices",
- "description": "Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only."
- },
- {
- "name": "vue-pinia-best-practices",
- "source": "./skills/vue-pinia-best-practices",
- "description": "Pinia stores, state management patterns, store setup, and reactivity with stores."
- },
- {
- "name": "vue-router-best-practices",
- "source": "./skills/vue-router-best-practices",
- "description": "Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions."
- },
- {
- "name": "vue-testing-best-practices",
- "source": "./skills/vue-testing-best-practices",
- "description": "Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing."
- }
- ]
- }
README.md · README · 149 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- # vue-skills
- Agent skills for Vue 3 development.
- > 🚧 **Early Experiment / Community Project**
- >
- > This repository is an early experiment in creating specialized skills for AI agents to enhance Vue 3 development. Skills are derived from real-world issues but may be incomplete due to hallucinations—please give feedback. If valuable, I plan to propose transferring this project to the Vue organization to benefit the wider community.
- ## Installation
- ```bash
- npx skills add vuejs-ai/skills
- ```
- ### Claude Code Marketplace
- An alternative for Claude Code users:
- ```bash
- # Add marketplace
- /plugin marketplace add vuejs-ai/skills
- # Install all skills at once
- /plugin install vue-skills-bundle@vue-skills
- # Install individual skills
- /plugin install vue-best-practices@vue-skills
- # Install multiple skills
- /plugin install vue-best-practices@vue-skills vue-router-best-practices@vue-skills
- ```
- ## Usage
- For most reliable results, prefix your prompt with `use vue skill`:
- ```
- Use vue skill, <your prompt here>
- ```
- This explicitly triggers the skill and ensures the AI follows the documented patterns. Without the prefix, skill triggering may be inconsistent depending on how closely your prompt matches the skill's description keywords.
- ## Available Skills
- | Skill | When to use | Description |
- |-------|-------------|-------------|
- | **vue-best-practices** | Vue 3 + Composition API + TypeScript | Best practices, common gotchas, SSR guidance, performance |
- | **vue-options-api-best-practices** | Options API (`data()`, `methods`) | `this` context, lifecycle, TypeScript with Options API |
- | **vue-router-best-practices** | Vue Router 4 | Navigation guards, route params, route-component lifecycle |
- | **vue-pinia-best-practices** | Pinia for state management | Store setup, reactivity, state patterns |
- | **vue-testing-best-practices** | Writing component or E2E tests | Vitest, Vue Test Utils, Playwright |
- | **vue-jsx-best-practices** | JSX in Vue | Syntax differences from React JSX |
- | **vue-debug-guides** | Debugging Vue 3 issues | Runtime errors, warnings, async error handling, hydration issues |
- | **create-adaptable-composable** | Creating reusable composables | `MaybeRef`/`MaybeRefOrGetter` input patterns |
- ## Examples
- ### vue-best-practices
- #### Demo - Todo App
- Prompt
- ```
- create a todo app
- ```
- 🔎 See demo [full output](https://github.com/vuejs-ai/skills/tree/dev/demo/todo-app).
- #### Changes after using skill
- - More readable [code](https://github.com/vuejs-ai/skills/tree/dev/demo/todo-app/with-skills/App.vue)
- - [Components](https://github.com/vuejs-ai/skills/tree/dev/demo/todo-app/with-skills/components) split
- - Moved states into composables ([useTodos.ts](https://github.com/vuejs-ai/skills/tree/dev/demo/todo-app/with-skills/composables/useTodos.ts))
- - Use `shallowRef` for primitive reactive data (see [Reactivity](skills/vue-best-practices/references/reactivity.md) reference)
- ### create-adaptable-composable
- Original from `create-agnostic-composable` of [`serkodev/vue-skills`](https://github.com/serkodev/vue-skills/tree/main)
- #### Demo - useHidden
- Prompt
- ```
- create a reusable composable for controlling hidden for a element
- ```
- 🔎 See demo [full output](https://github.com/vuejs-ai/skills/tree/dev/demo/hidden-composable).
- #### Changes after using skill
- - Used `MaybeRef` and `MaybeRefOrGetter` for input parameters for reactivity flexibility.
- ```ts
- export interface UseHiddenOptions {
- hidden?: MaybeRef<boolean>
- initialHidden?: MaybeRefOrGetter<boolean>
- syncAria?: boolean
- }
- export function useHidden(
- target?: MaybeRefOrGetter<HTMLElement | null | undefined>,
- options: UseHiddenOptions = {},
- )
- ```
- ## Methodology
- ### Skill Types
- Skills are classified into two categories:
- - **Capability**: AI *cannot* solve the problem without the skill. These address version-specific issues, undocumented behaviors, recent features, or edge cases outside AI's training data.
- - **Efficiency**: AI *can* solve the problem but not well. These provide optimal patterns, best practices, and consistent approaches that improve solution quality.
- ### Validation Process
- Each skill rule is validated through automated evals:
- 1. **Baseline**: Run without skill installed
- 2. **With-skill**: Run with skill installed
- A rule is kept only if it enables the model to solve problems it couldn't solve without it.
- | Baseline | With Skill | Action |
- |----------|------------|--------|
- | Fail | Pass | Keep |
- | Pass | Pass | Considered removed |
- ## Contributing
- Development happens on the `dev` branch. The `main` branch is reserved for published skills only.
- 1. Create a feature branch from `dev`
- 2. Submit a PR to `dev`
- 3. After approval, changes are merged to `dev`
- 4. Maintainers sync `dev` → `main` via GitHub Action when ready to publish
- ## Related projects
- - [antfu/skills](https://github.com/antfu/skills) - Anthony Fu's curated collection of agent skills for Vue/Vite/Nuxt
- - [vueuse/vueuse-skills](https://github.com/vueuse/vueuse-skills) - Agent skills for VueUse development
- - [onmax/nuxt-skills](https://github.com/onmax/nuxt-skills) - Agent skills for Nuxt development
- ## License
- MIT
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.