Tooluck logoTooluck
SKILL.md

working-effectively-with-legacy-code

Agent skill fromciembor/agent-rules-books

Apply Michael Feathers-inspired legacy-code rules when changing hard-to-test code safely with characterization tests, seams, sprout methods, or wrap methods.

How to install working-effectively-with-legacy-code

install working-effectively-with-legacy-code
# install the agent-rules-books pack with the skills CLI
npx skills add ciembor/agent-rules-books

# or add only this skill to Claude Code: copy the folder

working-effectively-with-legacy-code/

# into

~/.claude/skills/working-effectively-with-legacy-code/ (all projects)

.claude/skills/working-effectively-with-legacy-code/ (one project)

working-effectively-with-legacy-code/SKILL.md

MITFull file
1# Working Effectively with Legacy Code Skill
2
3Use this skill when a task involves risky legacy changes, missing tests, characterization tests, seams, dependency breaking, sprout method, wrap method, or incremental risk reduction.
4
5Before making design or code decisions, read and apply [working-effectively-with-legacy-code.mini.md](working-effectively-with-legacy-code.mini.md). Use [working-effectively-with-legacy-code.md](working-effectively-with-legacy-code.md) only as a deeper reference when the mini rules are not enough for the current legacy-code tradeoff.

Excerpt shown under the repository's MIT license.

More skills in agent-rules-books

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates