vibe-coverage-enforcer

vibe-coverage-enforcer is a skill for Claude Code from mracal/vibe-engineering. It costs 43 tokens per session (1,165 once invoked), scanned A, a copy of vibe-coverage-enforcer, MIT.

A test-coverage check that examines how much code is tested, whether requirements have matching tests, and whether requirements are implemented in code. Coverage measures which parts of a program tests execute.

In plain words
What is it for?
Use it before declaring a feature complete, after adding tests, during coverage reviews, or after changing a specification to verify that tests and code still match it.
Why use it?
A single coverage percentage can hide untested critical behavior. The tiered review helps apply stricter expectations to areas such as security, payments, authentication, and core business logic.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mracal/vibe-engineering/coverage-enforcer
Any agent
npx skills add mracal/vibe-engineering --skill coverage-enforcer
Clone the repo
git clone --depth 1 https://github.com/mracal/vibe-engineering

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vibe-coverage-enforcer

README.md
[![agentmods](https://agentmods.dev/badge/skills/mracal/vibe-engineering/coverage-enforcer.svg)](https://agentmods.dev/skills/mracal/vibe-engineering/coverage-enforcer)
Your own site
<a href="https://agentmods.dev/skills/mracal/vibe-engineering/coverage-enforcer"><img src="https://agentmods.dev/badge/skills/mracal/vibe-engineering/coverage-enforcer.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,165 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01165
Opus 5 $0.00022 $0.00583
Sonnet 5 $0.00009 $0.00233
Haiku 4.5 $0.00004 $0.00117

Measured 6d ago against content hash 43213ef43fec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

vibe-coverage-enforcer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to vibe-coverage-enforcer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/coverage-enforcer/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

vibe-coverage-enforcer

Coverage numbers don't guarantee quality, but low coverage guarantees surprise.

When to Use This Skill

  • Before claiming a feature is complete
  • After writing tests, to verify coverage meets standards
  • During periodic coverage health checks
  • When deciding "do I need more tests?"
  • After vibe-spec-sync updates the spec — verify tests still cover requirements

When NOT to Use This Skill

  • Prototype/spike code that will be rewritten
  • Generated code (API clients, schema types)
  • Configuration files
  • When the user explicitly says coverage isn't a priority for this task

Three Coverage Dimensions

Dimension 1: Line Coverage (by Tier)

Not all code needs the same coverage:

Tier Target What's Included
Critical >=90% Security, authentication, authorization, payment/billing, data integrity, encryption
Business >=80% Core business logic, API handlers, state management, validation
General >=70% Utilities, formatting, UI components, logging
Exempt N/A Generated code, test helpers, one-time scripts

Dimension 2: Spec-to-Test Coverage

Which spec requirements have corresponding tests?

  1. Parse requirements from the spec document — each atomic requirement gets an ID
  2. Scan test files for traceability markers:
    • Comment markers: # req:[REQ-ID] or // req:[REQ-ID]
    • Function name patterns: test_req_[REQ-ID]_*
  3. Map: requirement → test function(s) or UNCOVERED
  4. Report: X/N requirements covered (Y%)

Dimension 3: Spec-to-Code Coverage

Which spec requirements have corresponding implementations?

  1. For each requirement, search the codebase for implementing code
  2. Evidence: Note which file(s) and function(s) implement each requirement
  3. Map: requirement → implementation location(s) or NOT_IMPLEMENTED
  4. Report: X/N requirements implemented (Y%)

Steps

  1. Run line coverage for the project:
    • Go: go test -cover ./... or go test -coverprofile=coverage.out ./...
    • JS/TS: npm test -- --coverage
    • Python: pytest --cov

Read the full file on GitHub · 132 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 132 lines · 43 tokens per session scan A 43213ef43fec

Subscribe to this mod's changes

vibe-coverage-enforcer is a skill published in the GitHub repository mracal/vibe-engineering (3 stars, last pushed 3d ago), licensed MIT. It adds 43 tokens to every session and 1,165 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to vibe-coverage-enforcer, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

codexkit-repository-maintenance

Use when maintaining or improving the GameStudio-CodexKIT source repository, including CI, governance, catalog, generators, adapters, packaging, documentation, versioning, or release readiness.

hoatv2211/GameStudio-CodexKIT · 45 tokens

unity-ui-art-and-motion-production

Use when new or revised Unity UI visuals, icons, panels, 9-slice sprites, component states, HUD or menu layouts, popup motion, screen transitions, or flattened UI screenshot decomposition must be produced through Figma and integrated into uGUI, NGUI, or UI Toolkit; not for UI debugging, localization-only work…

hoatv2211/GameStudio-CodexKIT · 83 tokens

game-screenshot-showcase-and-store-packaging

Use when a Unity team needs approved PlayMode screenshots, immutable capture evidence, reviewed showcase slides, or report-only store screenshot packaging without auto-upload, signing, or submission.

hoatv2211/GameStudio-CodexKIT · 44 tokens

studio-project-scaffold

Use when running gamestudio init, status, or uninit, or bootstrapping a new or adopted game repository with AGENTS.md, HANDOFF.md, .agents/CONTRACT.md, project governance, a subsystem registry, or a per-project adapter report, plan digest, named reviewer, backup root, generated agent overlay, apply, uninstall, and…

hoatv2211/GameStudio-CodexKIT · 85 tokens

using-game-studio-skills

Use when starting any GameStudio-CodexKIT task or when a model runner is unavailable and someone requests a confidence-based PASS.

hoatv2211/GameStudio-CodexKIT · 33 tokens

skill-authoring-and-audit

Use when creating or revising a GameStudio-CodexKIT skill, resolving ambiguous skill triggers, auditing provenance or lifecycle maturity, or deriving reusable capabilities from session history.

hoatv2211/GameStudio-CodexKIT · 41 tokens