本文へスキップ
Kitbay
スキル

vue

MIT2026年11月13日 更新51,383GitHubスター

A copy, kept in the AIRI repository, of Anthony Fu's Vue skill, generated from the Vue documentation.

スキルの内容

A copy, kept in the AIRI repository, of Anthony Fu's Vue skill, generated from the Vue documentation. It steers the agent towards Vue 3.5 with TypeScript, script setup and the Composition API, preferring shallowRef where deep reactivity is not needed and avoiding destructured reactive props. Three reference files cover the script setup macros such as defineProps, defineEmits and defineModel, the reactivity and lifecycle APIs including watchers and effect scopes, and built-in components and directives such as Transition, Teleport, Suspense, KeepAlive and v-memo. A quick reference gives a full single-file component example and the main imports grouped by purpose.

できること

  • Write Vue 3 single-file components with script setup
  • Use defineProps, defineEmits and defineModel
  • Choose between ref and shallowRef
  • Use Transition, Teleport and Suspense