vue-development-guides
A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o vue-development-guides.zip https://jpskill.com/download/21016.zip && unzip -o vue-development-guides.zip && rm vue-development-guides.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21016.zip -OutFile "$d\vue-development-guides.zip"; Expand-Archive "$d\vue-development-guides.zip" -DestinationPath $d -Force; ri "$d\vue-development-guides.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
vue-development-guides.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
vue-development-guidesフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 5
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] vue-development-guides
Vue.js 開発ガイド
タスクチェックリスト
- [ ] コア原則に従いました
- [ ] やむを得ない理由がない限り、デフォルトに従いました
- [ ] リアクティビティのベストプラクティスに従いました
- [ ] コンポーネントのベストプラクティスに従いました
- [ ] Vue SFC のベストプラクティスに従いました
- [ ] コンポーネントの焦点を絞りました
- [ ] 必要に応じて、大きなコンポーネントを小さなコンポーネントに分割しました
- [ ] 該当する場合、状態/副作用をコンポーザブルに移動しました
- [ ] データフローのベストプラクティスに従いました
コア原則
- 状態を予測可能に保つ: 単一の真実の源とし、その他すべてを派生させます。
- データフローを明示的にする: ほとんどの場合、Props は下へ、Events は上へ。
- 小さく、焦点を絞ったコンポーネントを優先する: テスト、再利用、保守が容易になります。
- 不要な再レンダリングを避ける: 算出プロパティとウォッチャーを賢く使用します。
- 可読性を重視する: 明確で自己文書化されたコードを書きます。
デフォルト (ユーザーが別途指定しない限り)
- Options API よりも Composition API を優先します。
リアクティビティ
重要: コンポーネントまたはコンポーザブルを作成、更新する際は、リアクティブな状態管理のために references/reactivity-guide.md に従う必要があります。
コンポーネント
重要: Vue SFC を扱う際のベストプラクティスについては、references/sfc-guide.md に従う必要があります。
- デフォルトでは、
<script setup lang="ts">(TypeScript) を使用した Vue 単一ファイルコンポーネント (SFC) を優先します。 - Vue SFC では、セクションを
<script>→<template>→<style>の順に保ちます。
コンポーネントの焦点を絞る
コンポーネントが複数の明確な責任 (例: データオーケストレーション + UI、または複数の独立した UI セクション) を持つ場合は、コンポーネントを分割します。
- 1つの「メガコンポーネント」よりも小さなコンポーネント + コンポーザブルを優先します。
- UI セクションを子コンポーネントに移動します (props は入力、events は出力)。
- 状態/副作用をコンポーザブル (
useXxx()) に移動します。
注: このルールは、Vue / Nuxt プロジェクトのエントリコンポーネント (例: App.vue) にもデフォルトで適用されます。
データフロー
重要: コンポーネント間でデータを渡したり受け取ったりするために、以下を使用する際は references/data-flow-guide.md に従う必要があります。
- Props
- Emits
v-model- provide/inject
アプリ全体でデータを共有するには、references/state-management-guide.md に従い、状態管理ソリューションとして Store の使用を検討してください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Vue.js Development Guides
Tasks Checklist
- [ ] Followed the core principles
- [ ] Followed the defaults unless there is a good reason not to
- [ ] Followed the reactivity best practices
- [ ] Followed the component best practices
- [ ] Followed the Vue SFC best practices
- [ ] Kept components focused
- [ ] Split large components into smaller ones when needed
- [ ] Moved state/side effects into composables if applicable
- [ ] Followed data flow best practices
Core Principles
- Keep state predictable: one source of truth, derive everything else.
- Make data flow explicit: Props down, Events up for most cases.
- Favor small, focused components: easier to test, reuse, and maintain.
- Avoid unnecessary re-renders: use computed properties and watchers wisely.
- Readability counts: write clear, self-documenting code.
Defaults (unless the user says otherwise)
- Prefer the Composition API over the Options API.
Reactivity
IMPORTANT: You MUST follow the references/reactivity-guide.md for reactive state management when creating, updating a component or a composable.
Components
IMPORTANT: You MUST follow the references/sfc-guide.md for best practices when working with Vue SFCs.
- Prefer Vue Single-File Components (SFC) using
<script setup lang="ts">(TypeScript) by default. - In Vue SFCs, keep sections in this order:
<script>→<template>→<style>.
Keep components focused
Split a component when it has more than one clear responsibility (e.g. data orchestration + UI, or multiple independent UI sections).
- Prefer smaller components + composables over one “mega component”
- Move UI sections into child components (props in, events out).
- Move state/side effects into composables (
useXxx()).
NOTE: This rule also applies to the entry component (e.g. App.vue) in a Vue / Nuxt project by default.
Data Flow
IMPORTANT: You MUST follow the references/data-flow-guide.md for passing and receiving data between components using:
- Props
- Emits
v-model- provide/inject
For sharing data across the app, please follow the references/state-management-guide.md and consider using a Store for state management solution.
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (2,627 bytes)
- 📎 references/data-flow-guide.md (3,208 bytes)
- 📎 references/reactivity-guide.md (4,744 bytes)
- 📎 references/sfc-guide.md (3,142 bytes)
- 📎 references/state-management-guide.md (1,174 bytes)