Back to list
kprsnt2

vue

by kprsnt2

0🍴 0📅 Jan 15, 2026

SKILL.md


name: vue description: Vue.js development best practices including Composition API, state management, and performance. globs: ["/*.vue", "/nuxt.config.", "**/vite.config."] priority: 95 tags: ["framework"]

Vue.js Best Practices

Composition API (Vue 3)

  • Use script setup for cleaner code
  • Use ref() for primitives, reactive() for objects
  • Use computed() for derived state
  • Use watch/watchEffect for side effects
  • Create composables for reusable logic

Component Design

  • One component per file
  • Use defineProps with TypeScript
  • Use defineEmits for events
  • Keep templates readable
  • Use slots for flexibility

State Management

  • Use Pinia over Vuex
  • Keep stores focused
  • Use getters for derived state
  • Use actions for async logic

Performance

  • Use v-show for frequent toggles
  • Use v-if for conditional rendering
  • Use key for list rendering
  • Lazy load routes
  • Use defineAsyncComponent

Best Practices

  • Follow Vue Style Guide (Priority A rules)
  • Use SFC format
  • Validate props
  • Use provide/inject sparingly

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon