What problem does it solve?
Legacy addresses the risk, cost, and inertia of aging codebases by providing a structured, safety-first workflow to understand, test, and modernize legacy code without introducing regressions.
Core Features & Use Cases
- Characterization first: generate characterization and golden-master tests to capture existing behavior before any change.
- Safe incremental modernization: enforce small, reversible PRs, prioritized dependency upgrades, and guarded refactors to reduce tech debt.
- Dead code and dependency management: detect likely dead code with multiple signals and plan upgrades for EOL or vulnerable dependencies.
- Use case: take a monolithic repo with no tests and iteratively add tests, remove dead code, and upgrade critical dependencies while preserving behavior.
Quick Start
Ask the skill to run a legacy assessment, create characterization tests for critical paths, and propose a prioritized modernization plan.