CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

java-modern

Java 21+ features for Spring Boot - records, sealed classes, pattern matching, virtual threads, text blocks. Use when user asks about modern Java, Java 21 features, or when modernizing existing code.

Quality

84%

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

78%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 high-quality reference-style skill: nearly all guidance is executable code tuned to Spring Boot, decision guidance (when/when-not-to-use per feature plus a summary table) is unambiguous, and there is no padded concept explanation. The main gap is structure — everything lives inline in one ~310-line file with no progressive disclosure, and a few example sections overlap enough that they could be consolidated or split out.

Suggestions

Move the extended pattern-matching sections ('In Service Logic', 'In Exception Handlers') and the guarded-pattern examples into a references/pattern-matching.md file, keeping only the core syntax forms inline in SKILL.md, to enable one-level-deep progressive disclosure.

Trim the redundant old-style ❌ contrast blocks (the pre-pattern-matching instanceof and the pre-Java-21 list.get(0)/get(list.size()-1) examples) to reduce token cost without losing guidance.

Consolidate the overlapping switch examples (handlePayment, calculateDiscount, processNotification) into a single well-chosen example per pattern (exhaustive, guarded, type-hierarchy) to tighten the largest section.

DimensionReasoningScore

Conciseness

The body is code-heavy with almost no concept explanation — it assumes Claude knows Java and shows only deltas — but the three overlapping pattern-matching sections (basic switch, 'In Service Logic', 'In Exception Handlers') and the ❌ old-style contrast blocks add tokens that could be trimmed, matching anchor 4 rather than anchor 5's every-token-earns-its-place.

4 / 5

Actionability

Examples are copy-paste ready and cover the common cases: validated DTO records, Spring Boot 4.x @ConfigurationProperties records, the spring.threads.virtual.enabled YAML, exhaustive and guarded switch, JPQL text blocks, and a ProblemDetail exception handler — matching anchor 5; only a few illustrative snippets reference undefined types (PaymentReceived, DomesticAddress), which keeps it from being a concern since they are templates.

5 / 5

Workflow Clarity

Not a multi-step process skill (no destructive or batch operations, so no validation cap applies); the 'When to Use' section, per-feature 'Avoid When' guidance, and the Quick Decision Guide table give clear decision guidance, matching anchor 4 — not 5 because it is a multi-topic reference rather than a single unambiguous action.

4 / 5

Progressive Disclosure

Sections are well-organized with a decision-guide table as an overview, but at ~310 lines all content is inline with no bundle files or references to offload extended material (e.g., the extra pattern-matching example sections), matching anchor 3's 'content that should be separate is inline' — not 4 because no references exist, and not 2 because the structure is genuinely good.

3 / 5

Total

16

/

20

Passed

Description

83%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 strong description: it names a clear niche with concrete feature keywords and an explicit 'Use when' trigger clause in third-person voice. The only weaknesses are minor — a couple of missing natural trigger variations and a small coverage gap (sequenced collections) relative to the body content.

DimensionReasoningScore

Specificity

Names the domain ("Java 21+ features for Spring Boot") and five concrete capabilities ("records, sealed classes, pattern matching, virtual threads, text blocks"), matching anchor 4's several-specific-items-with-minor-gaps; it falls short of anchor 5 because it lists features rather than actions and omits sequenced collections, which the body covers.

4 / 5

Completeness

Explicitly answers both what ("Java 21+ features for Spring Boot - records, sealed classes, pattern matching, virtual threads, text blocks") and when ("Use when user asks about modern Java, Java 21 features, or when modernizing existing code") with concrete trigger phrases, matching anchor 5; the when-clause is explicit and specific, so not anchor 4.

5 / 5

Trigger Term Quality

"modern Java", "Java 21 features", and "modernizing existing code" are natural user phrasings and the feature names double as triggers, but common variations like "upgrade Java", other version numbers (17/25), or "new Java syntax" are missing — anchor 4, not 5.

4 / 5

Distinctiveness Conflict Risk

The Java-21-language-features niche has distinct triggers, but "Spring Boot" and "modernizing existing code" create minor overlap risk with a general Spring Boot or general refactoring skill — anchor 4, not 5; it is well above anchor 3's 'could still overlap with similar skills'.

4 / 5

Total

17

/

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

piomin/claude-ai-spring-boot

Path

skills/java-modern/SKILL.md

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.