Agent skill

Coverage

by Amplicode in Amplicode/spring-skills

Measure a project's code coverage and report the coverage number.

No licenceAuto-check passedTesting & QA

Install Coverage

skills CLI
$ npx skills add Amplicode/spring-skills --skill coverage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Amplicode/spring-skills coverage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Amplicode/spring-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/coverage .claude/skills/coverage && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
coverage
GitHub stars
126
Token cost
~526 tokens
SKILL.md length
214 words
Files
6 (incl. scripts, references)
Skills in repo
16
Repo updated
First seen
Licence
None found

At a glance

Measure a project's code coverage and report the coverage number.

  • Coverage needs to be measured — a user asking to run the coverage report
  • SKILL.md covers What to cover and Pick the path
  • Check the current level
  • Also when the task itself calls for it: recording the starting coverage before development

What it does

Coverage is an agent skill from Amplicode/spring-skills. Measure a project's code coverage and report the coverage number. Use whenever coverage needs to be measured — a user asking to run the coverage report or check the current level, and also when the task itself calls for it: recording the starting coverage before development, confirming coverage didn't drop below the committed baseline after a change. Measures the whole project (unit + integration merged) or just one test group — a package/class glob or a subproject.

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `references/gradle.md`, `references/ide.md` and `references/report.md`).

It sits in Testing & QA, covering Test coverage. It works with Gradle. The repository describes itself as: Amplicode Agent Tools.

When your agent uses it

  • Coverage needs to be measured — a user asking to run the coverage report
  • Check the current level
  • Also when the task itself calls for it: recording the starting coverage before development
  • Confirming coverage didnt drop below the committed baseline after a change

Example prompts

  • “/coverage”

Requirements

  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit bf19b3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Coverage loads about 526 tokens when it runs, and up to ~6.3k if it reads all its reference files. Until then it costs about 120 tokens; SKILL.md has 214 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~120
When it runs · the whole SKILL.md, loaded when a task matches
~526
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 214 words (~526 tokens).

“Same two dimensions as the run-tests skill — test type, optionally narrowed to a module / group:”

— opening of SKILL.md by Amplicode
name
coverage

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts, references) in skills/coverage of Amplicode/spring-skills.

  • SKILL.md
  • references/gradle.md
  • references/ide.md
  • references/report.md
  • scripts/coverage_in_ide.kts
  • scripts/load_coverage_into_ide.kts

Open the folder on GitHubat commit bf19b3c

Compare with similar skills

Coverage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Coverage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Coverage this skillAmplicode/spring-skills126—~526Automated safety check: PassNone
Mutation Testingjvm-skills/jvm-skills140—~6.7kAutomated safety check: PassApache-2.0
Coverage Kover Gradlejvm-skills/jvm-skills140—~301Automated safety check: PassApache-2.0
Test Writing WorkflowiOfficeAI/AionUi33k1 repos~1.2kAutomated safety check: PassApache-2.0
Evaluate PR Testsdotnet/maui23k—~2.9kAutomated safety check: PassMIT
Requirementsrizsotto/Bear6.5k—~2kAutomated safety check: PassGPL-3.0

Similar skills

  • Mutation Testing

    jvm-skills/jvm-skills

    Bootstrap pitest via the info.solidsoft.pitest Gradle plugin with Kotlin-sane defaults, run mutation tests scoped to changed classes, interpret surviving mutants from mutations.xml, triage…

    140 GitHub stars~6.7k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Coverage Kover Gradle

    jvm-skills/jvm-skills

    Run test coverage report using Kover/Gradle and create test improvement plan document

    140 GitHub stars~301 tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Test Writing Workflow

    iOfficeAI/AionUi

    Sets the test-writing workflow for the repository: risk-first scenario lists, behavior-focused Vitest tests, a full run before each commit and a coverage target.

    33k GitHub starsUsed in 1 repo~1.2k tokens
    Testing & QAAuto-check passed
  • Official

    Reviews the tests added in a pull request for fix coverage, quality, edge cases and test type, and recommends lighter test types where they would do.

    23k GitHub stars~2.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Requirements

    rizsotto/Bear

    Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and…

    6.5k GitHub stars~2k tokensUpdated today
    Testing & QAAuto-check passed
  • Mutant

    mbj/mutant

    Run mutant, read mutation reports, fix alive mutations, and verify coverage.

    2.2k GitHub stars~2k tokensUpdated 4 days ago
    Testing & QAAuto-check passed

More from Amplicode/spring-skills

All 16 skills in this repo
  • Mutation Testing

    Amplicode/spring-skills

    Set up and run mutation testing with PIT (pitest) on a Gradle project, and read the mutation score.

    126 GitHub stars~669 tokensUpdated 1 mo ago
    Auto-check passed
  • Amplicode Install

    Amplicode/spring-skills

    Installs the Amplicode IntelliJ plugin into IntelliJ IDEA (Ultimate/Community) and GigaIDE on the user's machine.

    126 GitHub stars~2.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Spring Data Jdbc

    Amplicode/spring-skills

    Rules and guidelines for working with Spring Data JDBC in the project.

    126 GitHub stars~2.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Spring Data Jpa

    Amplicode/spring-skills

    Rules and guidelines for working with Spring Data JPA in the project.

    126 GitHub stars~838 tokensUpdated 1 mo ago
    Auto-check passed
  • Spring Explore

    Amplicode/spring-skills

    Explores a Spring Boot application and builds primary context: tech stack, module structure, domain entities, REST endpoints.

    126 GitHub stars~4.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Spring Security Configuration

    Amplicode/spring-skills

    Creates a Spring Security configuration class with authentication, authorization, and HTTP protection setup.

    126 GitHub stars~4.3k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Coverage

What does Coverage do?

Measure a project's code coverage and report the coverage number. Coverage is an agent skill from Amplicode/spring-skills. Measure a project's code coverage and report the coverage number.

When should I use Coverage?

Coverage fits situations like: coverage needs to be measured — a user asking to run the coverage report; check the current level; also when the task itself calls for it: recording the starting coverage before development; confirming coverage didnt drop below the committed baseline after a change.

How do I install Coverage in Claude Code?

Run `npx skills add Amplicode/spring-skills --skill coverage -a claude-code`. Or copy the skill folder (skills/coverage in Amplicode/spring-skills) into .claude/skills/coverage in your project. Claude Code loads it when a task matches its description.

How do I install Coverage in Codex?

Run `npx skills add Amplicode/spring-skills --skill coverage -a codex`. Or copy the skill folder (skills/coverage in Amplicode/spring-skills) into .agents/skills/coverage in your project. Codex loads it when a task matches its description.

Can I use Coverage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Amplicode/spring-skills --skill coverage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/coverage, .gemini/skills/coverage, .github/skills/coverage and .opencode/skills/coverage in your project.

What does Coverage need to run?

SKILL.md names no scripts, command-line tools or credentials: Coverage is instructions for the agent only. Our summary lists: Docker.

Does Coverage access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Coverage safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Coverage use?

No licence was found for Coverage or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Coverage use?

About 526 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.7k tokens, read only when the agent opens those files.

What are the alternatives to Coverage?

Skills that share tags, products or a category with Coverage: Mutation Testing (jvm-skills/jvm-skills, 140 stars), Coverage Kover Gradle (jvm-skills/jvm-skills, 140 stars), Test Writing Workflow (iOfficeAI/AionUi, 33k stars) and Evaluate PR Tests (dotnet/maui, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Coverage?

Amplicode (a GitHub organization) maintains it in Amplicode/spring-skills, which has 126 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on September 6, 2026.

Source: Amplicode/spring-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.