test-coverage-improvement

Automate unit test generation and verification for TypeScript packages in a Vitest monorepo.

58|16|Updated May 14, 2026
One-click install
npx skills add https://github.com/NVIDIA-NeMo/nemo-platform --skill test-coverage-improvement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-coverage-improvement
Source: https://github.com/NVIDIA-NeMo/nemo-platform/tree/main/web/.agents/skills/test-coverage-improvement
Command: npx skills add https://github.com/NVIDIA-NeMo/nemo-platform --skill test-coverage-improvement

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the manual overhead of improving unit test coverage in a TypeScript monorepo by automating the identification of low-coverage files, generating relevant tests, and verifying them against project standards.

Core Features & Use Cases

  • Automated Coverage Analysis: Parses Vitest coverage reports to identify high-value modules for testing.
  • Intelligent Test Generation: Creates unit tests for React components and plain TypeScript modules using established patterns like RTL and MSW.
  • Verification Loop: Automatically runs tests, performs type checking, and executes targeted linting on modified files to ensure code quality.

Quick Start

Trigger the test coverage improvement skill by asking the agent to raise coverage for the studio package.

Frequently Asked Questions about test-coverage-improvement

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

FAQPage Schema
How do I automate Vitest coverage improvements in a TypeScript monorepo?

You can automate Vitest coverage improvements by parsing existing coverage reports to identify low-value TypeScript modules, generating relevant unit tests, and verifying them. This skill targets high-value files to autonomously raise coverage.

Can I automatically generate unit tests for React components using Vitest?

Yes, you can automatically generate unit tests for React components using Vitest. The workflow creates tests utilizing established patterns like React Testing Library and MSW for plain TypeScript modules and components.

Does the test generation workflow perform linting and type checking?

Yes, the test generation workflow performs linting and type checking. It features a verification loop that automatically runs tests, executes type checking, and applies targeted linting to modified files to ensure code quality.

Do I need pnpm to automate TypeScript test coverage generation?

Yes, you need pnpm to automate TypeScript test coverage generation. The workflow requires integration with pnpm and Vitest alongside project-specific linting configurations within a monorepo environment to function correctly.

What is the best way to identify high-value modules for unit test generation?

The best way to identify high-value modules for unit test generation is by parsing existing Vitest coverage reports. This automated analysis targets files where additional tests will provide the most value.