husky-test-coverage

Installation
SKILL.md

Husky Test Coverage

Set up or verify Husky git hooks to ensure tests run and coverage thresholds are enforced on every commit.

Purpose

This skill automates the setup of:

  • Husky git hooks for pre-commit testing
  • Test runner detection (Jest, Vitest, Mocha)
  • Coverage configuration with thresholds (default: 80%)
  • Pre-commit hook that runs tests with coverage
  • Configurable coverage enforcement (block or warn)

When to Use

This skill should be used when:

  • Setting up test coverage enforcement for the first time
Related skills
Installs
7
GitHub Stars
22
First Seen
Apr 10, 2026