·component-migration
</>

component-migration

「use client」ディレクティブを追加する場合、混合コンポーネントをサーバー部分とクライアント部分に分割する場合、または「useState はクライアント コンポーネントでのみ機能する」などの RSC 境界エラーを修正する場合に使用します。インタラクティブ UI (フォーム、モーダル、イベント ハンドラー) を App Router に移行する場合も同様です。

5インストール·0トレンド·@blazity

インストール

$npx skills add https://github.com/blazity/next-migration-skills --skill component-migration

component-migration のインストール方法

コマンドラインで component-migration AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/blazity/next-migration-skills --skill component-migration
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: blazity/next-migration-skills。

Migrate components for RSC (React Server Component) compatibility. Determine which components need 'use client' directives and which can remain server components.

This skill requires the nextjs-migration-toolkit skill to be installed. All migration skills depend on it for AST analysis.

Before applying any migration patterns, check the target Next.js version. Read .migration/target-version.txt if it exists, or ask the user.

「use client」ディレクティブを追加する場合、混合コンポーネントをサーバー部分とクライアント部分に分割する場合、または「useState はクライアント コンポーネントでのみ機能する」などの RSC 境界エラーを修正する場合に使用します。インタラクティブ UI (フォーム、モーダル、イベント ハンドラー) を App Router に移行する場合も同様です。 ソース: blazity/next-migration-skills。

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/blazity/next-migration-skills --skill component-migration
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-22
更新日
2026-03-10

Browse more skills from blazity/next-migration-skills

クイックアンサー

component-migration とは?

「use client」ディレクティブを追加する場合、混合コンポーネントをサーバー部分とクライアント部分に分割する場合、または「useState はクライアント コンポーネントでのみ機能する」などの RSC 境界エラーを修正する場合に使用します。インタラクティブ UI (フォーム、モーダル、イベント ハンドラー) を App Router に移行する場合も同様です。 ソース: blazity/next-migration-skills。

component-migration のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/blazity/next-migration-skills --skill component-migration インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/blazity/next-migration-skills