spec-coverage-audit

Audit spec or behavior catalogs against tests and classify coverage gaps.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Elijah-J/InfoScraper --skill spec-coverage-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-coverage-audit
Source: https://github.com/Elijah-J/InfoScraper/tree/main/.agents/skills/spec-coverage-audit
Command: npx skills add https://github.com/Elijah-J/InfoScraper --skill spec-coverage-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit a spec or durable behavior catalog against tests. Use after /enumerate-behaviors and /unit-test-gen, or before committing, to verify that every behavior has a test mapping, fixture realism is adequate, and gaps are explicit.

Core Features & Use Cases

  • Provides a structured gap analysis across specs, catalogs, and tests to ensure traceability.
  • Evaluates fixture realism and alignment with the target behavior, flagging missing or mismatched fixtures.
  • Generates a concise audit report that guides fixes before commits or releases.

Quick Start

Run the spec coverage audit on a target catalog or spec path to generate a gap report that classifies each behavior as covered, partial, none, or N/A.

Frequently Asked Questions about spec-coverage-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if every behavior in my spec has a corresponding test?

A spec coverage audit identifies gaps between behaviors and tests by extracting behaviors from catalogs under docs/behavior-catalogs and specs under docs/specs, then mapping them to tests by IDs or public API names to classify coverage as covered, partial, none, or N/A.

What is the best way to audit fixture realism in behavior-driven testing?

Auditing fixture realism involves evaluating test data alignment against target behaviors during a spec coverage audit, flagging missing or mismatched fixtures to ensure test data adequately represents the expected behavior scenarios before committing.

When do I need to run a spec coverage audit for traceability?

Run a spec coverage audit after enumerating behaviors and generating unit tests, or before committing, to verify that every behavior has a test mapping, evaluate fixture realism, and produce a concise audit report guiding fixes.

Can I integrate spec coverage gap analysis into my code review workflow?

Yes, the spec coverage audit integrates with review workflows by producing a structured gap analysis report that guides fixes before commits and releases, ensuring traceability across specs, catalogs, and tests.

How does a spec coverage audit classify partial versus none coverage?

The audit classifies partial versus none coverage by extracting behaviors from target specs or catalogs and mapping them against existing tests by IDs or public API names to determine if a behavior is fully covered, partially covered, or completely missing.