bug-detective

Diagnose and resolve code bugs using a structured five-step debugging workflow.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/AnXueHua/auto-research --skill bug-detective-anxuehua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bug-detective
Source: https://github.com/AnXueHua/auto-research/tree/main/skills/bug-detective
Command: npx skills add https://github.com/AnXueHua/auto-research --skill bug-detective-anxuehua

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Identify and resolve code bugs by applying a structured debugging workflow that guides you from symptom to fix.

Core Features & Use Cases

  • Systematic steps: understand the problem, gather evidence, form hypotheses, verify, and resolve.
  • Recognizes common error patterns and provides a decision framework for prioritizing actions.
  • Reproduces steps and evidence collection to support debugging in various languages and environments.

Quick Start

Diagnose and fix the reported bug by following the structured debugging workflow.

Frequently Asked Questions about bug-detective

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

FAQPage Schema
How do I debug software errors using a systematic root-cause analysis workflow?

To debug software errors systematically, follow a deterministic five-step workflow: understand the problem, gather evidence, form hypotheses, verify hypotheses, and resolve the issue, logging evidence and test results to ensure reproducibility.

What is the best way to identify root-cause failure points from a stack trace?

The best way to identify root-cause failure points from a stack trace is to collect the trace as evidence, form hypotheses about the failure origin, and verify those hypotheses through structured experimentation before applying a fix.

Can I use this structured debugging workflow for error analysis across different programming languages?

Yes, you can use this structured debugging workflow for error analysis across different programming languages. It reproduces steps and collects evidence to support debugging in various languages and software environments.

How do I form and verify hypotheses when reproducing error analysis steps?

To form and verify hypotheses during error analysis, gather evidence from reproduction steps, create targeted hypotheses based on recognized error patterns, and test them experimentally to confirm the root-cause before resolving the issue.

What should I do if my initial debugging hypotheses are not resolving the code bug?

If initial debugging hypotheses are not resolving the code bug, revisit the evidence gathering phase. Re-analyze the stack trace and reproduction steps to form new hypotheses, ensuring all decisions and test results are logged for reproducibility.