JUnit 5 skill pack for creating, debugging, modernizing, documenting, and routing JVM test workflows.
SaferSkills independently audited junit5-skill (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this root skill as the package entrypoint for general JUnit 5 requests. Route broad work to the smallest useful subskill. Keep this file light. Read only the subskill and reference files that materially help with the current task.
Use skill-dispatcher as the primary integration layer whenever this package needs help from another skill or when a broader orchestrator is deciding whether JUnit 5 is the right execution layer.
| Need | Use |
|---|---|
| Generic JUnit 5 request or unclear starting point | core/SKILL.md |
| Writing, fixing, running, or correcting JUnit 5 tests | core/SKILL.md |
| Deriving scenarios from requirements, code, or test case definitions | analysis/SKILL.md |
| Suite structure, fixture ownership, or naming conventions | architecture/SKILL.md |
| Maven, Gradle, Console Launcher, CI, or reporting setup | ci/SKILL.md |
| JUnit 4 to JUnit 5 migration | migration/SKILL.md |
| Custom extensions, callbacks, or parameter resolvers | extensions/SKILL.md |
| Human-readable automation documentation | documentation/tests/SKILL.md |
| Root-cause analysis for failing tests | documentation/root_cause/SKILL.md |
| Non-technical summaries of test outcomes | reporting/stakeholder/SKILL.md |
| IDE-specific local setup help | installers/intellij-junie/SKILL.md or installers/vscode-codex/SKILL.md |
scripts/detect-junit-test-context.ps1 when repo structure or toolchain is unclear.assertAll()) to report multiple failures in one run, ensuring faster correction cycles.@Nested, tags, lifecycle control, and extensions deliberately, not as decoration.@BeforeAll and @AfterAll must be static by default. Use @TestInstance(Lifecycle.PER_CLASS) only when non-static lifecycle is explicitly required.assertEquals(expected, actual). Swapping them makes failure reports misleading (e.g., "Expected: 5, Actual: 10" when the actual value was 5).assertAll()) to execute and report on multiple independent assertions within a single test, allowing many errors to be fixed at once.public modifier) unless they must be accessed from other packages.org.junit.jupiter.api rather than the old org.junit (JUnit 4) package. Mixing them leads to tests that "pass" because they never ran.@AfterEach cleanup to prevent state leakage.@Tag without corresponding build-tool configuration (Maven/Gradle) means the tests will run even when you think you've excluded them.core/ is the default path for daily JUnit 5 work.analysis/ derives executable scenarios from requirements, code, or narrative test definitions.architecture/ governs suite shape, ownership, and reuse.ci/ covers execution, build tools, and pipeline behavior.migration/ handles JUnit 4 to JUnit 5 modernization.extensions/ handles reusable callbacks, parameter resolution, and custom annotations.documentation/, reporting/, and installers/ are optional extensions, not prerequisites for routine test authoring.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.