Agent skill

Check Coverage

by TypedDevs in TypedDevs/bashunit

Analyze test coverage and identify untested code paths. An agent skill from TypedDevs/bashunit.

MITAuto-check: notesTesting & QA

Install Check Coverage

skills CLI
$ npx skills add TypedDevs/bashunit --skill check-coverage -a claude-code

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

GitHub CLI
$ gh skill install TypedDevs/bashunit check-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/TypedDevs/bashunit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/check-coverage .claude/skills/check-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
check-coverage
GitHub stars
434
Token cost
~326 tokens
SKILL.md length
129 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Analyze test coverage and identify untested code paths. An agent skill from TypedDevs/bashunit.

  • Works in 5 steps: Run Coverage (if available) → Map Functions to Tests → Categorize Coverage → …
  • Tasks that involve Test coverage
  • SKILL.md covers Workflow and Coverage Goals
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Check Coverage is an agent skill from TypedDevs/bashunit. Analyze test coverage and identify untested code paths

Its SKILL.md is about 330 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test coverage. It works with Bash. The repository describes itself as: A simple yet powerfull testing library for bash scripts. The licence is MIT.

When your agent uses it

  • Tasks that involve Test coverage

Example prompts

  • “/check-coverage”

Requirements

  • Pre-approved tools (allowed-tools): Read, Bash, Grep, Glob

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Run Coverage (if available)
  2. Map Functions to Tests
  3. Categorize Coverage
  4. Identify Critical Gaps
  5. Generate Report

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    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

Check Coverage loads about 326 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 129 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash, Grep, Glob

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from TypedDevs/bashunit at commit 8f297fb, republished under its MIT licence (© TypedDevs). 129 words, ~326 tokens.

Download SKILL.mdSave it as .claude/skills/check-coverage/SKILL.md (or your agent's skills folder).
name
check-coverage
description
Analyze test coverage and identify untested code paths
allowed-tools
Read, Bash, Grep, Glob

Check Coverage

Analyze test coverage and identify gaps.

Workflow

1. Run Coverage (if available)
bash
BASHUNIT_COVERAGE=true ./bashunit tests/
2. Map Functions to Tests

For each file in src/:

bash
# List all public functions
grep "^function bashunit::" src/module.sh

# Find tests referencing each function
grep -r "function_name" tests/
3. Categorize Coverage
  • Well tested — multiple tests, edge cases covered
  • Partially tested — basic test exists, missing edge cases
  • Not tested — no tests found
4. Identify Critical Gaps

Priority 1: Public API functions (export -f) with no tests Priority 2: Error handling paths (return 1, exit 1) not tested Priority 3: Complex conditionals without branch coverage

5. Generate Report

Output a markdown report with:

  • Summary (total functions, tested count, estimated %)
  • Coverage by module
  • Critical gaps with file:line references
  • Recommended tests to add (specific test function names)

Coverage Goals

  • 90%+ for public functions
  • All user-facing CLI commands tested
  • All error paths tested
  • Internal helpers: optional (if trivial)

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

Files

Just SKILL.md in .claude/skills/check-coverage of TypedDevs/bashunit.

Open the folder on GitHubat commit 8f297fb

Compare with similar skills

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

Check Coverage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Check Coverage this skillTypedDevs/bashunit434—~326Automated safety check: NotesMIT
TDD ImplementFastLED/FastLED7.5k—~1kAutomated safety check: PassMIT
Testing Bash Scriptsagntcy/coffeeAgntcy112—~1.1kAutomated safety check: PassApache-2.0
Vercel Plugin Evalvercel/vercel-plugin301—~1.2kAutomated safety check: PassCustom licence
Green GateVeryGoodOpenSource/vgv-ai-flutter-plugin169—~4.7kAutomated safety check: NotesMIT
Test Writing WorkflowiOfficeAI/AionUi33k1 repos~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • TDD Implement

    FastLED/FastLED

    Implement a feature or fix a bug using strict TDD. An agent skill from FastLED/FastLED.

    7.5k GitHub stars~1k tokensUpdated today
    Testing & QAAuto-check passed
  • Testing Bash Scripts

    agntcy/coffeeAgntcy

    Writes unit tests (for lib/.sh-style helpers) or mocked end-to-end tests (for executable scripts) using bats, and runs task tests:bash/tests:coverage.

    112 GitHub stars~1.1k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Vercel Plugin Eval

    vercel/vercel-plugin

    Official

    Run live eval sessions against the vercel-plugin to verify hook behavior, skill injection, dedup correctness, and coverage.

    301 GitHub stars~1.2k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Green Gate

    VeryGoodOpenSource/vgv-ai-flutter-plugin

    Drives a Dart or Flutter package fully green through a verify-fix-rerun loop across four gates: analyze, format, test, coverage.

    169 GitHub stars~4.7k tokensUpdated yesterday
    MobileAuto-check: notes
  • 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

More from TypedDevs/bashunit

All 11 skills in this repo
  • Commit

    TypedDevs/bashunit

    Stage and commit changes using conventional commits format. An agent skill from TypedDevs/bashunit.

    434 GitHub stars~781 tokensUpdated yesterday
    Auto-check: notes
  • Gh Issue

    TypedDevs/bashunit

    Fetch GitHub issue, create branch, plan and implement with TDD, then open PR

    434 GitHub stars~721 tokensUpdated yesterday
    Auto-check: notes
  • Gh Issues

    TypedDevs/bashunit

    Walk over all open GitHub issues that are unassigned or assigned to the current user, and process each one via the /gh-issue skill, sequentially.

    434 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check: notes
  • PR

    TypedDevs/bashunit

    Push branch and create a GitHub PR with concise, issue-linked description

    434 GitHub stars~1k tokensUpdated yesterday
    Auto-check: notes
  • Pre Release

    TypedDevs/bashunit

    Run comprehensive pre-release validation checklist. An agent skill from TypedDevs/bashunit.

    434 GitHub stars~488 tokensUpdated yesterday
    Auto-check: notes
  • Release

    TypedDevs/bashunit

    Run pre-release validation and execute the release process. An agent skill from TypedDevs/bashunit.

    434 GitHub stars~618 tokensUpdated yesterday
    Auto-check: notes

Works with

Categories

Questions about Check Coverage

What does Check Coverage do?

Analyze test coverage and identify untested code paths. An agent skill from TypedDevs/bashunit. Check Coverage is an agent skill from TypedDevs/bashunit.

When should I use Check Coverage?

Check Coverage fits situations like: tasks that involve Test coverage.

How do I install Check Coverage in Claude Code?

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

How do I install Check Coverage in Codex?

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

Can I use Check 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 TypedDevs/bashunit --skill check-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/check-coverage, .gemini/skills/check-coverage, .github/skills/check-coverage and .opencode/skills/check-coverage in your project.

What does Check Coverage need to run?

SKILL.md names no scripts, command-line tools or credentials: Check Coverage is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Bash, Grep, Glob.

Does Check 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 Check Coverage safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Check Coverage use?

Check Coverage 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 Check Coverage use?

About 326 tokens (SKILL.md is roughly 1.3k 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 Check Coverage?

Skills that share tags, products or a category with Check Coverage: TDD Implement (FastLED/FastLED, 7.5k stars), Testing Bash Scripts (agntcy/coffeeAgntcy, 112 stars), Vercel Plugin Eval (vercel/vercel-plugin, 301 stars) and Green Gate (VeryGoodOpenSource/vgv-ai-flutter-plugin, 169 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Check Coverage?

TypedDevs (a GitHub organization) maintains it in TypedDevs/bashunit, which has 434 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 6, 2026.

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