CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

testing-patterns

Testing patterns for Spring Boot - JUnit 5, Mockito, MockMvc, Testcontainers, positive and negative test cases. Use when user asks about testing, writing tests, test coverage, or test failures.

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.

Highly actionable content with complete executable examples across all test levels and thoughtful non-obvious notes (Problem Details assertions, @MockitoBean requirements, Podman setup). Its weaknesses are structural: everything is inlined in one long file with duplicated container boilerplate, and there is no split into reference files or error-recovery guidance for the test-failure debugging it claims to cover.

Suggestions

Move the full @SpringBootTest integration suite, Testcontainers reusable config, and parameterized-test examples into references/ files (e.g., references/integration-tests.md), keeping SKILL.md as a concise overview with clearly signaled one-level-deep links.

Remove duplication: the postgres:16-alpine @Container declaration appears three times and the Quick Reference table repeats the Test Pyramid table's annotations - consolidate to one canonical statement of each.

Add a short workflow for the "Test failures or debugging test issues" use case, e.g., how to read the surefire report, isolate a failing level (unit vs slice vs integration), and re-run a single test.

DimensionReasoningScore

Conciseness

The body is dense with executable code and lean prose that assumes Claude's competence, but carries redundancy: the postgres:16-alpine container declaration appears three times and the Quick Reference table repeats much of the Test Pyramid table. This fits anchor 4 (minor instances that could be trimmed) rather than anchor 5's every-token-earns-its-place.

4 / 5

Actionability

Complete, copy-paste-ready Java test classes for unit, @WebMvcTest, @DataJpaTest, and @SpringBootTest levels, plus concrete run commands (./mvnw clean verify) and Docker/Podman environment setup, covering the common cases including parameterized tests and a naming convention.

5 / 5

Workflow Clarity

The Test Pyramid table's "When to Use" column gives clear level-selection guidance and the run instructions include a validation checkpoint ("check the test report shows them as run, not skipped"), but there is no error-recovery loop and the claimed use case "Test failures or debugging test issues" has no corresponding debugging workflow.

4 / 5

Progressive Disclosure

No bundle files exist, so all ~426 lines are inline in SKILL.md; the full integration-test suite and reusable Testcontainers config clearly belong in separate reference files. Section headers are well-organized (better than anchor 2's minimal structure) and the only file references point outside the bundle ("conventions", "spring-boot skill, references/ui-contract.md"), fitting anchor 3's content-that-should-be-separate-is-inline.

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 that explicitly covers both what the skill does and when to use it, with specific technologies named and natural trigger phrases. The main gap is trigger coverage that omits common phrasings like "unit tests" or "mocking", and triggers that are not themselves scoped to Spring Boot.

DimensionReasoningScore

Specificity

"JUnit 5, Mockito, MockMvc, Testcontainers, positive and negative test cases" names several concrete capabilities in the Spring Boot testing domain, exceeding the 1-2 actions of anchor 3 but falling short of anchor 5's comprehensive coverage (no mention of test levels, parameterized tests, or naming conventions).

4 / 5

Completeness

It clearly states what ("Testing patterns for Spring Boot - JUnit 5, Mockito, MockMvc, Testcontainers, positive and negative test cases") and explicitly when to use it with concrete trigger phrases, matching the anchor-5 example structure.

5 / 5

Trigger Term Quality

"Use when user asks about testing, writing tests, test coverage, or test failures" provides good natural keyword coverage, but misses common variations users say such as "unit tests", "integration tests", "add tests", or "mocking".

4 / 5

Distinctiveness Conflict Risk

"Testing patterns for Spring Boot" with its specific framework stack carves a clear niche, but the trigger terms ("testing", "writing tests") are framework-agnostic and never mention Spring Boot, leaving minor overlap risk with a generic testing skill.

4 / 5

Total

17

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 1 missing

Warning

Total

15

/

16

Passed

Repository

piomin/claude-ai-spring-boot

Path

skills/testing-patterns/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.