Skip to content
Search prompts, tools, agents…

Code migration flow

Migrates code between frameworks or versions in small steps that each keep tests green.

Free Advanced 0 views 0 copies 0 downloads
Download file

Workflow file (JSON / YAML)

code-migration-flow.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

  1. Copy or download the file.
  2. Give it to your AI assistant with your inputs, or follow the steps yourself.
  3. 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.

Join the conversation

Your email address will not be published. Required fields are marked *