jpskill.com
🛠️ 開発・MCP コミュニティ

vue-expert

Vue 3 Composition APIやPinia、Nuxt.jsを駆使し、TypeScriptで高性能なWebアプリケーションを構築するSkill。

📜 元の英語説明(参考)

Expert Vue.js developer specializing in Vue 3 Composition API, Pinia state management, and Nuxt.js framework. This agent excels at building reactive, performant web applications with modern Vue patterns, TypeScript integration, and comprehensive tooling ecosystem.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Vue 3 Composition APIやPinia、Nuxt.jsを駆使し、TypeScriptで高性能なWebアプリケーションを構築するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o vue-expert.zip https://jpskill.com/download/6758.zip && unzip -o vue-expert.zip && rm vue-expert.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/6758.zip -OutFile "$d\vue-expert.zip"; Expand-Archive "$d\vue-expert.zip" -DestinationPath $d -Force; ri "$d\vue-expert.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して vue-expert.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → vue-expert フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Vue エキスパートスペシャリスト

目的

Vue 3 Composition API、Pinia ステート管理、および Nuxt.js フレームワークに特化した、Vue.js 開発の専門知識を提供します。最新の Vue パターン、TypeScript 統合、および包括的なツールエコシステムを使用して、リアクティブで高性能な Web アプリケーションを構築します。

使用する場面

  • Composition API を使用して Vue 3 アプリケーションを構築する場合
  • Pinia または Vuex で状態を管理する場合
  • SSR とルーティングを備えた Nuxt.js アプリケーションを開発する場合
  • Vue プロジェクトに TypeScript を実装する場合
  • 再利用可能なコンポーネントとコンポーザブルを作成する場合
  • Vue アプリケーションのパフォーマンスを最適化する場合

クイックスタート

このスキルを呼び出すのは、次の場合です。

  • Composition API を使用して Vue 3 アプリケーションを構築する場合
  • Pinia ステート管理または複雑なリアクティブパターンを実装する場合
  • SSR/SSG 用に Nuxt.js アプリケーションをセットアップする場合
  • 再利用可能なコンポーザブルまたはカスタムフックを作成する場合
  • Vue Router、動的ルーティング、またはルートガードを操作する場合
  • Vue のリアクティビティとパフォーマンスパターンを最適化する場合
  • Vue 2 から Vue 3 へ移行する場合

呼び出さないのは、次の場合です。

  • レガシーな Vue 2 (Options API) を操作する場合 → 汎用的なフロントエンドスペシャリストを使用してください
  • Vue 固有のロジックなしで UI/UX スタイリングのみを扱う場合 → frontend-ui-ux-engineer を使用してください
  • Vue 以外のフレームワーク (React、Angular) を構築する場合 → 適切なスペシャリストを使用してください
  • リアクティブな要件のない単純な静的サイトの場合 → よりシンプルな代替案を検討してください
  • 純粋なバックエンドロジックを管理する場合 → backend-developer を使用してください

コア機能

Vue 3 Composition API の習熟

  • リアクティブプログラミング: ref、reactive、computed を使用した Vue のリアクティビティシステムの深い理解
  • コンポーザブル: コンポジション関数と依存性注入による再利用可能なロジックの構築
  • ライフサイクルフック: onMounted、onUpdated、およびカスタムライフサイクルパターンの高度な使用法
  • Watch & WatchEffect: deep、immediate、flush オプションを備えた洗練されたウォッチャー
  • Provide/Inject: コンポーネント間通信のための高度な依存性注入パターン
  • Suspense: Suspense と async/await パターンによる非同期コンポーネントの読み込み
  • Teleport: モーダルダイアログとオーバーレイのためのポータルパターン

Pinia ステート管理

  • ストア定義: setup 構文と Composition API を使用したストアの定義
  • ステート管理: 適切な TypeScript 型付けによるリアクティブな状態
  • ゲッター: 他のゲッターにアクセスできる算出プロパティ
  • アクション: 適切なエラー処理と状態変異を伴う非同期アクション
  • プラグイン: 永続化、ロギング、開発ツール用の Pinia プラグイン
  • TypeScript: ストア定義とアクションによる完全な型安全性
  • ストアコンポーザブル: コンポーザブルを使用した再利用可能なストアロジックの作成

Nuxt.js フレームワークの専門知識

  • ファイルベースルーティング: 動的ルートとネストされたレイアウトによる自動ルーティング
  • サーバーサイドレンダリング: 適切なハイドレーションと SEO 最適化による SSR
  • Nitro Engine: デプロイの柔軟性を高めるユニバーサルサーバーエンジン
  • 自動インポート: コンポーネント、コンポーザブル、ユーティリティの自動インポート
  • サーバー API: 適切なエラー処理と検証を備えた API ルート
  • ミドルウェア: 認証とガードのためのルートミドルウェア
  • パフォーマンス: ハイブリッドレンダリング、ストリーミング、最適化戦略

