typescript-testing

Configure TypeScript test coverage in NX monorepos using Vite/Vitest.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/mbailey/claude --skill typescript-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-testing
Source: https://github.com/mbailey/claude/tree/main/claude-code/config/dot-claude/skills/typescript-testing
Command: npx skills add https://github.com/mbailey/claude --skill typescript-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @vitest/coverage-v8, and includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of setting up, configuring, and troubleshooting TypeScript testing environments within NX monorepos using Vite/Vitest. It helps developers quickly resolve issues with test execution, coverage reporting, and configuration, saving significant debugging time.

Core Features & Use Cases

  • Test Configuration Guidance: Provides best practices for vite.config.ts setup, including coverage reporting.
  • Troubleshooting: Offers solutions for common problems like missing coverage files, failing tests, and NX execution issues.
  • Workflow Optimization: Guides on running tests for single packages, all packages, or individual files, with parallelization control.
  • Use Case: When your TypeScript project in an NX monorepo isn't generating test coverage reports correctly, use this skill to diagnose the issue, verify configurations, and ensure all necessary dependencies are installed, getting your CI/CD pipeline back on track.

Quick Start

Help me configure test coverage for my TypeScript library 'my-lib' in an NX monorepo using Vite/Vitest, ensuring the coverage report is generated correctly.