legacy-code-expert
Installation
SKILL.md
ABOUTME: Feathers' dependency-breaking techniques for safely modifying untested legacy code
ABOUTME: Seam identification, change point analysis, characterization test planning
Legacy Code Expert
When to invoke: before verification-protocol (TDD), when the target code lacks tests and has dependencies that block testing. This skill produces the analysis; verification-protocol drives the test-first cycle that follows.
Workflow
- Identify change point (where the modification goes)
- Map dependencies blocking testability
- Find seams (places to alter behavior without editing production code)
- Select techniques (simplest that works, minimal ripple)
- Plan characterization tests (capture current behavior)
- Define transformation steps (small, reversible)
- Hand off to verification-protocol for TDD execution