Migrate a legacy game statistics system one slice at a time
At a glance
Paul Karam used Claude Code and written project memory to migrate an undocumented .NET system while retaining the legacy version for comparison. This workflow is listed under Coding.
- Agents / tools
- Claude
SourceBuilding a tool for these workflows? See weekly rates.
What they did
1) Point Claude Code at the legacy repository and ask it to explain the projects and data flow. Describe the .NET 10 target, intended behavior changes and deployment constraints, and review a migration plan before implementation. 2) Have Claude create project instructions, a legacy-protection hook, decision and status documents, and prompts or skills for individual migration slices. 3) Run one slice at a time; review its summary, test business behavior in the web app and bot, compare the new system with the legacy features, and fix omissions before proceeding. Keep both systems running for user acceptance and output comparison before switching over.
How it went
The author reported around 31 sessions over five nights. During testing, a legacy comparison found missing or changed features despite passing tests; the replacement was still undergoing acceptance testing.
Worth knowing
Passing tests generated during migration did not establish behavioral parity. The final switch-over was still a future step in the account.