V

vue

by @antfuv
4.6(540)

Vueフレームワークを活用してフロントエンド開発を行い、AIエージェントがインタラクティブなユーザーインターフェースとシングルページアプリケーションを効率的に構築できるようにします。

Vue.jsVue CLISingle File Components (SFC)Vue RouterVuexGitHub
インストール方法
npx skills add antfu/skills --skill vue
compare_arrows

Before / After 効果比較

1
使用前

AIコーディングエージェントはVueプロジェクト開発において、コンポーネント設計、状態管理、ルーティング設定などの課題に直面する可能性があります。生成されるコードは最適化が不十分で、複雑なアプリケーションの要件を満たすのが難しいです。

使用後

Vueスキルにより、AIコーディングエージェントはVueフロントエンド開発を効率的に行えるようになります。構造が明確でパフォーマンスに優れたVueコードを生成し、プロジェクト開発を加速させ、ユーザーインターフェースの品質を向上させます。

description SKILL.md

Vue

Based on Vue 3.5. Always use Composition API with <script setup lang="ts">.

Preferences

  • Prefer TypeScript over JavaScript
  • Prefer <script setup lang="ts"> over <script>
  • For performance, prefer shallowRef over ref if deep reactivity is not needed
  • Always use Composition API over Options API
  • Discourage using Reactive Props Destructure

Core

TopicDescriptionReference
Script Setup & Macros<script setup>, defineProps, defineEmits, defineModel, defineExpose, defineOptions, defineSlots, genericsscript-setup-macros
Reactivity & Lifecycleref, shallowRef, computed, watch, watchEffect, effectScope, lifecycle hooks, composablescore-new-apis

Features

TopicDescriptionReference
Built-in Components & DirectivesTransition, Teleport, Suspense, KeepAlive, v-memo, custom directivesadvanced-patterns

Quick Reference

Component Template

<script setup lang="ts">
import { ref, computed, watch, onMounted } from 'vue'

const props = defineProps<{
  title: string
  count?: number
}>()

const emit = defineEmits<{
  update: [value: string]
}>()

const model = defineModel<string>()

const doubled = computed(() => (props.count ?? 0) * 2)

watch(() => props.title, (newVal) => {
  console.log('Title changed:', newVal)
})

onMounted(() => {
  console.log('Component mounted')
})
</script>

<template>
  <div>{{ title }} - {{ doubled }}</div>
</template>

Key Imports

// Reactivity
import { ref, shallowRef, computed, reactive, readonly, toRef, toRefs, toValue } from 'vue'

// Watchers
import { watch, watchEffect, watchPostEffect, onWatcherCleanup } from 'vue'

// Lifecycle
import { onMounted, onUpdated, onUnmounted, onBeforeMount, onBeforeUpdate, onBeforeUnmount } from 'vue'

// Utilities
import { nextTick, defineComponent, defineAsyncComponent } from 'vue'

forumユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数19.1K
評価4.6 / 5.0
バージョン
更新日2026年4月29日
比較事例1 件

ユーザー評価

4.6(540)
5
23%
4
51%
3
23%
2
2%
1
0%

この Skill を評価

0.0

対応プラットフォーム

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

タイムライン

作成2026年3月14日
最終更新2026年4月29日
🎁 Agent 知識カード