A skill your agent uses when you want to prevent coverage regressions during development.

MITAuto-check passed

Install Coverage Guard

skills CLI
$ npx skills add proffesor-for-testing/agentic-qe --skill coverage-guard -a claude-code

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

GitHub CLI
$ gh skill install proffesor-for-testing/agentic-qe coverage-guard --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/proffesor-for-testing/agentic-qe.git skills-src && mkdir -p .claude/skills && cp -r skills-src/assets/skills/coverage-guard .claude/skills/coverage-guard && 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-guard
GitHub stars
494
Token cost
~546 tokens
SKILL.md length
110 words
Files
2 (incl. scripts)
Skills in repo
111
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when you want to prevent coverage regressions during development.

  • You want to prevent coverage regressions during development
  • SKILL.md covers What It Does, Activation, Configuration and Hook Configuration, plus 2 more sections
  • Runs Shell scripts from its folder; calls jq

What it does

Coverage Guard is an agent skill from proffesor-for-testing/agentic-qe. Use when you want to prevent coverage regressions during development. Activate with /coverage-guard to warn when coverage drops below threshold after code changes.

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/check-coverage.sh`).

The repository describes itself as: Agentic QE Fleet is an open-source AI-powered QA/QE platform designed for use with Coding Agents (works best with Claude Code) featuring specialized agents and skills to support… The licence is MIT.

When your agent uses it

  • You want to prevent coverage regressions during development

Example prompts

  • “/coverage-guard”

Requirements

  • Node.js
  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit 829d030. 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 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • jq

    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 Guard loads about 546 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 110 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~546

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

The full file from proffesor-for-testing/agentic-qe at commit 829d030, republished under its MIT licence (© proffesor-for-testing). 110 words, ~546 tokens.

Download SKILL.mdSave it as .claude/skills/coverage-guard/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
coverage-guard
description
Use when you want to prevent coverage regressions during development. Activate with /coverage-guard to warn when coverage drops below threshold after code changes.
user-invocable
true

Coverage Guard Mode

When activated, checks coverage after test runs and warns if it drops below the configured threshold.

What It Does

After any test execution (via Bash tool), compares coverage to the threshold in config.json. Warns (doesn't block) if coverage decreased.

Activation

/coverage-guard

Configuration

Edit config.json in this skill directory to set thresholds:

json
{
  "thresholds": {
    "statements": 80,
    "branches": 70,
    "functions": 75,
    "lines": 80
  },
  "coverageCommand": "npx jest --coverage --coverageReporters=json-summary",
  "coverageFile": "coverage/coverage-summary.json"
}

Hook Configuration

json
{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Bash",
        "hook": ".claude/skills/coverage-guard/scripts/check-coverage.sh",
        "condition": "command contains 'jest' OR command contains 'vitest' OR command contains 'npm test'"
      }
    ]
  }
}

Enforcement Logic

bash
#!/bin/bash
# check-coverage.sh
COVERAGE_FILE="coverage/coverage-summary.json"
THRESHOLD=80

if [ -f "$COVERAGE_FILE" ]; then
  STATEMENTS=$(jq '.total.statements.pct' "$COVERAGE_FILE")
  BRANCHES=$(jq '.total.branches.pct' "$COVERAGE_FILE")

  if (( $(echo "$STATEMENTS < $THRESHOLD" | bc -l) )); then
    echo "WARNING: Statement coverage ($STATEMENTS%) below threshold ($THRESHOLD%)"
    echo "Coverage dropped — check which files lost coverage."
  fi

  if (( $(echo "$BRANCHES < 70" | bc -l) )); then
    echo "WARNING: Branch coverage ($BRANCHES%) below 70%"
  fi
fi

Gotchas

  • Coverage check runs AFTER the test command — if tests crash, no coverage report is generated
  • Coverage-summary.json must be configured as a reporter — default Jest config may not include it
  • Threshold comparisons use floating point — 79.999% will trigger below 80% threshold
  • Branch coverage is typically 10-15% lower than line coverage — set thresholds accordingly

© proffesor-for-testing, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in assets/skills/coverage-guard of proffesor-for-testing/agentic-qe.

  • SKILL.md
  • scripts/check-coverage.sh

Open the folder on GitHubat commit 829d030

Compare with similar skills

Coverage Guard 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 Guard compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Coverage Guard this skillproffesor-for-testing/agentic-qe494—~546Automated safety check: PassMIT
Coveragealirezarezvani/claude-skills28k2 repos~669Automated safety check: PassMIT
Visual Regressionthedaviddias/Front-End-Checklist74k—~493Automated safety check: PassMIT
Test Coveragethedaviddias/Front-End-Checklist74k—~407Automated safety check: PassMIT
Safety Guardaffaan-m/ECC274k2 repos~554Automated safety check: NotesMIT
Regression Suite MaintenanceDonchitos/Claude-Code-Game-Studios26k—~3.5kAutomated safety check: PassMIT

Similar skills

  • Coverage

    alirezarezvani/claude-skills

    Analyze test coverage gaps. An agent skill from alirezarezvani/claude-skills.

    28k GitHub starsUsed in 2 repos~669 tokens
    Testing & QAAuto-check passed
  • Visual Regression

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing CI coverage, automated checks, or test strategy related to Use visual regression testing.

    74k GitHub stars~493 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Test Coverage

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing CI coverage, automated checks, or test strategy related to Maintain test coverage thresholds.

    74k GitHub stars~407 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Safety Guard

    affaan-m/ECC

    Guard against destructive operations with three modes: Careful intercepts dangerous commands (rm -rf, git push --force, DROP TABLE) for confirmation, Freeze locks writes to one directory, and Guard…

    274k GitHub starsUsed in 2 repos~554 tokens
    DevelopmentAuto-check: notes
  • Regression Suite Maintenance

    Donchitos/Claude-Code-Game-Studios

    Maps existing tests to a game's critical paths, finds fixed bugs that lack regression tests and flags coverage drift as new features arrive.

    26k GitHub stars~3.5k tokensUpdated 8 days ago
    Testing & QAAuto-check passed
  • Analyzing Coverage

    TriliumNext/Trilium

    A skill your agent uses when measuring or chasing Vitest/v8 code coverage in the Trilium monorepo — "what's below 100%?", "which files need tests?", "what lines of X are uncovered?", "take <area to…

    38k GitHub stars~2k tokensUpdated today
    Testing & QAAuto-check passed

More from proffesor-for-testing/agentic-qe

All 111 skills in this repo
  • Contract Testing

    proffesor-for-testing/agentic-qe

    Consumer-driven contract testing for microservices using Pact, schema validation, API versioning, and backward compatibility testing.

    494 GitHub stars~1.8k tokensUpdated 3 days ago
    Auto-check passed
  • Mutation Testing

    proffesor-for-testing/agentic-qe

    Test quality validation through mutation testing, assessing test suite effectiveness by introducing code mutations and measuring kill rate.

    494 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed
  • Performance Testing

    proffesor-for-testing/agentic-qe

    Profiles application performance under load using k6, Artillery, or JMeter to measure latency, throughput, and error rates.

    494 GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed
  • Code Review Quality

    proffesor-for-testing/agentic-qe

    Conduct context-driven code reviews focusing on quality, testability, and maintainability.

    494 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Security Testing

    proffesor-for-testing/agentic-qe

    Scans for security vulnerabilities including XSS, SQL injection, CSRF, and auth flaws using OWASP Top 10 methodology.

    494 GitHub stars~2.7k tokensUpdated 3 days ago
    Auto-check: notes
  • Database Testing

    proffesor-for-testing/agentic-qe

    Database schema validation, data integrity testing, migration testing, transaction isolation, and query performance.

    494 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed

Questions about Coverage Guard

What does Coverage Guard do?

A skill your agent uses when you want to prevent coverage regressions during development. Coverage Guard is an agent skill from proffesor-for-testing/agentic-qe. Use when you want to prevent coverage regressions during development.

When should I use Coverage Guard?

Coverage Guard fits situations like: you want to prevent coverage regressions during development.

How do I install Coverage Guard in Claude Code?

Run `npx skills add proffesor-for-testing/agentic-qe --skill coverage-guard -a claude-code`. Or copy the skill folder (assets/skills/coverage-guard in proffesor-for-testing/agentic-qe) into .claude/skills/coverage-guard in your project. Claude Code loads it when a task matches its description.

How do I install Coverage Guard in Codex?

Run `npx skills add proffesor-for-testing/agentic-qe --skill coverage-guard -a codex`. Or copy the skill folder (assets/skills/coverage-guard in proffesor-for-testing/agentic-qe) into .agents/skills/coverage-guard in your project. Codex loads it when a task matches its description.

Can I use Coverage Guard 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 proffesor-for-testing/agentic-qe --skill coverage-guard -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-guard, .gemini/skills/coverage-guard, .github/skills/coverage-guard and .opencode/skills/coverage-guard in your project.

What does Coverage Guard need to run?

Going by SKILL.md and its folder, Coverage Guard needs a shell for the scripts in its folder and the command-line tools its instructions call (jq). Our summary lists: Node.js; A Bash shell.

Does Coverage Guard 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 Guard 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 Guard use?

Coverage Guard is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Coverage Guard use?

About 546 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Coverage Guard?

Skills that share tags, products or a category with Coverage Guard: Coverage (alirezarezvani/claude-skills, 28k stars), Visual Regression (thedaviddias/Front-End-Checklist, 74k stars), Test Coverage (thedaviddias/Front-End-Checklist, 74k stars) and Safety Guard (affaan-m/ECC, 274k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Coverage Guard?

proffesor-for-testing (a GitHub user) maintains it in proffesor-for-testing/agentic-qe, which has 494 GitHub stars. The repository holds 111 skills in this directory. The repository was last updated on October 4, 2026.

Source: proffesor-for-testing/agentic-qe on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.