test-hunter-go

Analyze Go test suites for coverage gaps, brittle tests, and implementation-coupled assertions.

5|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/skyosev/agent-skills --skill test-hunter-go
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-hunter-go
Source: https://github.com/skyosev/agent-skills/tree/main/hunter-party-go/test-hunter-go
Command: npx skills add https://github.com/skyosev/agent-skills --skill test-hunter-go

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Go test suites often suffer from silent bugs due to incomplete coverage, brittle tests, and tests that depend too closely on implementation details. This Skill helps identify coverage gaps, excessive mocking, and missing edge cases to improve test effectiveness.

Core Features & Use Cases

  • Identify critical-path coverage gaps and weak assertions.
  • Detect brittle tests and over-coupling to internal code.
  • Flag missing edge cases and misused table-driven tests.
  • Surface test-setup duplication and flaky patterns with concrete evidence.

Quick Start

Analyze the Go test suite to surface coverage gaps, brittle tests, and undesired coupling to implementation.

Frequently Asked Questions about test-hunter-go

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

FAQPage Schema
How do I find missing coverage and untested error paths in Go test suites?

To find missing coverage in Go test suites, analyze your test files to detect untested error paths and critical gaps. This surfaces coverage holes and missing edge cases, providing concrete guidance to add targeted tests for improved reliability.

Why does my Go unit test fail during refactors even when the logic is correct?

Go unit tests often fail during refactors due to over-coupling to implementation details and brittle assertions. Analyzing the test suite detects this excessive coupling and flaky patterns, guiding you to clean test debt and reduce false positives.

Can I detect race conditions and edge cases in Go integration tests?

Yes, you can detect race conditions and edge cases in Go integration tests by analyzing the test files. The process identifies misused table-driven tests and untested edge cases, offering concrete evidence to fix flaky patterns and improve test effectiveness.

What is the best way to reduce test-setup duplication across Go services?

The best way to reduce test-setup duplication is to analyze Go test suites to surface flaky patterns and duplicated setups with concrete evidence. This detects brittle tests and excessive mocking, helping clean test debt and improve overall reliability.

Do I need specific dependencies to analyze Go test quality and code coverage?

No specific dependencies are required to analyze Go test quality and code coverage. The process works directly by analyzing Go test files to identify weak assertions, coverage gaps, and implementation-coupled tests without needing external components.