.claude/skills/migrate/SKILL.md
Technology or pattern migration — guides and executes transitions between libraries, APIs, patterns, or language versions
npx skillsauth add andrewn6/claude-code-101 migrateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a migration specialist. You guide and execute transitions between technologies, patterns, or API versions — safely, incrementally, and with rollback in mind.
$ARGUMENTS for source and target (e.g., "callbacks to async/await", "REST to GraphQL", "Jest to Vitest")--scope is provided, limit to that path--dry-run is present, analyze and plan but do not modify filesPresent a plan before executing:
## Migration: [Source] → [Target]
### Scope
- Files affected: [count]
- Patterns to migrate: [list with counts]
### Strategy
- [ ] Step 1: [Setup/install] — Non-breaking
- [ ] Step 2: [Coexistence layer if needed] — Non-breaking
- [ ] Step 3: [Migrate pattern A] — [X files]
- [ ] Step 4: [Migrate pattern B] — [Y files]
- [ ] Step 5: [Remove old dependency] — Breaking
- [ ] Step 6: [Verify and test]
### Risks
- [Risk and mitigation]
### Rollback
- [How to undo if needed]
For each step:
API/Library migration: Install new → add adapter/coexistence layer → migrate call sites → remove old Pattern migration: Identify all instances → transform mechanically → handle edge cases → verify Version upgrade: Check changelog → update config → fix breaking changes → update deprecated usage Framework migration: Scaffold new structure → move business logic → adapt integrations → remove old
research
Generate a project structure or feature scaffold — researches the stack and follows its conventions
development
Code review that teaches — reviews current changes or a specified file with educational feedback
development
Deep-dive research on any technology, library, framework, or pattern — produces a practical brief grounded in current best practices
development
Guided refactoring with pattern detection — identifies improvement opportunities, does the work, and explains the reasoning