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
- 1Assess
Produces a dependency map and risk register and confirms all integrations and data contracts are documented.
- 2Plan phases
Designs an incremental roadmap and gives every phase a named owner and a condition that triggers rollback.
- 3Build a safety net
Writes characterization tests and monitoring and confirms they pass on the untouched legacy system.
- 4Migrate gradually
Routes requests through a facade with feature flags and raises traffic in steps while watching errors and latency.
- 5Retire 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-skillsCommands 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
/code-reviewerGet pull request reviews ranked from critical to minorReviews a pull request after restating its intent, then reports critical, major and minor issues, praise, questions and a verdict.Read the guide →/debugging-wizardFind root causes by testing one hypothesis at a timeReproduces a bug, isolates the smallest failing case and tests one hypothesis at a time before fixing and adding a regression test.Read the guide →/feature-forgeTurn a feature idea into a testable written specificationInterviews you from product and developer angles, then writes an EARS-format spec with acceptance criteria and an implementation checklist.Read the guide →/fullstack-guardianBuild full-stack features with security checks before codingBuilds features across database, API and UI after a written design and a security checklist covering auth, validation and encoding.Read the guide →/spec-minerWrite a specification for code nobody documentedReads an undocumented codebase with search tools only and writes a reverse specification with code locations and open questions.Read the guide →/the-foolStress-test a plan with structured devil's advocacyChallenges a plan through one of five modes, such as pre-mortem or red team, then helps you rebuild a stronger position.Read the guide →
Also in this pack
/api-designerModels resources and endpoints, writes an OpenAPI 3.1 contract, lints it, mocks it and plans versioning and deprecation.↗/architecture-designerMatches requirements to architecture patterns, documents trade-offs with a diagram and writes ADRs for each key decision.↗/chaos-engineerDesigns chaos experiments with a hypothesis, steady state, blast radius and rollback, and runs game days for distributed systems.↗/code-documenterAdds docstrings, JSDoc and OpenAPI docs in your chosen format and checks that the documented examples still compile or run.↗/database-optimizerCaptures EXPLAIN ANALYZE baselines on PostgreSQL or MySQL, then applies index and query changes one at a time and measures each.↗/fastapi-expertBuilds async FastAPI endpoints with Pydantic V2 schemas, dependency injection, JWT auth and pytest plus httpx tests.↗/kubernetes-specialistWrites Kubernetes manifests with resource limits, probes, RBAC and NetworkPolicies, and verifies rollouts with kubectl.↗/mcp-developerScaffolds MCP servers and clients in TypeScript or Python, defines tool schemas and checks protocol compliance with the inspector.↗/monitoring-expertAdds structured logs, metrics and traces, then builds RED or USE dashboards and alerts that are checked for false positives.↗/nextjs-developerStructures Next.js App Router projects with layouts, server components, caching and metadata, and validates with a production build.↗/playwright-expertWrites Playwright E2E suites with page objects, fixtures and API mocking, and debugs flaky browser tests from traces.↗/postgres-proTunes PostgreSQL with EXPLAIN buffers, B-tree, GIN, GiST or BRIN indexes, replication setup and VACUUM and bloat monitoring.↗
Summary by trendhub. The skill itself lives in Jeffallan/claude-skills/plugin/skills/legacy-modernizer by Jeffallan (MIT); read the full, current text there.