Workflow file (JSON / YAML)
name: code-migration-flow
description: "Migrates code between frameworks or versions in small steps that each keep tests green."
inputs:
- "source and target"
- "repository"
steps:
- id: 1
name: "Inventory"
do: "List what must change and what depends on it."
- id: 2
name: "Tests"
do: "Add tests around current behaviour."
- id: 3
name: "Plan"
do: "Order small steps."
- id: 4
name: "Migrate"
do: "Do one step, run tests, commit."
- id: 5
name: "Cleanup"
do: "Remove old code and update docs."
output: "A migrated codebase with a step log."
How to use it
- Copy or download the file.
- Give it to your AI assistant with your inputs, or follow the steps yourself.
- Check the result of each step before moving to the next.
Try it
Migrate our tests from Jest to Vitest.
Migrates code between frameworks or versions in small steps that each keep tests green.