About refactoring
A skill for behavior-preserving code improvement, aimed at developers making small, test-backed refactors. It separates cleanup from feature work and applies concise guidance before consulting a deeper reference when needed.
Key features
- 01Behavior-preserving code changes
- 02Small, incremental refactoring
- 03Test-backed cleanup
- 04Guidance for code smells
Use cases
- 01Improve code without changing behavior
- 02Clean up code in test-backed steps
- 03Keep refactoring separate from feature changes
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ ciembor/ agent-rules-books --skill refactoringAfter installing, type/refactoringin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
refactoring.mdrefactoring.mini.mdrefactoring.nano.mdDetails
From the project READMERefactoring Skill
Use this skill when a task involves behavior-preserving code improvement, code smells, small refactoring steps, test-backed cleanup, or separating refactoring from feature changes.
Before making design or code decisions, read and apply refactoring.mini.md. Use refactoring.md only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.