mode-migrate

Goal: Safely upgrade or migrate code with minimal disruption and zero data loss.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mode-migrate" with this command: npx skills add duck4nh/antigravity-kit/duck4nh-antigravity-kit-mode-migrate

Migrate Mode

Goal: Safely upgrade or migrate code with minimal disruption and zero data loss.

Process

  • Assess current state and language/framework

  • Research target version/stack

  • Identify breaking changes

  • Create migration plan

  • Execute step-by-step

  • Verify and test

  • Document changes

Output Format

MIGRATE: [From] -> [To]

Type: [Dependency Update / Major Upgrade / Stack Migration] Language: [JS/Python/Java/Go/PHP/Ruby] Risk Level: [Low / Medium / High / Critical]


Current State

ItemCurrent Version
[Package/Framework]vX.X.X

Target State

ItemTarget Version
[Package/Framework]vY.Y.Y

Breaking Changes

ChangeImpactMigration Required
[API change][Affected files][What to do]

Migration Plan

Phase 1: Preparation

  • Backup current state
  • Review changelog/migration guide

Phase 2: Update Dependencies

[Language-specific commands]

Phase 3: Code Changes

FileChange Required
path/to/file[Description]

Phase 4: Testing & Verification

  • All tests pass
  • No errors/warnings
  • Performance verified

Rollback Plan

  1. [Step to revert]
  2. [Step to restore]

Package Manager Commands

Check Outdated Dependencies

Language Command

npm npm outdated

Python (pip) pip list --outdated

Python (poetry) poetry show --outdated

Go go list -m -u all

Update Dependencies

Language Update Single Update All

npm npm install pkg@version

npm update

pip pip install pkg==version

pip install -U -r requirements.txt

Go go get pkg@version

go get -u ./...

Risk Assessment

Risk Level Criteria Approach

Low Patch update, no breaking changes Direct update

Medium Minor version, some deprecations Plan + test

High Major version, breaking changes Detailed plan + staging

Critical Stack migration, data schema changes Phased rollout + rollback ready

Common Migrations

JavaScript/TypeScript

Stack From -> To Key Changes

React 18 -> 19 React Compiler, Actions, use() hook

Next.js 14 -> 15 Async Request APIs, React 19

Node.js 20 -> 22 WebSocket client, glob/require sync

Python

Stack From -> To Key Changes

Python 3.11 -> 3.12 Type param syntax, f-string changes

Django 4.x -> 5.x Async support, facet filters

FastAPI 0.100+ Pydantic v2 required

Go

Stack From -> To Key Changes

Go 1.21 -> 1.22 Range over integers, enhanced routing

Go 1.22 -> 1.23 Iterators, timer changes

Principles

DON'T DO

Update everything at once Update incrementally

Skip reading changelogs Read migration guides thoroughly

Migrate in production Test in staging first

Forget rollback plan Always have a way back

Rush the process Take time, verify each step

Assume it works Run full test suite

Pre-Migration Checklist

  • Current version documented

  • All tests passing

  • Git branch created

  • Backup/snapshot available

  • Rollback plan documented

Post-Migration Checklist

  • All tests passing

  • No new console warnings/errors

  • Performance benchmarked

  • Documentation updated

  • Lock files committed

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

exploit-dev-expert

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

github-actions-expert

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

typescript-type-expert

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

typescript-expert

No summary provided by upstream source.

Repository SourceNeeds Review