CtrlK
BlogDocsLog inGet started
Tessl Logo

hexagonal-architecture-layers-java

Hexagonal architecture layering for Java services with strict boundaries. Trigger: When structuring Java apps by Domain/Application/Infrastructure, or refactoring toward clean architecture.

73

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

93%Weight 40%Scale 1-5

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

A tight, executable skill body that delivers complete Java code for each architectural layer alongside crisp patterns and anti-patterns. It is token-efficient and well-structured, with only a minor gap in verification guidance for boundary correctness.

Suggestions

Add a brief verification cue (e.g. 'Confirm no framework imports in com.acme.order.domain') so users can validate that boundaries are respected after implementation.

Optionally split the three code examples into a references/ file if the skill grows, keeping SKILL.md as an overview.

DimensionReasoningScore

Conciseness

Lean and efficient throughout: pattern statements like 'Domain has no framework annotations, no persistence concerns, and no I/O' assume Claude's competence with no padding or basic-concept explanation.

5 / 5

Actionability

Three complete, executable Java code blocks (domain model, application port + use case, infrastructure adapter) plus concrete anti-patterns make the guidance copy-paste ready and cover the common layering cases.

5 / 5

Workflow Clarity

The When-to-Use list, named patterns, and quick-reference table sequence the design clearly, but as a pattern/design skill it lacks explicit checkpoints; it stays at 4 rather than 5 because no validation/verification guidance is given for verifying boundary correctness.

4 / 5

Progressive Disclosure

A single well-organized file with clear sections (When to Use, Critical Patterns, Code Examples, Anti-Patterns, Quick Reference, Resources) and no need for external references, matching the simple-skill exception for progressive disclosure.

5 / 5

Total

19

/

20

Passed

Description

87%Weight 40%Scale 1-5

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

A well-crafted description that clearly conveys both capability and trigger conditions for a specific Java architecture niche. It is concise, third-person, and low-conflict, with only minor room to broaden trigger synonyms.

Suggestions

Add common synonyms like 'ports and adapters' or 'hexagonal architecture' to the trigger clause so users who phrase it differently still match.

Consider listing one or two more concrete actions (e.g. 'enforce dependency direction', 'isolate domain from Spring') to push specificity toward comprehensive coverage.

DimensionReasoningScore

Specificity

Names the domain ('hexagonal architecture layering for Java services with strict boundaries') and concrete actions ('structuring Java apps by Domain/Application/Infrastructure', 'refactoring toward clean architecture'), with only minor coverage gaps versus the comprehensive 5 anchor.

4 / 5

Completeness

Explicitly states what it does ('layering for Java services with strict boundaries') and when to use it via a dedicated 'Trigger: When ...' clause with concrete phrases, matching the 5 anchor.

5 / 5

Trigger Term Quality

Natural triggers like 'refactoring toward clean architecture' and 'structuring Java apps by Domain/Application/Infrastructure' are present, but common synonyms such as 'ports and adapters' or 'hexagonal' are missing, keeping it just below comprehensive.

4 / 5

Distinctiveness Conflict Risk

Targets a clear niche (Java hexagonal/clean architecture layering) with distinct triggers and minimal overlap risk with other skills.

5 / 5

Total

18

/

20

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
Gentleman-Programming/Gentleman-Skills
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.