data-layer-migration とは?
getStaticProps、getServerSideProps、getStaticPaths、または API ルート (pages/api/) を同等の App Router に移行するときに使用します。古いデータ、キャッシュ動作、または移行されたページのフェッチ エラーを修正する場合にも使用します。 ソース: blazity/next-migration-skills。
getStaticProps、getServerSideProps、getStaticPaths、または API ルート (pages/api/) を同等の App Router に移行するときに使用します。古いデータ、キャッシュ動作、または移行されたページのフェッチ エラーを修正する場合にも使用します。
コマンドラインで data-layer-migration AI スキルを開発環境にすばやくインストール
ソース: blazity/next-migration-skills。
Migrate data-fetching patterns (getStaticProps, getServerSideProps, getStaticPaths) and API routes to App Router equivalents.
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.
getStaticProps、getServerSideProps、getStaticPaths、または API ルート (pages/api/) を同等の App Router に移行するときに使用します。古いデータ、キャッシュ動作、または移行されたページのフェッチ エラーを修正する場合にも使用します。 ソース: blazity/next-migration-skills。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/blazity/next-migration-skills --skill data-layer-migrationgetStaticProps、getServerSideProps、getStaticPaths、または API ルート (pages/api/) を同等の App Router に移行するときに使用します。古いデータ、キャッシュ動作、または移行されたページのフェッチ エラーを修正する場合にも使用します。 ソース: blazity/next-migration-skills。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/blazity/next-migration-skills --skill data-layer-migration インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/blazity/next-migration-skills