agentleFS
viknesh20-20viknesh20-20/claude-code-tool-kit/.claude/skills/migrate-framework/SKILL.md

migrate-framework

Skill7 starsChanged 6 months agoMITView on GitHub

Assists with migrating between frameworks or major versions — Express to Fastify, CRA to Vite, Vue 2 to Vue 3, class components to hooks, etc. Creates a migration plan, identifies breaking changes, and provides file-by-file migration order.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create an ordered migration plan:

    line 34
  2. Distinctive:

    Tests: Update test setup and migrate test files

    line 39
  3. Distinctive:

    Cleanup: Remove source framework dependencies

    line 40
  4. Distinctive:

    No dependencies on other migrated files (migrate first)

    line 44
  5. Distinctive:

    Run tests after each file to catch regressions

    line 55
  6. Distinctive:

    Keep both frameworks running during migration if possible

    line 59
  7. Distinctive:

    Run tests after every change

    line 60
  8. Distinctive:

    Don't change functionality during migration — only change the framework layer

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Framework Migration Assistant

Detect Current Setup

!ls package.json requirements.txt go.mod Cargo.toml *.csproj Gemfile composer.json 2>/dev/null !cat package.json 2>/dev/null | head -30 !find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.jsx" -o -name "*.py" -o -name "*.go" -o -name "*.rs" \) -not -path "*/node_modules/*" -not -path "*/.git/*" 2>/dev/null | head -30


Migration Process

Step 1: Audit Current Usage

  1. Identify all imports/requires of the source framework
  2. Map which features and APIs are used
  3. Catalog plugins, middleware, and extensions in use
  4. Count affected files and estimate scope

Step 2: Map Source to Target

For each source feature in use, determine:

Source APITarget EquivalentBreaking Change?Notes
......Yes/No...

Flag features with NO direct equivalent — these need custom solutions.

Step 3: Migration Plan

Create an ordered migration plan:

  1. Setup: Install target framework alongside source (coexistence period)
  2. Configuration: Migrate config files (build config, env, plugins)
  3. Core: Migrate entry points and routing
  4. Components/Modules: Migrate individual files (ordered by dependency — leaves first)
  5. Tests: Update test setup and migrate test files
  6. Cleanup: Remove source framework dependencies

Step 4: File-by-File Migration Order

List every file that needs changes, ordered by:

  1. No dependencies on other migrated files (migrate first)
  2. Shared utilities and types
  3. Core modules
  4. Feature modules
  5. Entry points (migrate last)

Step 5: Execute Migration

For each file:

  1. Show the current code
  2. Show the migrated code
  3. Explain what changed and why
  4. Run tests after each file to catch regressions

Rules

  • Migrate incrementally — one file or module at a time
  • Keep both frameworks running during migration if possible
  • Run tests after every change
  • Don't change functionality during migration — only change the framework layer
  • Flag any features that cannot be migrated 1:1

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.