Giverny

Working With Legacy Code

Safely change and test untested codebases using Feathers'' "Working Effectively with Legacy Code".

by wondelai★ 2,827Code review & quality

What Working With Legacy Code does

Safely change and test untested codebases using Feathers'' "Working Effectively with Legacy Code". Use when the user mentions "legacy code", "no tests", "untested codebase", "how do I test this", "seams", "characterization tests", "golden master", "sprout method", "afraid to change this code", "monster method", "dependency breaking", or "inherited a messy codebase". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Cov

How to install Working With Legacy Code in Claude Code

Giverny gives you a ready prompt with the exact install command from wondelai/skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone wondelai/skills and copy the working-with-legacy-code folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Working With Legacy Code on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the working-with-legacy-code skill on my current project.”

More Claude skills for code review & quality