Vue Best Practices

MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.

3,356 stars 199 forksFrontend & Design Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add vuejs-ai/skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add vuejs-ai/skills --skill vue-best-practices
Manual install
git clone --depth 1 https://github.com/vuejs-ai/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/vue-best-practices ~/.claude/skills/vue-best-practices

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Vue Best Practices Workflow

Use this skill as an instruction set. Follow the workflow in order unless the user explicitly asks for a different order.

## Core Principles
- **Keep state predictable:** one source of truth, derive everything else.
- **Make data flow explicit:** Props down, Events up for most cases.
- **Decompose by responsibility:** keep each implementation focused and the contracts between implementations explicit.
- **Avoid unnecessary re-renders:** use computed properties and watchers wisely.
- **Readability counts:** write clear, self-documenting code.

## 1) Confirm architecture before coding (required)

- Default stack: Vue 3 + Composition API + `<script setup lang="ts">`.
- If the project explicitly uses Options API, load `vue-options-api-best-practices` skill if available.
- If the project explicitly uses JSX, load `vue-jsx-best-practices` skill if available.

### 1.1 Must-read core references (required)

- Before implementing any Vue task, make sure to read and apply these core references:
  - `references/reactivity.md`
  - `references/sfc.md`
  - `references/component-data-flow.md`
  - `references/composables.md`
- Keep these references in active working context for the entire task, not only when a specific issue appears.

### 1.2 Plan component boundaries before coding (required)
Read the full skill on GitHub

Details

Skill name
vue-best-practices
Path
skills/vue-best-practices/SKILL.md
License
MIT
Repo updated
23 October 2026
Copies
Found in 4 GitHub repos

FAQ

What does the Vue Best Practices skill do?

MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.

How do I install the Vue Best Practices skill?

Claude Code plugin: /plugin marketplace add vuejs-ai/skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Vue Best Practices popular?

It lives in vuejs-ai/skills, which has 3,356 GitHub stars and 199 forks.

Related skills

Vue Router Best Practices

3.4k

vuejs-ai/skills

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

Frontend & Design199

Vue Testing Best Practices

3.4k

vuejs-ai/skills

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

Testing & QA199

Create Adaptable Composable

3.4k

vuejs-ai/skills

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.

Frontend & Design199

Skillhub Design

5.4k

iflytek/skillhub

SkillHub 页面、主题和组件视觉工作的入口。读取仓库随附的主题、完整组件契约、设计规范和实际 React API,按需加载并核对正文完整性。

Frontend & Design816

Wordpress

4.3k

nowork-studio/notfair-plugin

Operate connected WordPress sites through the NotFair MCP. Use for WordPress content, posts, pages, media, comments, terms, design, settings, plugins, themes, HTML files, or approved WordPress changes on a NotFair-connected site. Not the local Application-Password CMS setup used by SEO scripts.

Frontend & DesignIn 2 lists531

Frontend Design Review

3.2k

microsoft/skills

Review and create distinctive, production-grade frontend interfaces with high design quality and design system compliance. Evaluates using three pillars: frictionless insight-to-action, quality craft, and trustworthy building. USE FOR: PR reviews, design reviews, accessibility audits, design system compliance checks, creative frontend design, UI code review, component reviews, responsive design checks, theme testing, and creating memorable UI. DO NOT USE FOR: Backend API reviews, database schema reviews, infrastructure or DevOps work, pure business logic without UI, or non-frontend code.

Frontend & DesignIn 2 lists372

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.