nestjs-vitest-coverage

Official

Enforce Vitest coverage in NestJS

Authorcromesdk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures reliable and enforceable Vitest code coverage in NestJS projects, preventing coverage drift and maintaining code quality standards.

Core Features & Use Cases

  • Upgrade and Repair: Updates Vitest and coverage packages to the latest versions, resolving compatibility issues.
  • Configuration Hardening: Configures Vitest coverage settings, including reporters, include/exclude patterns, and thresholds.
  • Threshold Enforcement: Sets and enforces minimum coverage thresholds for lines, functions, branches, and statements.
  • Test Gap Remediation: Guides the improvement of tests to cover uncovered code, rather than excluding source files.
  • Use Case: When your CI pipeline fails due to low test coverage after a framework upgrade, or when you need to establish strict coverage gates for your NestJS backend.

Quick Start

Use the nestjs-vitest-coverage skill to upgrade Vitest packages and enforce coverage thresholds in your NestJS project.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: nestjs-vitest-coverage
Download link: https://github.com/cromesdk/ai-skills/archive/main.zip#nestjs-vitest-coverage

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 471,000+ vetted skills library on demand.