CtrlK
BlogDocsLog inGet started
Tessl Logo

521-frameworks-micronaut-testing-unit-tests

Use when you need to write unit tests for Micronaut applications — Mockito-first with @ExtendWith(MockitoExtension.class), @MicronautTest with @MockBean, HttpClient @Client(/) assertions, @Property overrides, @ParameterizedTest, and *Test vs *IT naming. For framework-agnostic Java use @131-java-testing-unit-testing. This should trigger for requests such as Add or improve unit tests in a Micronaut project; Reduce unnecessary @MicronautTest usage with Mockito-first tests; Write Mockito-first unit tests for Micronaut services; Mock Micronaut bean collaborators in unit tests; Review fast Micronaut tests without application context. Part of Plinth Toolkit

75

Quality

94%

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

85%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 well-structured overview body: an explicit compile-verify workflow with real safety checkpoints, and clean progressive disclosure into a single detailed reference. The main improvement area is making the body slightly more self-sufficient and tighter — a couple of generic workflow lines and the filler 'Scope' line could be trimmed or replaced with a minimal concrete example.

Suggestions

Trim filler lines such as the 'Scope' sentence and generic workflow steps (e.g., 'Identify requested outcomes, constraints, and the minimum safe set of changes to apply'), which state what Claude would do anyway.

Include one minimal good/bad test snippet (e.g., a MockitoExtension service test vs. an unnecessary @MicronautTest) in the body so the core pattern is actionable without opening the reference.

Name the compile/verify context explicitly in the workflow steps (where to run them relative to applying changes) rather than only in the separate Constraints section.

DimensionReasoningScore

Conciseness

The body is lean with no explanations of concepts Claude already knows, but a few lines are filler — "Scope: Apply recommendations based on the reference rules and good/bad code examples" and generic workflow steps like "Identify requested outcomes, constraints, and the minimum safe set of changes to apply" could be trimmed. It is not 5 because those minor padded spots exist, and not 3 because nearly all content earns its place.

4 / 5

Actionability

It gives concrete executable commands ("Run `./mvnw compile` or `mvn compile`", "Run `./mvnw clean verify` or `mvn clean verify`") and points to a real reference file, but the body itself contains no code or test example — the executable detail is delegated entirely to the reference. This sits between level 3 (guidance present but key specifics delegated away) and level 5 (copy-paste ready content), matching 'mostly executable with minor gaps'.

4 / 5

Workflow Clarity

The four-step workflow has explicit validation checkpoints and feedback handling: compile before any change ("If compilation fails, stop immediately"), verify after applying improvements, and stop-and-ask on ambiguous scope or missing tooling. This matches the top anchor of clear sequence with explicit validation and error-recovery behavior.

5 / 5

Progressive Disclosure

The body is a genuine overview: a coverage list, constraints, triggers, and workflow, with all detailed rules and examples in a single one-level-deep, well-signaled reference file (referenced twice, once as a markdown link) that exists and is organized with a table of contents. Navigation is easy and nothing that belongs in a separate file is inlined.

5 / 5

Total

18

/

20

Passed

Description

100%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.

An excellent description: it states concrete annotation-level capabilities, provides multiple natural trigger phrases, explicitly covers both what and when, and disambiguates against the framework-agnostic sibling skill. The only nitpick is the slightly garbled "@Client(/)" notation, which does not affect scoring.

DimensionReasoningScore

Specificity

The description enumerates concrete capabilities with exact annotations — "Mockito-first with @ExtendWith(MockitoExtension.class), @MicronautTest with @MockBean, HttpClient @Client(/) assertions, @Property overrides, @ParameterizedTest, and *Test vs *IT naming" — giving comprehensive coverage rather than the 'minor gaps' of level 4.

5 / 5

Completeness

Both 'what' (the annotation-level capability list) and 'when' ("Use when you need to write unit tests for Micronaut applications" plus five concrete trigger requests) are explicit, matching the top anchor; it is not level 4 because 'when' is already fully explicit and specific.

5 / 5

Trigger Term Quality

It lists natural user phrasings such as "Add or improve unit tests in a Micronaut project", "Mock Micronaut bean collaborators in unit tests", and "Review fast Micronaut tests without application context", covering multiple synonymous ways a user would ask for this; no natural terms are missing.

5 / 5

Distinctiveness Conflict Risk

A clear niche (Micronaut unit testing) with distinct triggers and explicit disambiguation ("For framework-agnostic Java use @131-java-testing-unit-testing") yields minimal conflict risk; the description is not generic and does not overlap with unrelated skills.

5 / 5

Total

20

/

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
jabrena/plinth
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.