java-coverage SKILL.md skillA
java-coverage from victorrentea/petclinic is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add victorrentea/petclinic/java-coverage@git:20260904.1e9a84fPins git:20260904.1e9a84f in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- victorrentea/petclinic
- Path
.claude/skills/java-coverage/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260904.1e9a84f, committed Sep 4, 2026
- First version recorded
- Aug 10, 2026
- Size
- 3,374 bytes
- Repository stars
- 17
- License
- none declared
Measure backend test coverage from the terminal — JaCoCo line coverage reported as the exact uncovered lines, and PIT mutation coverage reported as the surviving mutants. Use whenever asked about test coverage, "what isn't tested", "run tests with coverage", uncovered/untested lines or branches, how good the tests are, mutation testing / pitest, or before adding tests to a class — instead of asking the user to click "Run with Coverage" in IntelliJ.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Java coverage Two scripts in this skill's own `scripts/` — spell the path from the repo root, since the repo has an unrelated `scripts/` of its own. Both run from anywhere in the repo and print only the **gaps**, as clickable `File.java:12-15,20` refs. ## Line coverage — what never ran ```sh .claude/skills/java-coverage/scripts/coverage.sh # full run, uncovered lines per class .claude/skills/java-coverage/scripts/coverage.sh -n # reuse the last run, don't re-run tests .claude/skills/java-coverage/scripts/coverage.sh -c OwnerMapper -b # one class, incl. half-covered branches ``` JaCoCo is already wired in `petclinic-backend/pom.xml` (agent + report bound to the `test` phase), so a plain `mvn test` writes the very report IntelliJ's "Run with Coverage" shows: `target/site/jacoco/index.html`. `coverage.sh` drives that same `mvn test` and reduces the `jacoco.xml` beside it — it adds the gap extraction, not the instrumentation. ## Mutation coverage — what ran but nothing asserted on ```sh .claude/skills/java-coverage/scripts/mutation.sh rest.error # a package (seconds) …
Read the whole file at its exact version.
How to install
mdr add victorrentea/petclinic/java-coverage@sha256:825bb378ff44306dThe line at the top of this page pins the label git:20260904.1e9a84f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_w5hmea4ya2ymtpvm)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Aug 10, 2026 and Sep 4, 2026, about one every 8 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260904.1e9a84f latest | 2026-09-04 | 1e9a84f | 3,374 B | A | view · diff |
| git:20260828.83e1846 | 2026-08-28 | 83e1846 | 3,376 B | A | view · diff |
| git:20260812.e292a9f | 2026-08-12 | e292a9f | 3,410 B | A | view · diff |
| git:20260810.73d0b7b | 2026-08-10 | 73d0b7b | 2,749 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3374 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
victorrentea/petclinic · 17 stars · license none declared · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_w5hmea4ya2ymtpvm GET https://markdownregistry.com/api/v1/resolve?ref=victorrentea/petclinic/java-coverage GET https://markdownregistry.com/api/v1/blob/825bb378ff44306d7c6e1f8bc2cb469398fc667abf31e30651da7ae89e525098
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.