test-coverage-review

Generate missing unit, integration, and E2E tests for uncommitted code changes.

5|1|Updated Oct 18, 2019
One-click install
npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill test-coverage-review-marshall-hallenbeck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-coverage-review
Source: https://github.com/Marshall-Hallenbeck/dot_files/tree/main/.claude/skills/test-coverage-review
Command: npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill test-coverage-review-marshall-hallenbeck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the common oversight of missing test coverage by automatically identifying untested code changes and generating the necessary unit, integration, and E2E tests before you commit.

Core Features & Use Cases

  • Gap Analysis: Scans uncommitted git changes to identify new or modified functions, components, and API routes that lack corresponding tests.
  • Context-Aware Generation: Learns your project's specific testing conventions and mocking patterns to ensure generated tests match your existing codebase.
  • Full-Suite Verification: Automatically runs both unit and E2E test suites to ensure new tests pass and no regressions were introduced.

Quick Start

Invoke the test-coverage-review skill to analyze your current uncommitted changes and generate the missing test files.

Frequently Asked Questions about test-coverage-review

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

FAQPage Schema
How do I generate missing tests for uncommitted code changes automatically?

To generate missing tests for uncommitted code, invoke the skill to scan your git changes and automatically produce the necessary unit, integration, and E2E test files. It identifies new or modified functions lacking coverage and creates matching tests before you commit.

Can I scope test generation to specific file paths instead of the entire repository?

Yes, you can scope test generation to specific file paths or analyze the entire repository. Scoping to specific files ensures comprehensive validation of new logic while keeping the test generation process focused and efficient.

Does this work with my existing test runners like pytest and Jest?

Yes, test generation requires integration with project-specific test runners like pytest, Jest, and Playwright. The skill learns your project's testing conventions and mocking patterns to ensure generated tests match your existing codebase.

How do I prevent regressions when adding new test coverage?

To prevent regressions, the skill runs full-suite verification by executing both unit and E2E test suites after generating new tests. This automated verification ensures that newly generated tests pass and no existing functionality is broken.

What is the best way to automate test coverage gap analysis for git changes?

Automating test coverage gap analysis involves scanning uncommitted git changes to identify new components, functions, and API routes that lack corresponding tests. The skill automatically performs this gap analysis and generates the required test files.

What types of tests are generated for untested code changes?

Unit, integration, and E2E tests are generated for untested code changes. The skill identifies new or modified functions lacking coverage and creates the appropriate test layers to ensure comprehensive validation across your project.