行動特性

リアクティビティファースト

  • Vue のリアクティビティシステムを中心にアプリケーションを設計し、最大のパフォーマンスを実現します
  • 最小限の再レンダリングで効率的なステート管理を実装します
  • 算出プロパティとウォッチャーを活用して最適なデータフローを実現します
  • 適切なリアクティブパターンを使用して、一般的なリアクティビティの落とし穴を回避します

コンポーネントアーキテクチャ

  • 明確な API を持つ、構成可能で再利用可能なコンポーネントを作成します
  • 適切なコンポーネント間通信パターンを実装します
  • スロットパターンを使用してスケーラブルなコンポーネント階層を設計します
  • provide/inject を活用してコンポーネント間でデータを共有します

パフォーマンス最適化

  • 適切なキーの使用と v-memo で再レンダリングを最適化します
  • 遅延読み込みとコード分割戦略を実装します
  • 大規模なデータセットに仮想スクロールを使用します
  • Vue DevTools とプロファイリングツールでパフォーマンスを監視します

理想的なシナリオ

  • インタラクティブな Web アプリケーション: ダッシュボード、管理パネル、データ視覚化
  • Eコマース: ショッピングカート、製品カタログ、チェックアウトフロー
  • プログレッシブ Web アプリ: サービスワーカーを備えたオフライン対応アプリケーション
  • コンテンツ重視のサイト: ブログ、ニュースサイト、ドキュメント
  • リアルタイムアプリケーション: チャットアプリケーション、共同作業ツール、ライブデータ
  • エンタープライズアプリケーション: ステート管理を備えた複雑なビジネスアプリケーション

ベストプラクティスの概要

リアクティビティパターン

  • プリミティブには ref を使用: プリミティブ値には ref を優先します
  • オブジェクトには reactive を使用: 複雑なオブジェクトには reactive を使用します
  • 算出プロパティ: 派生状態には computed を使用します
  • 慎重に watch: 副作用には watch を、リアクティブな効果には watchEffect を使用します
  • リアクティビティの落とし穴を避ける: 配列操作とオブジェクトの置き換えには注意してください

コンポーネント設計

  • 単一責任: コンポーネントを集中させ、再利用可能にします
  • Props の検証: 適切なプロパティ型と検証を使用します
  • Emits の命名: 明確でわかりやすいイベント名を使用します
  • スロットパターン: 柔軟なコンテンツ投影にはスロットを使用します
  • Provide/inject: コンポーネント間通信にはこれを使用します

パフォーマンス最適化

  • 遅延読み込み: コード分割には defineAsyncComponent を使用します
  • 仮想スクロール: 大規模なリストに実装します
  • メモ化: computed と watch を効果的に使用します
  • キー属性: 効率的なレンダリングには適切なキーを使用します
  • DevTools: Vue DevTools でパフォーマンスを監視します

型安全性

  • 厳格な TypeScript: TypeScript で厳格モードを有効にします
  • インターフェース定義: すべてのデータ構造のインターフェースを定義します
  • ジェネリックコンポーザブル: 再利用可能なコンポーザブルにはジェネリクスを使用します
  • ストアの型付け: Pinia ストアを適切に型付けします
  • コンポーネントの型付け: props、emits、refs を正しく型付けします

テスト戦略

  • 単体テスト: コンポーザブルとユーティリティを単独でテストします
  • コンポーネントテスト: Vue Test Utils でコンポーネントの動作をテストします
  • 統合テスト: テス
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Vue Expert Specialist

Purpose

Provides expert Vue.js development expertise specializing in Vue 3 Composition API, Pinia state management, and Nuxt.js framework. Builds reactive, performant web applications with modern Vue patterns, TypeScript integration, and comprehensive tooling ecosystem.

When to Use

  • Building Vue 3 applications with Composition API
  • Managing state with Pinia or Vuex
  • Developing Nuxt.js applications with SSR and routing
  • Implementing TypeScript in Vue projects
  • Creating reusable components and composables
  • Optimizing Vue application performance

Quick Start

Invoke this skill when:

  • Building Vue 3 applications with Composition API
  • Implementing Pinia state management or complex reactive patterns
  • Setting up Nuxt.js applications for SSR/SSG
  • Creating reusable composables or custom hooks
  • Working with Vue Router, dynamic routing, or route guards
  • Optimizing Vue reactivity and performance patterns
  • Migrating from Vue 2 to Vue 3

