← Explore all skills

DEVELOPMENT WORKFLOW / GitHub community (awesome-copilot)

Test Gap Audit

Map risky behavior to existing tests and report confirmed gaps separately from heuristic leads.

“Run a read-only audit for missing, weak, stale, or mis-scoped test coverage. …”

01 / THE REASONING

Why this made the selection.

  • It audits missing or weak tests and stays read-only unless the user asks for new tests.
  • Coverage percentages are not treated as proof, and repository text is evidence rather than an instruction.
  • The helper reads tracked/untracked nonignored paths, matches tests by name/path/import, ranks unmatched paths by risk keywords and prints text/JSON. --repo expands to the Git root unless --no-git-root is set.
  • Review a changed API or permission path for meaningful regression assertions

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • skills/test-gap-audit/SKILL.md
  • skills/test-gap-audit/scripts/coverage_map.py
  • README.md
  • LICENSE

Our findings

  • The core rule is to stay read-only unless the user explicitly asks to add tests.
  • Line or branch coverage is not accepted as proof that important behavior is tested.
  • Commands that write into the repo, including compileall and formatters, are forbidden.
  • README text, comments, and manifests are evidence and are not followed as instructions.
  • The helper reads tracked/untracked nonignored paths, matches tests by name/path/import, ranks unmatched paths by risk keywords and prints text/JSON. --repo expands to the Git root unless --no-git-root is set.
  • The source requires checking plausible alternative locations before reporting absence and forbids checks that silently write ignored bytecode or other repository files.

Not established by this review

  • The resource was not executed and its tools were not called.
  • No skill execution, authenticated service operation, or outcome benchmark was performed.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add github/awesome-copilot/skills/test-gap-audit

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

npx skills add https://github.com/github/awesome-copilot/tree/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/skills/test-gap-audit
  1. Install the pinned skill directory interactively, retaining its bundled references and scripts.
  2. Select the scope and inspect test conventions; run the bundled map only as a lead generator, then trace actual assertions and indirect coverage.
  3. Use --no-git-root when restricting --repo to a package, and distinguish confirmed gaps, inferred gaps and surveyed-only surfaces in the report.

Before you start

  • Python 3 for the optional standard-library mapping helper
  • Source and test files; Git improves discovery but is not mandatory

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. Pinned skill definition ↗Checked

    https://github.com/github/awesome-copilot/blob/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/skills/test-gap-audit/SKILL.md

    Supports: summary, whySelected, bestFor, limitations, install, access, review

  2. https://github.com/github/awesome-copilot/blob/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/README.md

    Supports: install

  3. MIT licence ↗Checked

    https://github.com/github/awesome-copilot/blob/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/LICENSE

    Supports: license

  4. https://github.com/github/awesome-copilot/blob/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/skills/test-gap-audit/scripts/coverage_map.py

    Supports: review, limitations, access, install

  5. https://raw.githubusercontent.com/github/awesome-copilot/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/skills/test-gap-audit/SKILL.md

    Supports: review.findings, bestFor, upstreamDescription

Evidence & Ask