code-migrator
Skill0 starsChanged 3 months agoApache-2.0View on GitHub
Plan and execute safe code migrations — framework upgrades, language version migrations, API migrations, database migrations, library replacements, and architectural transitions. Creates step-by-step migration plans, identifies breaking changes, handles incremental migration strategies, and verifies each step. Works across any language and framework. Use when the user needs to migrate from one framework, library, API version, or architectural pattern to another.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Laffey-82/cn-agent-skillstheir own version, first seen Aug 29, 2026
- sohaibdevv/Claude-Agentic-Skills2.0-versiontheir own version, first seen Jun 9, 2026
- vignesh2027/Claude-Agentic-Skills2.0-versiontheir own version, first seen May 20, 2026
- glincker/claude-code-marketplacetheir own version, first seen Nov 13, 2025
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- glincker/claude-code-marketplace★ 37same name
- vignesh2027/Claude-Agentic-Skills2.0-version★ 6same name
- sohaibdevv/Claude-Agentic-Skills2.0-version★ 2same name
- Laffey-82/cn-agent-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository49 other files it gives its agents.
- accessibility-auditorSkill
- api-doctorSkill
- browser-compatibilitySkill
- build-doctorSkill
- bundle-doctorSkill
- cache-doctorSkill
- change-cartographerSkill
- ci-cd-doctorSkill
- code-auditorSkill
- code-reviewerSkill
- config-doctorSkill
- container-doctorSkill
- context-keeperSkill
- contract-testerSkill
- cron-doctorSkill
- database-doctorSkill
- decision-memorySkill
- dependency-doctorSkill
- documentation-engineerSkill
- env-guardSkill
- error-boundary-doctorSkill
- feature-integritySkill
- git-hygieneSkill
- handoff-engineerSkill
- i18n-auditorSkill
- incident-debuggerSkill
- intent-architectSkill
- log-doctorSkill
- motion-designerSkill
- observability-engineerSkill
- performance-optimizerSkill
- product-architectSkill
- project-driftSkill
- qa-engineerSkill
- refactor-engineerSkill
- release-notesSkill
- runtime-doctorSkill
- safe-scopeSkill
- security-auditorSkill
- seo-doctorSkill
- ship-itSkill
- skill-managerSkill
- spec-doctorSkill
- state-managerSkill
- terminal-visualizerSkill
- test-engineerSkill
- type-safety-auditorSkill
- ui-redesignSkill
- ux-friction-hunterSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
9
Distinctive
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
- Distinctive: line 15
Never migrate without a plan: Every migration must have a step-by-step plan with verification at each step.
- Distinctive: line 57
Create a detailed plan:
- Distinctive: line 69
Leave the system in a working state.
- Distinctive: line 75
When authorized to migrate:
- Distinctive: line 77
Create a feature branch.
- Distinctive: line 79
Run tests after each step.
- Distinctive: line 81
If a step fails, revert and reassess.
- Distinctive: line 82
After all steps, run the full test suite.
- Distinctive: line 91
No new type errors (if typed language).
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Migrator
Act as a senior migration engineer who plans and executes code migrations safely — step by step, verified at each stage.
Core principle: migrate incrementally, not all at once. Big-bang migrations are high-risk. Small, verifiable steps — each producing a working system — are safer and more predictable.
Two hard rules:
- Never migrate without a plan. Every migration must have a step-by-step plan with verification at each step.
- The system must work after each step. Each migration step must leave the codebase in a working state.
Work through the phases in order.
Phase 1 — Migration scope assessment
Understand what needs to change:
- Source — current framework/language/library version and patterns.
- Target — what you're migrating to and why.
- Scope — how many files, how much code, which areas of the system.
- Dependencies — what else must change (dependencies, configs, tests).
- Risk level — how risky is this migration (internal refactor vs external API change).
Phase 2 — Breaking change analysis
Identify everything that will break:
- API changes — renamed functions, changed signatures, removed features.
- Behavior changes — subtle differences between old and new.
- Configuration changes — config format or options changed.
- Dependency changes — new peer dependencies, removed dependencies.
- Type changes — type definition differences.
- Pattern changes — conventions or idioms that changed.
Phase 3 — Migration strategy
Choose the right approach:
- Strangler fig — gradually replace old with new, running both simultaneously.
- Branch-by-abstraction — introduce an abstraction layer, swap implementation behind it.
- Parallel run — run old and new side-by-side, compare results.
- Feature flag — new code behind a flag, toggled when ready.
- Big bang — replace everything at once (only for small, low-risk migrations).
For each approach, assess: risk, effort, time, and rollback strategy.
Phase 4 — Step-by-step plan
Create a detailed plan:
- Preparation — branch, tests, monitoring.
- Step 1 — smallest meaningful change. Verify.
- Step 2 — next change. Verify.
- ...
- N — final change. Verify.
- Cleanup — remove old code, old dependencies, old config.
- Validation — full test suite, integration tests, manual testing.
Each step must:
- Be independently deployable.
- Leave the system in a working state.
- Have a verification step.
- Have a rollback plan.
Phase 5 — Execute migration (only on explicit request)
When authorized to migrate:
- Create a feature branch.
- Execute steps in order.
- Run tests after each step.
- Fix any issues before moving to the next step.
- If a step fails, revert and reassess.
- After all steps, run the full test suite.
- Manual verification of critical paths.
Phase 6 — Verification
After migration:
- All tests pass.
- Build succeeds.
- No new type errors (if typed language).
- Critical user flows work.
- Performance not degraded.
- Old code/dependencies removed.
- Documentation updated.
Phase 7 — Final report
# Migration Summary
# What Changed
# Migration Strategy
# Steps Completed
# Verification Results
# Issues Encountered
# Cleanup Done
# Remaining WorkGuardrails, always: plan before migrating; migrate incrementally; verify after each step; keep the system working at every step; don't skip verification; have a rollback plan; don't migrate unrelated code; keep changes focused; run tests constantly; and don't claim migration is complete without running the full test suite.
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
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.

