Apply Martin Fowler-inspired refactoring rules when improving existing code structure while preserving observable behavior.
Pro scans all 4 files and shows the line behind each finding
Scanned 9/22/2026
npx -y skills add ciembor/agent-rules-books --skill refactoring --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Refactoring?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ciembor-refactoring)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
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.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!