
Migrate legacy
Guides an agent through a gated, phased upgrade of legacy .NET applications
Migrate legacy is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Migrate legacy
This skill walks an agent through a seven-phase pipeline for upgrading a legacy application, running from read-only assessment through baseline builds, retargeting, remediation, optional modernization, verification and production delivery. Each phase ends in a gate that must pass before the next one starts, and the agent is told to stop rather than push past a failing gate.
All C# analysis and code changes are routed through the RoselineMCP Roslyn server, with mutations previewed before they are applied. The workflow asks for a migration branch, commits at each green gate, and produces a migration folder with an assessment, baseline, report and JSON data. It also includes resume logic for interrupted runs and a verdict that can stop the pipeline when the target is already modern.
The skill expects a .NET SDK 8 or newer, git, python3 and the RoselineMCP server. Context7, the GitHub CLI, Node and headless Chrome are listed as recommended tools. It is distributed as part of a Claude Code plugin marketplace.
When your agent uses it
Use when upgrading, migrating, or modernizing a legacy application — outdated target framework, out-of-support runtime, obsolete APIs, old packages, or legacy idioms. Triggers on "upgrade this app", "migrate to .NET 10", "modernize this codebase", "this project targets an old framework", « mets à niveau cette app », « migre vers .NET 10 », « modernise ce code legacy », /migrate, /migrate-assess, /migrate-verify. Drives a seven-phase, gate-verified pipeline (assessment → verified production) in which RoselineMCP performs all C# analysis and transformation.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 13 files (82 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the tagout-migrate plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add phmatray/tagout
/plugin install tagout-migrate@tagout-marketplaceOr copy only this skill to ~/.claude/skills/migrate-legacy:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phmatray/tagout.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/migrate-legacy &&
cp -R "$tmp/plugins/tagout-migrate/skills/migrate-legacy" ~/.claude/skills/migrate-legacy &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/migrate-legacy inside it instead.
Copy the skill folder to ~/.agents/skills/migrate-legacy to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phmatray/tagout.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/migrate-legacy &&
cp -R "$tmp/plugins/tagout-migrate/skills/migrate-legacy" ~/.agents/skills/migrate-legacy &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/migrate-legacy inside it instead.
Copy the skill folder to ~/.cursor/skills/migrate-legacy to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phmatray/tagout.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/migrate-legacy &&
cp -R "$tmp/plugins/tagout-migrate/skills/migrate-legacy" ~/.cursor/skills/migrate-legacy &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/migrate-legacy inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/phmatray/tagout.git --path plugins/tagout-migrate/skills/migrate-legacyOr copy the folder to ~/.gemini/skills/migrate-legacy yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/migrate-legacy:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phmatray/tagout.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/migrate-legacy &&
cp -R "$tmp/plugins/tagout-migrate/skills/migrate-legacy" ~/.copilot/skills/migrate-legacy &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/migrate-legacy inside it instead.
Get the folder:
git clone --depth 1 https://github.com/phmatray/tagout.gitThen copy tagout/plugins/tagout-migrate/skills/migrate-legacy into your agent's skills folder as migrate-legacy. Agents that support SKILL.md read one folder per skill.
What it does
- Gated phase pipeline
- Runs assessment, baseline, retarget, remediation, modernization, verification and delivery in order, halting at any red gate.
- Roslyn-backed C# changes
- Routes all C# diagnostics and edits through the RoselineMCP server, with previews before mutations.
- Migration artifacts
- Writes assessment, baseline and report files under a migration folder, with gate commits on a dedicated branch.
- Resume after interruption
- Detects an in-progress migration from its folder and commits and re-enters at the next phase.
- Remediation convergence check
- Stops remediation loops when two passes fail to reduce the error count and records the blockage.
- Production delivery checks
- Covers CI, GitHub Pages deployment and verification of a deployed route with a screenshot.
Good for
- Upgrade an old .NET app to a newer target framework
- Check whether a legacy codebase needs migrating before changing anything
- Replace obsolete APIs and outdated packages in a C# project
- Modernize an existing .NET codebase in gated, reviewable steps
- Re-run verification and report generation on a finished migration
Migrate legacy FAQ
What does the skill need before Migrate legacy starts?
It runs a preflight script that checks required tools, including the .NET SDK, git and python3, and requires the RoselineMCP server for any C# work.
Does Migrate legacy change code without review?
Each RoselineMCP mutation runs in preview mode first, and the agent is instructed to inspect the diff before applying it.
What happens if the app is already on a modern framework?
The assessment can return an ALREADY_MODERN verdict, which stops the pipeline after phase one and offers a verification run instead.
Is Migrate legacy limited to .NET?
The C# path is built around RoselineMCP; for other ecosystems the same phase structure applies but the ecosystem's own tooling is used.
How do I install Migrate legacy in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/migrate-legacy to use it in all your projects, or to .claude/skills/migrate-legacy in one project. Or install the tagout-migrate plugin, which includes it: /plugin marketplace add phmatray/tagout, then /plugin install tagout-migrate@tagout-marketplace.
Does Migrate legacy run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Migrate legacy?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Migrate legacy?
The closest alternatives to Migrate legacy are Migrate to rust, Spec driven develop, Doc and modernize, Principle migrate callers then delete legacy APIS and Deprecation and migration.
Where this comes from
- Description: from the skill's own SKILL.md.
More from phmatray/tagout

Consolidates open migration follow-ups across repos and updates them at the source
- Open source
- 5 GitHub stars
- Developer tools

Runs a parallel fleet of agents that implement and merge GitHub issues from a backlog
- Open source
- 5 GitHub stars
- Developer tools

Files a fully seeded GitHub issue with brainstorm, spec and implementation plan
- Open source
- 5 GitHub stars
- Developer tools

Turns a finished branch or a fix left on main into a guarded, linked pull request
- Open source
- 5 GitHub stars
- Developer tools

Makes the agent find a bug's root cause with a reproducible test before any fix
- Open source
- 5 GitHub stars
- Developer tools

Takes one idea or planned issue through filing, building and merging a PR
- Open source
- 5 GitHub stars
- Developer tools





