About refactoring-guru
A skill for diagnosing code smells and selecting targeted refactorings while preserving behavior and avoiding uncontrolled redesign. It applies concise rules first, with a deeper reference available for difficult tradeoffs.
Key features
- 01Code smell diagnosis
- 02Targeted refactoring selection
- 03Behavior preservation
- 04Refactoring catalog guidance
- 05Concise rules and deeper reference
Use cases
- 01Investigating code smells
- 02Refactoring while preserving behavior
- 03Keeping refactoring scope focused
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ ciembor/ agent-rules-books --skill refactoring-guruAfter installing, type/refactoring-guruin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
refactoring-guru.mdrefactoring-guru.mini.mdrefactoring-guru.nano.mdDetails
From the project READMERefactoring.Guru Skill
Use this skill when a task involves diagnosing smells, choosing targeted refactoring treatments, preserving behavior, applying a refactoring catalog, or avoiding uncontrolled redesign.
Before making design or code decisions, read and apply refactoring-guru.mini.md. Use refactoring-guru.md only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.