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

od-code-migration

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.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

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.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œMigrate this code to Python 3, ensuring all tests pass.”

5 new skills a week. 1 minute to read.

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.

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
#1065
License
Apache-2.0
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills