Documents an enhanced migration workflow for Motoko canisters: how to write ordered migration modules, compose migration chains, and evolve persistent actor state safely across deployments. Includes patterns for adding/renaming/removing fields, type changes, and mapping collections.
Use when your Motoko project requires structured, repeatable state migrations across upgrades — especially for projects using mops and wanting compiler-verified migration chains rather than ad-hoc preupgrade/postupgrade code.
Useful to developer-focused agents that can read/write code and manage repos (Codex/GitHub Copilot-style agents), and agents that advise on blockchain/canister deployments.
This skill has not been reviewed by our automated audit pipeline yet.