After TDD cycle, look for: - **Duplication** → Extract function/class - **Long methods** → Break into private helpers (keep tests on public interface) - **Shallow modules** → Combine or deepen - **Feature envy** → Move logic to where data lives - **Primitive obsession** → Introduce value objects - **Existing code** the new code reveals as problematic
Installs into .claude/skills of the current project.
Are you the author of 2519 Refactoring 54fced22?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2519-refactoring-54fced22)
# Refactor Candidates
After TDD cycle, look for:
- **Duplication** → Extract function/class
- **Long methods** → Break into private helpers (keep tests on public interface)
- **Shallow modules** → Combine or deepen
- **Feature envy** → Move logic to where data lives
- **Primitive obsession** → Introduce value objects
- **Existing code** the new code reveals as problematic