refactor-java
Installation
SKILL.md
Java Refactoring Catalog Skill
A comprehensive, technique-by-technique catalog of refactoring best practices for Java, sourced from Martin Fowler's Refactoring: Improving the Design of Existing Code (2nd Edition) and Alexander Shvets' Refactoring in Java (Refactoring Guru).
Core Philosophy
Refactoring is the process of changing the internal structure of code without altering its observable behavior. It is a disciplined technique, not a random cleanup. The golden rule is: Cover → Modify → Refactor (always have tests before you start).
Java Refactor Quality Gate
Before declaring a Java refactor complete, review the result against this gate: