Loading the skills library…

Apply Martin Fowler-inspired refactoring rules when improving existing code structure while preserving observable behavior.
npx skills add ciembor/agent-rules-books --skill refactoringInstalls from the source repository, including any supporting files.
Downloads contain the instructions shown here. Use the install command for the complete 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.
--- name: refactoring description: Apply Martin Fowler-inspired refactoring rules when improving existing code structure while preserving observable behavior. license: MIT --- # Refactoring 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](refactoring.mini.md). Use [refactoring.md](refactoring.md) only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.