Skip to content
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
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/vuejs-ai-skills/badge.svg)](/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)

  1. {
  2. "name": "vue-skills",
  3. "description": "A collection of skills for Vue.js development.",
  4. "owner": {
  5. "name": "vuejs-ai"
  6. },
  7. "plugins": [
  8. {
  9. "name": "vue-skills-bundle",
  10. "source": "./",
  11. "description": "Install all Vue.js skills at once, including best practices, testing, router, Pinia, JSX, Options API, debug guides, and composable patterns."
  12. },
  13. {
  14. "name": "create-adaptable-composable",
  15. "source": "./skills/create-adaptable-composable",
  16. "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."
  17. },
  18. {
  19. "name": "vue-best-practices",
  20. "source": "./skills/vue-best-practices",
  21. "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."
  22. },
  23. {
  24. "name": "vue-debug-guides",
  25. "source": "./skills/vue-debug-guides",
  26. "description": "Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues."
  27. },
  28. {
  29. "name": "vue-jsx-best-practices",
  30. "source": "./skills/vue-jsx-best-practices",
  31. "description": "JSX syntax in Vue (e.g., class vs className, JSX plugin config)."
  32. },
  33. {
  34. "name": "vue-options-api-best-practices",
  35. "source": "./skills/vue-options-api-best-practices",
  36. "description": "Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only."
  37. },
  38. {
  39. "name": "vue-pinia-best-practices",
  40. "source": "./skills/vue-pinia-best-practices",
  41. "description": "Pinia stores, state management patterns, store setup, and reactivity with stores."
  42. },
  43. {
  44. "name": "vue-router-best-practices",
  45. "source": "./skills/vue-router-best-practices",
  46. "description": "Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions."
  47. },
  48. {
  49. "name": "vue-testing-best-practices",
  50. "source": "./skills/vue-testing-best-practices",
  51. "description": "Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing."
  52. }
  53. ]
  54. }
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)

  1. # vue-skills
  2. Agent skills for Vue 3 development.
  3. > 🚧 **Early Experiment / Community Project**
  4. >
  5. > 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.
  6. ## Installation
  7. ```bash
  8. npx skills add vuejs-ai/skills
  9. ```
  10. ### Claude Code Marketplace
  11. An alternative for Claude Code users:
  12. ```bash
  13. # Add marketplace
  14. /plugin marketplace add vuejs-ai/skills
  15. # Install all skills at once
  16. /plugin install vue-skills-bundle@vue-skills
  17. # Install individual skills
  18. /plugin install vue-best-practices@vue-skills
  19. # Install multiple skills
  20. /plugin install vue-best-practices@vue-skills vue-router-best-practices@vue-skills
  21. ```
  22. ## Usage
  23. For most reliable results, prefix your prompt with `use vue skill`:
  24. ```
  25. Use vue skill, <your prompt here>
  26. ```
  27. 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.
  28. ## Available Skills
  29. | Skill | When to use | Description |
  30. |-------|-------------|-------------|
  31. | **vue-best-practices** | Vue 3 + Composition API + TypeScript | Best practices, common gotchas, SSR guidance, performance |
  32. | **vue-options-api-best-practices** | Options API (`data()`, `methods`) | `this` context, lifecycle, TypeScript with Options API |
  33. | **vue-router-best-practices** | Vue Router 4 | Navigation guards, route params, route-component lifecycle |
  34. | **vue-pinia-best-practices** | Pinia for state management | Store setup, reactivity, state patterns |
  35. | **vue-testing-best-practices** | Writing component or E2E tests | Vitest, Vue Test Utils, Playwright |
  36. | **vue-jsx-best-practices** | JSX in Vue | Syntax differences from React JSX |
  37. | **vue-debug-guides** | Debugging Vue 3 issues | Runtime errors, warnings, async error handling, hydration issues |
  38. | **create-adaptable-composable** | Creating reusable composables | `MaybeRef`/`MaybeRefOrGetter` input patterns |
  39. ## Examples
  40. ### vue-best-practices
  41. #### Demo - Todo App
  42. Prompt
  43. ```
  44. create a todo app
  45. ```
  46. 🔎 See demo [full output](https://github.com/vuejs-ai/skills/tree/dev/demo/todo-app).
  47. #### Changes after using skill
  48. - More readable [code](https://github.com/vuejs-ai/skills/tree/dev/demo/todo-app/with-skills/App.vue)
  49. - [Components](https://github.com/vuejs-ai/skills/tree/dev/demo/todo-app/with-skills/components) split
  50. - Moved states into composables ([useTodos.ts](https://github.com/vuejs-ai/skills/tree/dev/demo/todo-app/with-skills/composables/useTodos.ts))
  51. - Use `shallowRef` for primitive reactive data (see [Reactivity](skills/vue-best-practices/references/reactivity.md) reference)
  52. ### create-adaptable-composable
  53. Original from `create-agnostic-composable` of [`serkodev/vue-skills`](https://github.com/serkodev/vue-skills/tree/main)
  54. #### Demo - useHidden
  55. Prompt
  56. ```
  57. create a reusable composable for controlling hidden for a element
  58. ```
  59. 🔎 See demo [full output](https://github.com/vuejs-ai/skills/tree/dev/demo/hidden-composable).
  60. #### Changes after using skill
  61. - Used `MaybeRef` and `MaybeRefOrGetter` for input parameters for reactivity flexibility.
  62. ```ts
  63. export interface UseHiddenOptions {
  64. hidden?: MaybeRef<boolean>
  65. initialHidden?: MaybeRefOrGetter<boolean>
  66. syncAria?: boolean
  67. }
  68. export function useHidden(
  69. target?: MaybeRefOrGetter<HTMLElement | null | undefined>,
  70. options: UseHiddenOptions = {},
  71. )
  72. ```
  73. ## Methodology
  74. ### Skill Types
  75. Skills are classified into two categories:
  76. - **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.
  77. - **Efficiency**: AI *can* solve the problem but not well. These provide optimal patterns, best practices, and consistent approaches that improve solution quality.
  78. ### Validation Process
  79. Each skill rule is validated through automated evals:
  80. 1. **Baseline**: Run without skill installed
  81. 2. **With-skill**: Run with skill installed
  82. A rule is kept only if it enables the model to solve problems it couldn't solve without it.
  83. | Baseline | With Skill | Action |
  84. |----------|------------|--------|
  85. | Fail | Pass | Keep |
  86. | Pass | Pass | Considered removed |
  87. ## Contributing
  88. Development happens on the `dev` branch. The `main` branch is reserved for published skills only.
  89. 1. Create a feature branch from `dev`
  90. 2. Submit a PR to `dev`
  91. 3. After approval, changes are merged to `dev`
  92. 4. Maintainers sync `dev` → `main` via GitHub Action when ready to publish
  93. ## Related projects
  94. - [antfu/skills](https://github.com/antfu/skills) - Anthony Fu's curated collection of agent skills for Vue/Vite/Nuxt
  95. - [vueuse/vueuse-skills](https://github.com/vueuse/vueuse-skills) - Agent skills for VueUse development
  96. - [onmax/nuxt-skills](https://github.com/onmax/nuxt-skills) - Agent skills for Nuxt development
  97. ## License
  98. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.