# Vibe coverage enforcer

> Vibe coverage enforcer is an open-source agent skill for developer tools. Checks test coverage by risk tier and maps spec requirements to tests and code. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ash1794/vibe-engineering/tree/master/plugins/vibe-engineering/skills/vibe-coverage-enforcer
- **Repository:** https://github.com/ash1794/vibe-engineering
- **GitHub stars:** 163
- **License:** MIT
- **Skill name:** vibe-coverage-enforcer
- **Collection:** https://github.com/ash1794/vibe-engineering
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill has the agent measure line coverage against tiered targets, with stricter thresholds for security, authentication, payment and data integrity code and looser ones for utilities and UI. Code is sorted into Critical, Business, General or Exempt tiers, and each package is compared with its target and marked pass or fail.

When a spec document is present, the skill also checks traceability. It parses atomic requirements with IDs, scans test files for req markers in comments or in test function names, and reports which requirements have tests. A second pass searches the codebase for implementing code for each requirement and reports which ones are implemented.

The output is a report with a table per dimension, a summary of scores against targets, a list of required actions and suggested test skeletons. The skill points to a sibling skill, vibe-adversarial-test-generation, for producing tests for uncovered requirements. Commands are given for Go, JavaScript/TypeScript and Python test runners.

## When your agent uses it

> Enforces tiered test coverage standards with three dimensions — line coverage by tier, spec-to-test traceability, and spec-to-code implementation mapping. Use before claiming code is complete.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-coverage-enforcer)
- [License: MIT](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-coverage-enforcer)

## Features

- **Tiered line coverage:** Assigns packages to Critical, Business, General or Exempt tiers, each with its own coverage target.
- **Spec-to-test traceability:** Matches requirement IDs to test functions through comment markers or test name patterns.
- **Spec-to-code mapping:** Locates the source files and functions that implement each spec requirement.
- **Pass/fail summary:** Compares actual scores with targets and lists specific gaps to fix.
- **Suggested test skeletons:** Provides test outlines with requirement markers for uncovered requirements.

## Good for

- Check whether a feature has enough tests before calling it done
- Find which spec requirements have no tests or no implementation
- See which packages fall below their coverage target
- Review coverage after the spec has been updated
- Get test stubs for requirements that are still uncovered

## Install

### Claude Code

This skill ships in the `vibe-engineering` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ash1794/vibe-engineering
/plugin install vibe-engineering@vibe-plugins
```

Or copy only this skill to `~/.claude/skills/vibe-coverage-enforcer`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vibe-coverage-enforcer &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-coverage-enforcer" ~/.claude/skills/vibe-coverage-enforcer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/vibe-coverage-enforcer` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/vibe-coverage-enforcer` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vibe-coverage-enforcer &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-coverage-enforcer" ~/.agents/skills/vibe-coverage-enforcer &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/vibe-coverage-enforcer` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/vibe-coverage-enforcer` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vibe-coverage-enforcer &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-coverage-enforcer" ~/.cursor/skills/vibe-coverage-enforcer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/vibe-coverage-enforcer` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ash1794/vibe-engineering.git --path plugins/vibe-engineering/skills/vibe-coverage-enforcer
```

Or copy the folder to `~/.gemini/skills/vibe-coverage-enforcer` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/vibe-coverage-enforcer`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vibe-coverage-enforcer &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-coverage-enforcer" ~/.copilot/skills/vibe-coverage-enforcer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/vibe-coverage-enforcer` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git
```

Then copy `vibe-engineering/plugins/vibe-engineering/skills/vibe-coverage-enforcer` into your agent's skills folder as `vibe-coverage-enforcer`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Vibe coverage enforcer trigger?

Its description says to use it before claiming code is complete. The skill also lists use after writing tests, during periodic health checks, and after the spec is updated.

### Which test runners does Vibe coverage enforcer use?

It gives commands for Go (go test with coverage), JavaScript and TypeScript (npm test with coverage), and Python (pytest with pytest-cov).

### Does Vibe coverage enforcer need a spec document?

Line coverage runs without one. The spec-to-test and spec-to-code dimensions only run when a spec document exists.

### What should be skipped?

The skill says to skip prototype or spike code, generated code, configuration files, and tasks where the user says coverage is not a priority.

### How do I install Vibe coverage enforcer in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vibe-coverage-enforcer to use it in all your projects, or to .claude/skills/vibe-coverage-enforcer in one project. Or install the vibe-engineering plugin, which includes it: /plugin marketplace add ash1794/vibe-engineering, then /plugin install vibe-engineering@vibe-plugins.

### Does Vibe coverage enforcer run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Vibe coverage enforcer?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Vibe coverage enforcer?

The closest alternatives to Vibe coverage enforcer are Vibe adversarial test generation, Vibe gap analysis, Vibe anti rationalization check, Vibecheck and Vibe production mindset.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Vibe adversarial test generation](https://ai-powered.com/skills/vibe-adversarial-test-generation): Vibe adversarial test generation is an open-source agent skill for developer tools.
- [Vibe gap analysis](https://ai-powered.com/skills/vibe-gap-analysis): Vibe gap analysis is an open-source agent skill for developer tools.
- [Vibe anti rationalization check](https://ai-powered.com/skills/vibe-anti-rationalization-check): Vibe anti rationalization check is an open-source agent skill for developer tools.
- [Vibecheck](https://ai-powered.com/skills/vibecheck): Vibecheck is an open-source agent skill for developer tools.
- [Vibe production mindset](https://ai-powered.com/skills/vibe-production-mindset): Vibe production mindset is an open-source agent skill for developer tools.
- [Vibe spec sync](https://ai-powered.com/skills/vibe-spec-sync): Vibe spec sync is an open-source agent skill for developer tools.
- [Vibe quality loop](https://ai-powered.com/skills/vibe-quality-loop): Vibe quality loop is an open-source agent skill for developer tools.
- [Vibe devil advocate review](https://ai-powered.com/skills/vibe-devil-advocate-review): Vibe devil advocate review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/vibe-coverage-enforcer
