od-code-migration

Automate code migration pipelines using iterative patch-edit and build-test verification loops.

93.2k|10.8k|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/nexu-io/open-design --skill od-code-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: od-code-migration
Source: https://github.com/nexu-io/open-design/tree/main/plugins/_official/scenarios/od-code-migration
Command: npx skills add https://github.com/nexu-io/open-design --skill od-code-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the high-friction, error-prone process of migrating legacy codebases to modern stacks by automating the repetitive cycle of code modification, build verification, and testing.

Core Features & Use Cases

  • Iterative Devloop: Automatically executes a patch-edit and build-test cycle until the code passes all build and test requirements.
  • Standardized Pipeline: Implements a canonical migration flow including code import, design extraction, token mapping, and diff review.
  • Use Case: Migrate a legacy jQuery application to a modern React 18 stack by automating the transformation of components and verifying the output against existing test suites.

Quick Start

Migrate the repository at ./apps/legacy-cart to React 18 using the od-code-migration scenario.

Frequently Asked Questions about od-code-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a legacy codebase to a new stack?

Use the od-code-migration scenario to define your target stack and repository path. The skill will automatically run the import, extraction, and iterative patch-edit loop until your build and tests pass.

What happens if the build fails during migration?

The skill enters a patch-edit and build-test devloop, attempting to fix errors iteratively. It will continue this process until the build and tests pass or the iteration limit of 8 is reached.

Can I override the default build and test commands?

Yes, you can provide custom buildCommand and testCommand inputs to the skill. These will override the inferred package.json scripts during the build-test stage.

How is the migration result reviewed?

Once the convergence signal is met, the skill triggers a diff-review stage. This surfaces the changes for human inspection and final acceptance before the handoff.