This gives Claude structured patterns for refactoring code safely without changing behavior. It covers identifying common smells like long methods and deeply nested conditionals, then walks through techniques like extract method, replace conditional with polymorphism, and introduce parameter objects. The workflow is sensible: ensure test coverage first, make small changes, run tests after each step. I like that it's opinionated about when not to refactor, especially the "without tests" and "code that will be replaced soon" rules. Useful if you're working with legacy code or want Claude to clean things up during feature work without breaking stuff.
npx -y skills add skillcreatorai/ai-agent-skills --skill code-refactoring --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
cursor/plugins
metabase/metabase
metabase/metabase
telagod/code-abyss
github/awesome-copilot
DietrichGebert/ponytail