/antfu:vue-best-practicesfrom antfu
Enforces Vue 3 best practices: Composition API with `<script setup>` and TypeScript, SFC structure, reactivity patterns, and component architecture. Loads for any Vue, .vue, Vue Router, Pinia, or Vite+Vue work.
Ships in antfu. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill as an instruction set. Follow the workflow in order unless the user explicitly asks for a different order.
<script setup lang="ts">.vue-options-api-best-practices skill if available.vue-jsx-best-practices skill if available.references/reactivity.mdreferences/sfc.mdreferences/component-data-flow.mdreferences/composables.mdCreate a brief component map before implementation for any non-trivial feature.
components/<feature>/..., composables/use<Feature>.ts) when adding more than one component.These are essential, must-know foundations. Apply all of them in every Vue task using the core references already loaded in section 1.1.
1.1: reactivityref/reactive), derive everything possible with computed.1.1: sfc<script> → <template> → <style>.v-html, list rendering, conditional rendering choices).Split a component when it has more than one clear responsibility (e.g. data orchestration + UI, or multiple independent UI sections).
useXxx()).Apply objective split triggers. Split the component if any condition is true:
Entry/root and route view rule:
1.1: component-data-flowv-model only for true two-way component contracts.defineProps, defineEmits, and InjectionKey as needed.1.1: composablesDo not add these by default. Load the matching reference only when the requirement exists.
<KeepAlive> for stateful view caching -> component-keep-alive<Teleport> for overlays/portals -> component-teleport<Suspense> for async subtree fallback boundaries -> component-suspense<Transition> for enter/leave effects -> transition<TransitionGroup> for animated list mutations -> transition-groupUse these only when there is explicit product or technical need.
Performance work is a post-functionality pass. Do not optimize before core behavior is implemented and verified.
references/animation-class-based-technique.md (opens in a new tab)references/animation-state-driven-technique.md (opens in a new tab)references/component-async.md (opens in a new tab)references/component-data-flow.md (opens in a new tab)references/component-fallthrough-attrs.md (opens in a new tab)references/component-keep-alive.md (opens in a new tab)references/component-slots.md (opens in a new tab)references/component-suspense.md (opens in a new tab)references/component-teleport.md (opens in a new tab)references/component-transition-group.md (opens in a new tab)references/component-transition.md (opens in a new tab)references/composables.md (opens in a new tab)references/directives.md (opens in a new tab)references/perf-avoid-component-abstraction-in-lists.md (opens in a new tab)references/perf-v-once-v-memo-directives.md (opens in a new tab)references/perf-virtualize-large-lists.md (opens in a new tab)references/plugins.md (opens in a new tab)references/reactivity.md (opens in a new tab)references/render-functions.md (opens in a new tab)references/sfc.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Vue, TypeScript, Nuxt, Vite
vue-3, composition-api, script-setup, vue-router, pinia, vite
3 plugins in one repository ship this exact skill · first indexed Jun 27, 2026
17 skills in this plugin
/antfuAnthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences./nuxtNuxt full-stack Vue framework with SSR, auto-imports, and file-based routing. Use when working with Nuxt apps, server routes, useFetch, middleware, or hybrid rendering./piniaPinia official Vue state management library, type-safe and extensible. Use when defining stores, working with state/getters/actions, or implementing store patterns in Vue apps.npx claudepluginhub ulpi-io/plugin-marketplace --plugin antfuOther plugins' skills for the same job