ai-migration-operating-model
AI Migration Operating Model
AI makes big migrations cheaper only when the migration has strong control loops and objective verification — without those, agents just produce plausible-looking code quickly, which is worse than slow. So this skill does not "rewrite the code"; it designs the machine that rewrites the code: the old system as the spec, a rulebook as policy, tests and diffs as the judge, and repeated failures as reasons to improve the process.
Locating this skill's helpers (do this first). The steps below run bundled scripts. You execute from the target repo, not from this skill's directory, so a path written relative to this skill will not resolve. Resolve the base directory once and use it everywhere — including in any subagent prompt, which must receive the literal absolute path, never a relative form: