test-full-coverage

Run monorepo test suites with V8 coverage reporting and identify uncovered code.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/Blotch-Smart-Frames/Board --skill test-full-coverage-blotch-smart-frames
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-full-coverage
Source: https://github.com/Blotch-Smart-Frames/Board/tree/main/packages/client/.claude/skills/test-full-coverage
Command: npx skills add https://github.com/Blotch-Smart-Frames/Board --skill test-full-coverage-blotch-smart-frames

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It removes the guesswork from verifying test coverage across a Turborepo monorepo by running the full test suite with V8 coverage and surfacing uncovered functions, branches, and lines per package. ## Core Features & Use Cases - Monorepo-wide coverage: Run npm run test:coverage to execute vitest and Angular ng test --coverage across all packages via Turborepo. - Targeted package analysis: Scope coverage runs to a single workspace package to debug gaps quickly. - Uncovered code detection: Use the JSON coverage reporter to list uncovered functions and branches with file paths. - Use Case: Before merging a pull request, run full coverage to confirm no package drops below its threshold and get exact file paths for any uncovered lines. ## Quick Start Ask the assistant to run full test coverage across the monorepo and report any packages below the coverage threshold with uncovered file paths.

Frequently Asked Questions about test-full-coverage

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

FAQPage Schema
How do I run test coverage across an entire npm workspaces monorepo?▼

Run npm run test:coverage from the repo root, which delegates to Turborepo to execute vitest run --coverage in platform packages and ng test --coverage in the Angular SPA. Results are reported per package.

How to find uncovered functions and branches with vitest coverage?▼

Run npx vitest run --coverage --coverage.reporter=json, then parse coverage/coverage-final.json to list entries where function or branch hit counts are zero. This gives exact file paths and uncovered function names.

Can I run coverage for only one package in a monorepo?▼

Yes, use npm run test:coverage -w @blotch/<package> to scope the coverage run to a single workspace package, or run the coverage script directly inside that package directory.

What should I do when code cannot be covered by tests?▼

First try extracting pure functions into a helpers file for direct testing. If extraction is impractical, add a /* v8 ignore next N */ comment on the source file for cases like CLI entry guards or env-dependent code.

Which coverage provider does vitest use for V8-based reporting?▼

This setup uses @vitest/coverage-v8, which instruments code through the V8 engine's built-in coverage rather than transpilation-based instrumentation like Istanbul.