Reviews and refactors Java object-oriented design using SOLID, DRY, YAGNI; fixes encapsulation, inheritance, polymorphism issues; resolves God Class, Feature Envy, Data Clumps; improves object creation, methods, and exception contracts.
Ships in 121-java-object-oriented-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Review and improve Java code using focused object-oriented design references selected after assessing the request and affected code.
What is covered in this Skill?
Scope: Classify the applicable OOD concerns first, then load only the focused references needed for those concerns. Load multiple references when a refactoring crosses concern boundaries.
Before applying any OOD changes, ensure the project compiles. If compilation fails, stop immediately — do not proceed until resolved. After applying improvements, run full verification.
./mvnw compile or mvn compile before applying any change./mvnw clean verify or mvn clean verify after applying improvementsRun ./mvnw compile or mvn compile and stop immediately if compilation fails.
Analyze the request and affected Java code before reading implementation guidance. Classify each relevant problem into one or more concerns:
@Override.Optional.If the request is dedicated type-design work, use skill 122. If it is dedicated exception-handling work, use skill 126.
Map the classified concerns to focused references:
references/121-java-object-oriented-design-principles.md.references/121-java-object-oriented-design-oop-concepts.md.references/121-java-object-oriented-design-code-smells.md.references/121-java-object-oriented-design-object-creation.md.references/121-java-object-oriented-design-classes-interfaces.md.@Override, read references/121-java-object-oriented-design-enums-annotations.md.Optional, read references/121-java-object-oriented-design-methods.md.references/121-java-object-oriented-design-exceptions.md.Read every reference required by a cross-concern refactoring, but do not read unrelated references.
Prioritize findings by impact: CRITICAL, MAINTAINABILITY, FLEXIBILITY, or CODE_QUALITY. Apply the smallest suitable refactoring for each diagnosed concern while preserving observable behavior:
Apply changes incrementally and compile after each significant refactoring.
Run ./mvnw clean verify or mvn clean verify after applying improvements.
Report findings by impact and concern, focused references used, refactorings applied, maintainability/flexibility/testability benefits, behavior-preservation evidence, and the final compilation and test result.
For detailed guidance, examples, and constraints, see:
references/121-java-object-oriented-design-classes-interfaces.md (opens in a new tab)references/121-java-object-oriented-design-code-smells.md (opens in a new tab)references/121-java-object-oriented-design-enums-annotations.md (opens in a new tab)references/121-java-object-oriented-design-exceptions.md (opens in a new tab)references/121-java-object-oriented-design-methods.md (opens in a new tab)references/121-java-object-oriented-design-object-creation.md (opens in a new tab)references/121-java-object-oriented-design-oop-concepts.md (opens in a new tab)references/121-java-object-oriented-design-principles.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/121-java-object-oriented-design:121-java-object-oriented-designfrom 121-java-object-oriented-design
npx claudepluginhub jabrena/plinth --plugin 121-java-object-oriented-designOther plugins' skills for the same job