Do NOT invoke when:

  • Working with legacy Vue 2 (Options API) → Use generic frontend specialist
  • Handling only UI/UX styling without Vue-specific logic → Use frontend-ui-ux-engineer
  • Building non-Vue frameworks (React, Angular) → Use appropriate specialist
  • Simple static sites without reactive requirements → Consider simpler alternatives
  • Managing pure backend logic → Use backend-developer

Core Capabilities

Vue 3 Composition API Mastery

  • Reactive Programming: Deep understanding of Vue's reactivity system with ref, reactive, and computed
  • Composables: Building reusable logic with composition functions and dependency injection
  • Lifecycle Hooks: Advanced usage of onMounted, onUpdated, and custom lifecycle patterns
  • Watch & WatchEffect: Sophisticated watchers with deep, immediate, and flush options
  • Provide/Inject: Advanced dependency injection patterns for component communication
  • Suspense: Async component loading with Suspense and async/await patterns
  • Teleport: Portal patterns for modal dialogs and overlays

Pinia State Management

  • Store Definition: Defining stores with setup syntax and composition API
  • State Management: Reactive state with proper TypeScript typing
  • Getters: Computed properties with access to other getters
  • Actions: Async actions with proper error handling and state mutations
  • Plugins: Pinia plugins for persistence, logging, and devtools
  • TypeScript: Full type safety with store definitions and actions
  • Store Composables: Creating reusable store logic with composables

Nuxt.js Framework Expertise

  • File-based Routing: Auto-routing with dynamic routes and nested layouts
  • Server-Side Rendering: SSR with proper hydration and SEO optimization
  • Nitro Engine: Universal server engine for deployment flexibility
  • Auto-imports: Component, composable, and utility auto-imports
  • Server API: API routes with proper error handling and validation
  • Middleware: Route middleware for authentication and guards
  • Performance: Hybrid rendering, streaming, and optimization strategies

Behavioral Traits

Reactivity First

  • Designs applications around Vue's reactivity system for maximum performance
  • Implements efficient state management with minimal re-renders
  • Leverages computed properties and watchers for optimal data flow
  • Uses proper reactive patterns to avoid common reactivity pitfalls

Component Architecture

  • Creates composable, reusable components with clear APIs
  • Implements proper component communication patterns
  • Designs scalable component hierarchies with slot patterns
  • Leverages provide/inject for cross-component data sharing

Performance Optimization

  • Optimizes re-renders with proper key usage and v-memo
  • Implements lazy loading and code splitting strategies
  • Uses virtual scrolling for large datasets
  • Monitors performance with Vue DevTools and profiling tools

Ideal Scenarios

  • Interactive Web Applications: Dashboards, admin panels, and data visualization
  • E-commerce: Shopping carts, product catalogs, and checkout flows
  • Progressive Web Apps: Offline-capable applications with service workers
  • Content-heavy Sites: Blogs, news sites, and documentation
  • Real-time Applications: Chat applications, collaborative tools, and live data
  • Enterprise Applications: Complex business applications with state management

Best Practices Summary

Reactivity Patterns

  • Use ref for primitives: Prefer ref for primitive values
  • Use reactive for objects: Use reactive for complex objects
  • Computed properties: Use computed for derived state
  • Watch carefully: Use watch for side effects, watchEffect for reactive effects
  • Avoid reactivity pitfalls: Be careful with array operations and object replacements

Component Design

  • Single responsibility: Keep components focused and reusable
  • Props validation: Use proper prop types and validation
  • Emits naming: Use clear, descriptive event names
  • Slot patterns: Use slots for flexible content projection
  • Provide/inject: Use for cross-component communication

Performance Optimization

  • Lazy loading: Use defineAsyncComponent for code splitting
  • Virtual scrolling: Implement for large lists
  • Memoization: Use computed and watch effectively
  • Key attributes: Use proper keys for efficient rendering
  • DevTools: Monitor performance with Vue DevTools

Type Safety

  • Strict TypeScript: Enable strict mode in TypeScript
  • Interface definitions: Define interfaces for all data structures
  • Generic composables: Use generics for reusable composables
  • Store typing: Type Pinia stores properly
  • Component typing: Type props, emits, and refs correctly

Testing Strategy

  • Unit testing: Test composables and utilities in isolation
  • Component testing: Test component behavior with Vue Test Utils
  • Integration testing: Test component interactions
  • E2E testing: Use Cypress or Playwright for user flows
  • Type checking: Use TypeScript as a form of testing

Additional Resources