·component-migration
</>

component-migration

Use when adding 'use client' directives, splitting mixed components into server + client parts, or fixing RSC boundary errors like "useState only works in a Client Component." Also for migrating interactive UI (forms, modals, event handlers) to App Router.

5Installs·1Trend·@blazity

Installation

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

How to Install component-migration

Quickly install component-migration AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/blazity/next-migration-skills --skill component-migration
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: blazity/next-migration-skills.

SKILL.md

View raw

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 when adding 'use client' directives, splitting mixed components into server + client parts, or fixing RSC boundary errors like "useState only works in a Client Component." Also for migrating interactive UI (forms, modals, event handlers) to App Router. Source: blazity/next-migration-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/blazity/next-migration-skills --skill component-migration
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from blazity/next-migration-skills

Quick answers

What is component-migration?

Use when adding 'use client' directives, splitting mixed components into server + client parts, or fixing RSC boundary errors like "useState only works in a Client Component." Also for migrating interactive UI (forms, modals, event handlers) to App Router. Source: blazity/next-migration-skills.

How do I install component-migration?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/blazity/next-migration-skills --skill component-migration Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

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