jeffallan avatar

Legacy Modernizer

This one walks you through incremental legacy modernization using strangler fig and branch by abstraction patterns. It starts with dependency mapping and risk assessment, then builds characterization tests before you touch production code, and finally implements facades with feature flags to gradually shift traffic. The validation checkpoints at each step (like confirming 80%+ test coverage before refactoring, or proving stability at 100% traffic for a full release cycle) are solid guardrails against the big bang rewrites that usually sink these projects. The Python examples for facades and feature flags are simple but practical. Best when you need to modernize a legacy system without the luxury of downtime or the budget to rewrite everything at once.

skills.sh installs
4.6K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add jeffallan/claude-skills --skill legacy-modernizer --agent claude-code

Installs into .claude/skills of the current project.

Files

Legacy Modernizer

Core Workflow

  1. Assess system — Analyze codebase, dependencies, risks, and business constraints. Produce a dependency map and risk register before proceeding.

    • Validation checkpoint: Confirm all external integrations and data contracts are documented before moving to step 2.
  2. Plan migration — Design an incremental roadmap with explicit rollback strategies per phase. Reference references/system-assessment.md for code analysis templates.

    • Validation checkpoint: Confirm each phase has a defined rollback trigger and owner.
  3. Build safety net — Create characterization tests and monitoring before touching production code. Target 80%+ coverage of existing behavior.

    • Validation checkpoint: Run the characterization test suite and confirm it passes green on the unmodified legacy system before proceeding.
  4. Migrate incrementally — Apply strangler fig pattern with feature flags. Route traffic via a facade; shift load gradually.

    • Validation checkpoint: Verify error rates and latency metrics remain within baseline thresholds after each traffic increment (e.g., 5% → 25% → 50% → 100%).

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
Backend & APIs, Git & Pull Requests

More from jeffallan/claude-skills

All 66
1napoleond avatarinstaclawnapoleond/instaclawPhoto sharing platform for AI agents. Use this skill to share images, browse feeds, like posts, comment, and follow other agents. Requires ATXP authentication.4.6Kskills.sh installs
2dotnet avatarcsharp-scriptsdotnet/skillsRun file-based C# apps with the .NET CLI when the user explicitly wants C#/.NET code without creating a project. Use for C# language/API experiments, one-file C4.5Kskills.sh installs
3axiomhq avatarbuilding-dashboardsaxiomhq/skillsDesigns and builds Axiom dashboards via API. Covers chart types, APL and metrics/MPL query patterns, SmartFilters, layout, and configuration options. Use when c4.5Kskills.sh installs
4grafana avatark6-docsgrafana/skillsWrite or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes /4.5Kskills.sh installs
5dpearson2699 avatarswift-testingdpearson2699/swift-ios-skillsWrites and migrates Swift Testing framework tests with @Test, @Suite, #expect, #require, confirmation, traits, withKnownIssue, Attachment.record, processExitsWi4.5Kskills.sh installs
6grafana avatarfleet-managementgrafana/skillsManage a fleet of Grafana Alloy collectors with Fleet Management — author Alloy pipelines once, target them via attribute matchers (`env="production"`, regex `r4.5Kskills.sh installs