Skills Prompts Hues

Popular categories

Agent skill · Jeffallan's Claude Skills

/legacy-modernizer Modernize legacy systems in small, reversible steps

Legacy Modernizer plans and carries out incremental migrations instead of rewrites. The agent maps dependencies and risks, designs phases that each have a rollback trigger and owner, builds characterization tests against current behaviour, then routes traffic through a facade behind feature flags in gradual steps, retiring old code only after the new path proves stable.

Works with

  • Claude Code

When to use it

  • You need to break up a monolith or replace one service without downtime.
  • A framework or language upgrade touches code with few tests.
  • Technical debt has to be reduced while the system stays in production.

How it works

  1. 1
    Assess

    Produces a dependency map and risk register and confirms all integrations and data contracts are documented.

  2. 2
    Plan phases

    Designs an incremental roadmap and gives every phase a named owner and a condition that triggers rollback.

  3. 3
    Build a safety net

    Writes characterization tests and monitoring and confirms they pass on the untouched legacy system.

  4. 4
    Migrate gradually

    Routes requests through a facade with feature flags and raises traffic in steps while watching errors and latency.

  5. 5
    Retire carefully

    Removes the old path only after the new one has run at full traffic for at least one release cycle.

What it steers the agent away from

  • Big-bang rewrites.
  • Deploying a change with no way to roll it back.
  • Removing legacy code before its replacement is proven.

Install this skill

It installs with the Jeffallan's Claude Skills pack.

Claude Code (plugin marketplace)Adds the marketplace, then installs every skill as one plugin; other routes are in the repo's quick start guide.
/plugin marketplace add jeffallan/claude-skills
/plugin install fullstack-dev-skills@fullstack-dev-skills

Commands come from the author’s README; check it for changes before you run them.

Questions

What is the strangler fig pattern?

Placing a facade in front of the old system and moving functionality behind it piece by piece until the old system can be removed.

How much test coverage does it expect first?

It targets 80 percent or more coverage of existing behaviour before refactoring begins.

More guides from Jeffallan's Claude Skills

Also in this pack

All 30 skills →

Summary by trendhub. The skill itself lives in Jeffallan/claude-skills/plugin/skills/legacy-modernizer by Jeffallan (MIT); read the full, current text there.