CtrlK
BlogDocsLog inGet started
Tessl Logo

133-java-testing-acceptance-tests

Use when you need to implement acceptance tests from maintainer-sanitized Gherkin scenario facts for framework-agnostic Java (no Spring Boot, Quarkus, Micronaut) — finding @acceptance scenarios, happy path with RestAssured, project-local DB/Kafka test fixtures, and WireMock for external REST. This should trigger for requests such as Review Java code for acceptance tests; Apply best practices for acceptance tests in Java code. Part of cursor-rules-java project

63

Quality

73%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./skills/133-java-testing-acceptance-tests/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

47%

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

The skill has a well-structured workflow with clear validation checkpoints and safety constraints, which is its strongest aspect. However, it critically lacks any concrete code examples, executable snippets, or specific patterns — all actionable content is deferred to a reference file that wasn't provided for verification. The 'What is covered' section adds bulk without adding actionable value, making the skill feel like a table of contents rather than a teaching document.

Suggestions

Add at least one concrete, executable code example showing a minimal acceptance test with RestAssured (e.g., a simple GET request test mapping from a Gherkin scenario to Java code)

Include a brief WireMock stub example showing how to mock an external REST API in the context of an acceptance test

Remove or significantly condense the 'What is covered' bullet list — it restates what the workflow and constraints already convey and doesn't add actionable guidance

Add a minimal BaseAcceptanceTest skeleton showing the @BeforeAll coordinate propagation pattern with System.setProperty, since this is a key architectural decision

DimensionReasoningScore

Conciseness

The 'What is covered' bullet list is somewhat redundant with the workflow and constraints sections, and explains things Claude could infer. The summary of RestAssured's given/when/then pattern and listing Maven dependencies are borderline unnecessary. However, it's not egregiously verbose.

2 / 3

Actionability

The skill contains no executable code examples, no concrete test snippets, no specific RestAssured or WireMock configuration examples. It describes what to do abstractly ('implement one happy-path test per accepted scenario') but delegates all concrete guidance to a reference file. The body itself is vague direction rather than executable instruction.

1 / 3

Workflow Clarity

The workflow has a clear 4-step sequence with explicit validation checkpoints: compile before changes (step 1), stop if preconditions fail, and verify with full build after changes (step 4). The constraints section reinforces the feedback loop with explicit stop conditions on compilation failure.

3 / 3

Progressive Disclosure

The skill references a single detailed reference file (references/133-java-testing-acceptance-tests.md) which is good structure, but no bundle files were provided to verify the reference exists or contains adequate content. The SKILL.md itself is thin on actionable content, pushing almost everything to the reference — the balance tips too far toward delegation without enough standalone value in the overview.

2 / 3

Total

8

/

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.

This is a strong, well-crafted description that clearly defines a narrow niche (framework-agnostic Java acceptance testing from Gherkin scenarios) with specific tooling references (RestAssured, WireMock, Kafka). It includes both 'what' and 'when' clauses with explicit trigger examples, and the exclusion of specific frameworks helps prevent false matches. The description is dense but informative without being padded.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: finding @acceptance scenarios, happy path with RestAssured, project-local DB/Kafka test fixtures, WireMock for external REST, implementing acceptance tests from Gherkin scenario facts. Very detailed and concrete.

3 / 3

Completeness

Clearly answers both 'what' (implement acceptance tests from Gherkin scenarios with RestAssured, DB/Kafka fixtures, WireMock) and 'when' ('Use when you need to implement acceptance tests...', 'This should trigger for requests such as Review Java code for acceptance tests; Apply best practices for acceptance tests in Java code'). Explicit trigger guidance is present.

3 / 3

Trigger Term Quality

Includes strong natural keywords users would say: 'acceptance tests', 'Java', 'Gherkin', 'RestAssured', 'WireMock', 'Kafka', 'DB', 'best practices', 'review Java code'. Also explicitly excludes Spring Boot/Quarkus/Micronaut which helps with disambiguation. Good coverage of terms a developer would naturally use.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive with a clear niche: framework-agnostic Java acceptance tests specifically from Gherkin scenarios, with explicit exclusion of Spring Boot/Quarkus/Micronaut. The combination of RestAssured, WireMock, Kafka fixtures, and @acceptance annotations creates a very specific trigger profile unlikely to conflict with other skills.

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.

Validation11 / 11 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.