← LeaderboardThe Skill Leaderboard
working-effectively-with-legacy-code
Apply Michael Feathers-inspired legacy-code rules when changing hard-to-test code safely with characterization tests, seams, sprout methods, or wrap methods.
Published by ciembor ↗ciembor/agent-rules-booksTry your first task
Find a safe seam in legacy code
Start a fresh conversation.
Use the working-effectively-with-legacy-code skill to inspect <path-to-legacy-code>. Suggest one characterization test that captures current behavior and identify one seam or dependency-breaking step that would make the intended change safer. Limit the result to a small first step and do not modify files yet.
Required inputs
- Path to the legacy code
- Brief description of the intended change or risky behavior
Suggested template by Skill Leaderboard, grounded in the linked source. Task evidence ↗