Test Enforcement

Community

Ensure code quality with mandatory tests.

Authordoanchienthangdev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents incomplete work by enforcing that all code changes must have passing tests and meet defined coverage criteria before being considered done.

Core Features & Use Cases

  • Mandatory Testing: Blocks task completion if tests are missing or failing.
  • Configurable Gates: Allows setting minimum coverage percentages and defining required test types (unit, integration, etc.).
  • Override Mechanisms: Provides options for soft warnings, standard blocking, and strict enforcement, with configurable override procedures for emergencies.
  • Use Case: A developer attempts to mark a feature as complete, but the system automatically blocks it, indicating that unit tests are missing for new API endpoints and that coverage has dropped below the 80% threshold.

Quick Start

Use the Test Enforcement skill to ensure all new code has passing tests and meets coverage requirements before marking a task as complete.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Test Enforcement
Download link: https://github.com/doanchienthangdev/omgkit/archive/main.zip#test-enforcement

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.