Skip to content
Skillpedia
Deploy & cloud (DevOps)101k · #605

od-code-migration

Helps your agent migrate code between systems. It extracts design, plans changes, and edits code. Makes updating or porting software projects easier.

What it does

This tool helps migrate code from one system to another. It analyzes the old code, plans the necessary changes, and tests new versions until everything works correctly.

When to use it

  • ✓When you need to update a project to a new technology.
  • ✓When moving an application from one platform to another.
  • ✓To modernize outdated code.

Example of what to ask your AI

“Migrate this code to Python 3, ensuring all tests pass.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-code-migration/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/nexu-io/open-design/blob/main/plugins/_official/scenarios/od-code-migration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The AI first understands your current code and what you want to change. Then, it attempts the changes and tests them automatically. This cycle repeats until the new code works well.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add nexu-io/open-design --skill od-code-migration

Or download just the file:

curl -L https://raw.githubusercontent.com/nexu-io/open-design/main/plugins/_official/scenarios/od-code-migration/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

od-code-migration (scenario)

Spec §1 / §10.1 / §20.3 / §21.3.2 / §23.3.3: the canonical code-migration flow. The pipeline cannot ship an accept decision without a passing build — the patch-edit ↔ build-test devloop is the convergence engine.

Default pipeline

{
  "stages": [
    { "id": "import",    "atoms": ["code-import"] },
    { "id": "tokens",    "atoms": ["design-extract", "token-map"] },
    { "id": "plan",      "atoms": ["rewrite-plan"] },
    {
      "id": "verify",
      "atoms": ["patch-edit", "build-test"],
      "repeat": true,
      "until": "(build.passing && tests.passing) || iterations>=8"
    },
    { "id": "review",    "atoms": ["diff-review"] },
    { "id": "handoff",   "atoms": ["handoff"] }
  ]
}

The scenario uses build.passing && tests.passing as the convergence signal — promoted into the spec §22.4 vocabulary by the build-test atom.

Required user inputs

A plugin built on this scenario typically declares od.inputs:

  • repoPath (string, required): pulled from od project import.
  • targetStack (form): collected by rewrite-plan.
  • testCommand / buildCommand (string, optional): overrides the inferred package.json scripts in the build-test atom.
FAQ

What does 'code migration' mean?

It means adapting a computer program to work in a different environment, like a new programming language or operating system.

What are 'tests'?

They are automatic checks to ensure the program works as expected and is free of errors.

Do I need to know how to code to use this?

You don't need to be an expert. The tool guides you through the process, but having a basic idea of what you want to change is helpful.

Details

Original description by the author

Default reference pipeline for the code-migration taskKind — code-import → design-extract → token-map → rewrite-plan → patch-edit ↔ build-test devloop → diff-review → handoff.

repo: nexu-io/open-design

Popularity

GitHub stars
101k
Ranking position
#605
License
Apache-2.0
Updated
10/16/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills