bydfinity· 30 skills
Enhanced multi-step migration for Motoko actors using a migrations/ directory and --enhanced-migration flag. Use when upgrading canister state across multiple deployments, writing migration files, changing actor field types, or managing a migration chain. For a single one-shot migration, use migrating-motoko instead.
$npx -y skills add dfinity/icskills --skill migrating-motoko-enhancedInstalls into the current project.
Run `npx skills use "https://github.com/dfinity/icskills" --skill "dfinity/icskills/migrating-motoko-enhanced"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dfinity/icskills" that are relevant to the current task. Run `npx skills add "https://github.com/dfinity/icskills"` and select the relevant skills, then follow their instructions.