bughunter

Fix one small bug or test reliability gap per session.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ericklemos/ai-tools --skill bughunter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bughunter
Source: https://github.com/ericklemos/ai-tools/tree/main/.agents/skills/bughunter
Command: npx skills add https://github.com/ericklemos/ai-tools --skill bughunter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

BugHunter ensures codebases stay robust by identifying and fixing one bug or test reliability gap per session, keeping tests honest and the codebase trustworthy.

Core Features & Use Cases

  • Identify a small bug or test gap and reproduce it deterministically.
  • Add a focused test case or improve existing tests to raise coverage and reduce flakiness.
  • Document findings and preserve results for future sessions.

Quick Start

Begin a session by running the test suite to reproduce a deterministic failure and start the debugging loop.

Frequently Asked Questions about bughunter

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

FAQPage Schema
How do I fix flaky tests and improve test reproducibility in my codebase?

You improve test reproducibility by deterministically reproducing the failure and adding a focused test case to fix one small bug or reliability gap per session, reducing flakiness and keeping tests honest.

What is the Arrange-Act-Assert testing pattern and when is it required?

Arrange-Act-Assert is a testing pattern that structures tests into distinct setup, execution, and verification phases. It is required for maintaining clear defect reports and robust test coverage in automated testing environments.

How do I start a debugging loop to reproduce a deterministic test failure?

Begin a debugging loop by running the test suite to reproduce a deterministic failure. Document findings in a reproducible journal to preserve results for future sessions and improve codebase trust.

Does this approach work for projects without automated testing?

No, this approach applies to projects with automated testing where deterministic reproduction, robust test coverage, and clear defect reports are required. It maintains over 80% coverage and produces a reproducible journal of findings.

What is the best way to maintain over 80% test coverage while fixing bugs?

The best way to maintain over 80% test coverage is to add a focused test case or improve existing tests for each bug fixed. This incremental approach raises coverage and reduces flakiness without overwhelming the session.

Why should I document test reliability gaps in a reproducible journal?

Documenting test reliability gaps in a reproducible journal preserves results for future sessions, ensuring codebase trust. It maintains a clear history of defect reports and deterministic reproduction steps for ongoing test automation.