Skip to content
Kitbay
Skill

vue-best-practices

MITUpdated on Nov 13, 202651,383GitHub stars

A copy, kept in the AIRI repository, of the vuejs-ai vue-best-practices skill for any work on Vue.js code, including .vue files, Vue Router, Pinia and Vite projects.

What the skill teaches

A copy, kept in the AIRI repository, of the vuejs-ai vue-best-practices skill for any work on Vue.js code, including .vue files, Vue Router, Pinia and Vite projects. It sets Vue 3 with the Composition API, script setup and TypeScript as the default, using the Options API only when a project requires it, and covers server-side rendering and the Volar and vue-tsc tooling. The agent plans component boundaries before coding, splits large components into smaller ones with clear props and events, keeps state minimal and derives the rest with computed values, moves reusable logic into composables and uses slots, Teleport or Suspense only when needed. Performance work comes after behaviour is correct.

Capabilities

  • Write Vue 3 components with script setup and TypeScript
  • Split large components by props and events
  • Derive state with computed values and composables