← All use cases

Run code migrations

Move legacy stacks over in controlled checkpoints.

ZeroTwo can chart how an old system maps onto a new stack, deliver the switch in staged milestones, and confirm matching behavior before each cutover.

Advanced
1h

Skills & Plugins

  • Security
    Its $security-diff-scan skill checks each milestone's diff for risk.
  • GitHub
    Its $gh-fix-ci skill helps with failing GitHub Actions checks.

Starter prompt

We're moving our order-processing service from a legacy Java monolith to a Node and TypeScript stack. Start by listing every endpoint, scheduled job, and database table it touches, then propose milestones that each leave the system working. For the first milestone, make the change, run the existing tests plus a before/after output comparison, and tell me how to roll back if it fails.

Introduction

ZeroTwo inventories the old system and lands the change in checkpoints, so the product keeps working.

How to use

Inventory the migration surface, map old concepts to new, choose an incremental strategy, keep behavior stable, run the smallest parity check per milestone, and review risk after each.

Plan first

Start in Plan mode (/plan-mode) so the agent reads the old system and proposes milestones without changing anything. Approve the plan, then run one milestone at a time and keep the plan as the log of decisions and validation.

Combine with a goal

Use a goal (/goal) with an end state, parity checks and a stop condition.

Related use cases