test-coverage

Enforce test-first development and measure coverage gaps with vitest or jest.

20|3|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/DVNghiem/FlowDeck --skill test-coverage-dvnghiem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-coverage
Source: https://github.com/DVNghiem/FlowDeck/tree/main/src/skills/test-coverage
Command: npx skills add https://github.com/DVNghiem/FlowDeck --skill test-coverage-dvnghiem

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

test-coverage helps teams ensure code is tested before it is considered complete, reducing bugs and surfacing gaps in test suites.

Core Features & Use Cases

  • Enforces test-first development (TDD) across features and bug fixes.
  • Measures and reports test coverage gaps, guiding targeted test improvements.
  • Drives a write-test → implement → verify workflow and regression testing.

Quick Start

Start by writing a failing test for a new feature, implement the minimum code to satisfy the test, and then verify that the test suite reports the desired coverage improvement.

Frequently Asked Questions about test-coverage

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

FAQPage Schema
How do I enforce test-first development and measure coverage gaps in my project?

To enforce test-first development and measure coverage gaps, you follow a write-test, implement, and verify workflow. This ensures code is tested before completion and surfaces test suite gaps to guide targeted improvements.

What is the best way to integrate test coverage enforcement into a TDD workflow?

The best way to integrate test coverage enforcement into a TDD workflow is to write a failing test for a new feature, implement the minimum code to satisfy it, and verify that the suite reports the desired coverage improvement. This enforces coverage thresholds as part of the workflow.

Does this test coverage enforcement approach work with common test frameworks like vitest and jest?

Yes, this test coverage enforcement approach works with common test frameworks like vitest and jest. It supports integration with these frameworks, executes coverage commands, and enforces coverage thresholds during new feature work, bug fixes, and refactors.

Can I use test coverage thresholds during refactoring and bug fixes?

Yes, you can use test coverage thresholds during refactoring and bug fixes. The process ensures meaningful tests and coverage thresholds are demonstrated during these activities, reducing bugs and driving regression testing to verify code stability.

Why measure test coverage gaps when writing software tests?

Measuring test coverage gaps when writing software tests helps teams ensure code is tested before it is considered complete. It guides targeted test improvements by surfacing exactly where the test suite lacks verification, reducing overall bugs.