test-gap-analyzer

Identify untested functions and missing edge cases in Python, JavaScript, TypeScript, and Go codebases.

1|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/rysweet/AzureHayMaker --skill test-gap-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-gap-analyzer
Source: https://github.com/rysweet/AzureHayMaker/tree/main/.claude/skills/test-gap-analyzer
Command: npx skills add https://github.com/rysweet/AzureHayMaker --skill test-gap-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires coverage.py, pytest, jest.

What problem does it solve?

This Skill eliminates guesswork in test planning by automatically identifying untested code, low-coverage areas, and missing edge cases. It helps developers systematically improve test coverage, reduce bugs, and build more reliable software without manual code audits.

Core Features & Use Cases

  • Automated Gap Detection: Scans codebases to pinpoint functions with zero coverage, low-coverage modules, and untested error paths.
  • Actionable Test Suggestions: Generates specific test case descriptions and ready-to-use code templates, prioritizing by risk and impact.
  • Testing Pyramid Alignment: Guides test creation to maintain a balanced distribution of unit, integration, and E2E tests.
  • Use Case: Before a major release, use this Skill to get a prioritized list of critical test gaps, ensuring the most important parts of your application are thoroughly covered.

Quick Start

Analyze test coverage gaps in my src/ directory and suggest improvements.

Frequently Asked Questions about test-gap-analyzer

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

FAQPage Schema
How do I identify untested functions and code coverage gaps in my codebase?

Test-gap-analyzer scans your codebase to pinpoint functions with zero coverage, low-coverage modules, and untested error paths. It integrates with coverage data sources like coverage.py and coverage.json to surface gaps before release, generating a prioritized report with concrete test templates aligned to the testing pyramid.

Can I use test gap analysis with Python, JavaScript, TypeScript, and Go projects?

Yes. Test-gap-analyzer supports Python, JavaScript, TypeScript, and Go codebases. It requires integration with coverage tools—coverage.py for Python, Jest or coverage.json for JavaScript/TypeScript—to analyze code structure and dependencies across these languages.

How do I generate actionable test suggestions from coverage data?

The Skill analyzes untested areas and generates specific test case descriptions with ready-to-use code templates, prioritized by risk and impact. It aligns suggestions to a balanced testing pyramid: 60% unit tests, 30% integration tests, and 10% E2E tests to guide test creation systematically.

What coverage tools do I need to run test-gap-analyzer?

You need coverage data in a format supported by coverage.py, pytest, or Jest. The Skill requires access to your source repository and coverage reports to identify gaps. It processes coverage.json or similar outputs to map untested functions and missing edge cases.

When should I use test gap analysis in my development workflow?

Run test-gap-analyzer during code review, test planning, and coverage improvement cycles—especially before major releases. It surfaces critical gaps early so you can prioritize test creation and reduce bugs before deployment.

Does test gap analysis identify missing edge cases and error paths?

Yes. Beyond low-coverage detection, test-gap-analyzer surfaces untested error paths and missing edge cases in your codebase. It highlights which scenarios lack test coverage so you can write more comprehensive tests and catch subtle bugs.