SKILL43.0K installs3.2K

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.

Type
Skill
Author
vuejs-ai
Category
Frontend
GitHub stars
3.2K
Installs
43.0K
Last updated
October 23, 2026

Install

npx skills add https://github.com/vuejs-ai/skills --skill vue-best-practices

Use cases


Frequently Asked Questions

Which API does this skill default to?

Composition API with script setup and TypeScript, unless a project explicitly requires Options API.

Which files should trigger this skill?

Any .vue file, plus Vue Router, Pinia, or Vite-with-Vue work.

Does it cover SSR and tooling?

Yes, it covers Vue 3, SSR, Volar, and vue-tsc.


About this skill

Sets the standard for Vue work: Composition API with `<script setup>` and TypeScript, plus guidance on Vue 3, SSR, Volar, and vue-tsc. It should be loaded for any .vue file, Vue Router, Pinia, or Vite-with-Vue task, and defaults to Composition API unless a project explicitly requires Options API. Useful as a guardrail during review and refactoring as much as during new code.

Summary written with AI assistance from the project's public description.


Categories


More from vuejs-ai


Similar Skills