CtrlK
BlogDocsLog inGet started
Tessl Logo

121-java-object-oriented-design

Use when reviewing, improving, or refactoring Java object-oriented design, including applying SOLID, DRY, or YAGNI; improving classes and interfaces; correcting encapsulation, inheritance, or polymorphism; resolving God Class, Feature Envy, or Data Clumps; and improving object creation, methods, or exception contracts. Triggers include review Java OOD, refactor Java OOD, improve Java OOD, fix OOP misuse, and identify Java code smells. Part of cursor-rules-java project

75

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

85%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a well-structured orchestration skill: a sequenced workflow with validation checkpoints routes to focused, real reference files. Its main weakness is redundancy — concerns and references are restated across multiple sections.

Suggestions

Collapse the repeated concern/topic lists: keep the concern→reference mapping in Workflow step 3 and remove the duplicate enumerations in 'What is covered' and 'When to use this skill'.

Drop the standalone 'Reference' section since all 8 references are already linked inline in Workflow step 3; or conversely keep only one of the two listings to avoid maintaining duplicated paths.

Merge 'When to use this skill' into the description's trigger list so the body does not restate triggers already present in the frontmatter.

DimensionReasoningScore

Conciseness

Per-section prose is lean and assumes Claude's competence, but the concern list and the 8 references are each repeated across 'What is covered', 'When to use', Workflow steps 2/3, and the 'Reference' section. Not 3 because this redundancy could be tightened; not 1 because it avoids explaining concepts Claude already knows.

2 / 3

Actionability

Gives executable commands ('./mvnw compile', 'mvn clean verify'), named impact priorities (CRITICAL, MAINTAINABILITY...), and an explicit concern-to-reference routing table. Not 2 because the guidance is concrete and copy-ready rather than abstract direction.

3 / 3

Workflow Clarity

A clear 6-step sequence (compile → classify → read references → refactor → verify → report) with explicit checkpoints: 'stop immediately if compilation fails', compile after each significant refactoring, full verify. Not 2 because validation feedback loops are explicit, not implicit.

3 / 3

Progressive Disclosure

Overview body points to 8 one-level-deep reference files via clear markdown links, all verified to exist, with a concern-to-reference navigation map. Not 2 because references are clearly signaled and shallow rather than nested or inline-bloated.

3 / 3

Total

11

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific, trigger-rich, and explicitly covers both capabilities and use conditions in third-person voice. It is a strong, low-conflict trigger description for Java OOD review work.

DimensionReasoningScore

Specificity

Lists many concrete actions — 'applying SOLID, DRY, or YAGNI', 'correcting encapsulation, inheritance, or polymorphism', 'resolving God Class, Feature Envy, or Data Clumps' — rather than vague language. It is not below 3 because it enumerates specific capabilities, not just a domain.

3 / 3

Completeness

Explicitly answers both what ('reviewing, improving, or refactoring Java object-oriented design...') and when ('Use when...', 'Triggers include...'). Not 2 because the 'when' is explicit, not merely implied.

3 / 3

Trigger Term Quality

'Triggers include review Java OOD, refactor Java OOD, improve Java OOD, fix OOP misuse, and identify Java code smells' covers natural phrasings a user would say. Not below 3 because the terms are user-facing rather than internal jargon.

3 / 3

Distinctiveness Conflict Risk

A clear Java-OOD niche with distinct, Java-specific triggers unlikely to fire for unrelated skills. Not 2 because the scope is tightly scoped to Java OOD rather than a broad 'code and documents' style overlap.

3 / 3

Total

12

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
jabrena/cursor-rules-java
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.