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.

Install it, pinned
mdr add victorrentea/petclinic/java-coverage@git:20260904.1e9a84f

Pins 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

The exact contents, by fingerprint
mdr add victorrentea/petclinic/java-coverage@sha256:825bb378ff44306d

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_w5hmea4ya2ymtpvm.svg)](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.

versioncommittedcommitsizeaudit
git:20260904.1e9a84f latest2026-09-04 1e9a84f 3,374 BA view · diff
git:20260828.83e18462026-08-28 83e1846 3,376 BA view · diff
git:20260812.e292a9f2026-08-12 e292a9f 3,410 BA view · diff
git:20260810.73d0b7b2026-08-10 73d0b7b 2,749 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from victorrentea/petclinic

browser-cli SKILL.md skill
victorrentea/petclinic · .claude/skills/browser-cli/SKILL.md · Drive a real browser from the shell with Playwright CLI - open pages, click, fill forms, read the DOM, screenshot…
git:20260812.926728b · audit A · 17 stars
ci-watch SKILL.md skill
victorrentea/petclinic · .claude/skills/ci-watch/SKILL.md · Watch the GitHub Actions run for a pushed commit and repair the build if it goes red — read the failing job logs…
git:20260904.1e9a84f · audit A · 17 stars
confluence-cli SKILL.md skill
victorrentea/petclinic · .claude/skills/confluence-cli/SKILL.md · Read and write Confluence pages from the shell — get/search pages, create, update, append, comment, label (tag)…
git:20260923.4813a6b · audit B · 17 stars
db-cli SKILL.md skill
victorrentea/petclinic · .claude/skills/db-cli/SKILL.md · Query the petclinic Postgres database (owners, pets, vets, visits, types, specialties) by calling the project's…
git:20260925.7787f92 · audit A · 17 stars
drawio-png SKILL.md skill
victorrentea/petclinic · .claude/skills/drawio-png/SKILL.md · Read the draw.io diagram embedded in a *.drawio.png (also .drawio / .drawio.svg) as text — vertices, edges, and the…
git:20261015.295c2c1 · audit A · 17 stars
grill-me SKILL.md skill
victorrentea/petclinic · .claude/skills/grill-me/SKILL.md · Interviews you relentlessly about a plan, one question at a time, until you share an understanding. Invoked via…
git:20261015.aeb84cc · audit F · 17 stars
jenkins-cli SKILL.md skill
victorrentea/petclinic · .claude/skills/jenkins-cli/SKILL.md · Drive Jenkins from the shell — list jobs, trigger builds with parameters and wait for the result, stream console…
git:20260923.4092d44 · audit B · 17 stars
jira-cli SKILL.md skill
victorrentea/petclinic · .claude/skills/jira-cli/SKILL.md · Read and write JIRA issues from the shell — get/search issues, create, update, comment, label (tag), assign…
git:20260923.4813a6b · audit B · 17 stars
AGENTS.md AGENTS.md file
victorrentea/petclinic · AGENTS.md
git:20261022.1c3773a · audit A · 17 stars
AGENTS.md@petclinic-backend AGENTS.md file
victorrentea/petclinic · petclinic-backend/AGENTS.md
git:20261001.1a810a5 · audit B · 17 stars
AGENTS.md@petclinic-test AGENTS.md file
victorrentea/petclinic · petclinic-test/AGENTS.md
git:20261021.a0fc27e · audit A · 17 stars
grill-me SKILL.md skill
victorrentea/petclinic · plugin-marketplace-demo/plugins/petclinic-tools/skills/grill-me/SKILL.md · Interview the user relentlessly about a plan, one question at a time, until there is a shared understanding.
git:20261009.c68428d · audit F · 17 stars

Every file in victorrentea/petclinic

Browse by kind, by grade A, or by owner.