CtrlK
BlogDocsLog inGet started
Tessl Logo

111-java-maven-dependencies

Use when you need to add or evaluate Maven dependencies that improve code quality — including nullness annotations (JSpecify), static analysis (Error Prone + NullAway), functional programming (VAVR), or architecture testing (ArchUnit) — and want a consultative, question-driven approach that adds only what you actually need. This should trigger for requests such as Add Maven dependencies; Add JSpecify nullness dependencies; Add Error Prone NullAway dependencies; Add VAVR functional dependencies; Add ArchUnit architecture testing dependencies. 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.

A well-structured interactive skill body with a clear validated workflow, actionable question flow, and clean one-level-deep reference split. Its main weakness is conciseness: the trigger list and the 'consultative, question-driven' framing are repeated across sections.

Suggestions

Remove the 'When to use this skill' section or the 'What is covered in this Skill?' bullets — both duplicate the frontmatter description and the per-family option labels, saving tokens without losing information.

State the consultative/question-driven intent once (e.g., in the intro) instead of repeating 'consultative, question-driven' in the intro, Constraints, and the workflow step 2 header.

Collapse the 'Constraints' MANDATORY/SAFETY/BEFORE-READING bullets into the workflow steps they govern, so each constraint lives next to its action instead of being stated twice.

DimensionReasoningScore

Conciseness

The body repeats the description's trigger list in 'When to use this skill', restates 'consultative, question-driven' three times, and the 'What is covered in this Skill?' bullets overlap the per-family descriptions. It assumes Claude's competence (no basic-concept padding) but could be tightened. Not a 3 because of the duplicated triggers and repeated consultative framing; not a 1 because it avoids explaining concepts Claude already knows.

2 / 3

Actionability

It gives concrete executable guidance: the `./mvnw validate` / `mvn validate` command, a structured question flow with explicit options, format spec ('Use dot notation (e.g., com.example.myproject)'), an example, and explicit reference-to-selection mapping. Not a 2 because the guidance is concrete and copy-paste-ready rather than pseudocode or vague direction.

3 / 3

Workflow Clarity

Four numbered steps with an explicit validation checkpoint and feedback loop in step 1 ('Run `./mvnw validate`... stop if validation fails' and 'If validation fails, stop and ask the user to fix issues—do not proceed until resolved'). Not a 2 because validation steps and the retry/stop loop are explicit rather than implicit or missing.

3 / 3

Progressive Disclosure

The body is a concise overview plus the interactive question flow, with XML details correctly split into three real one-level-deep references (jspecify, vavr, archunit — verified to exist) signaled via markdown links in both the workflow and a Reference section. Not a 2 because content is appropriately separated and clearly navigated rather than inlined or nested.

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.

A strong description that clearly states what it does, lists specific concrete capabilities, and provides explicit natural-language trigger phrases for when to use it. It is distinctive and well-targeted to its named Java/Maven code-quality niche.

DimensionReasoningScore

Specificity

It lists multiple concrete additions — 'nullness annotations (JSpecify), static analysis (Error Prone + NullAway), functional programming (VAVR), or architecture testing (ArchUnit)' under the concrete action of adding/evaluating Maven dependencies. Not a 2 because it names several distinct concrete capabilities rather than only a domain and a few actions.

3 / 3

Completeness

It answers both what ('add or evaluate Maven dependencies that improve code quality...') and when, with an explicit 'Use when...' clause plus 'This should trigger for requests such as...'. Not a 2 because explicit trigger guidance is present, so it is not capped.

3 / 3

Trigger Term Quality

It gives natural phrasings a user would say — 'Add Maven dependencies; Add JSpecify nullness dependencies; Add Error Prone NullAway dependencies; Add VAVR functional dependencies; Add ArchUnit architecture testing dependencies'. Good coverage of common variations; not a 2 because it supplies explicit natural-language triggers.

3 / 3

Distinctiveness Conflict Risk

It targets a clear niche — code-quality Maven dependencies for the named JSpecify/Error Prone/NullAway/VAVR/ArchUnit tooling — with distinct triggers unlikely to fire for unrelated skills. Not a 2 because the named libraries make it specific rather than a generic 'document/code files' skill.

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.