investigate

Coordinate phase-driven root-cause debugging for software defects.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/XinheLIU/human-leverage --skill investigate-xinheliu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: investigate
Source: https://github.com/XinheLIU/human-leverage/tree/main/.claude/skills/investigate
Command: npx skills add https://github.com/XinheLIU/human-leverage --skill investigate-xinheliu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic root-cause debugging helps engineers quickly identify underlying causes of software defects rather than just addressing symptoms.

Core Features & Use Cases

  • Phase-based debugging workflow covering Root Cause Investigation, Pattern Analysis, Hypothesis Testing, Implementation, and Verification.
  • Evidence collection and reproducibility guidance: gather logs, traces, and code references; use Grep and Read to trace through the codebase.
  • Structured communication templates (AskUserQuestion) to gather user input and align stakeholders on the repair plan.
  • Completion and telemetry guidelines to record outcomes and maintain audit trails.

Quick Start

Start by collecting symptoms and reproduction steps, then follow the five phases to identify the root cause and validate a fix.

Frequently Asked Questions about investigate

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

FAQPage Schema
What is systematic root-cause debugging and when do I need it?

Systematic root-cause debugging identifies underlying causes of software defects rather than just addressing symptoms. You need it when users report errors, unexpected behavior, or code failures, ensuring you fix the actual problem instead of patching superficial issues.

How do I debug software defects using a phase-driven workflow?

Debug software defects by following a five-phase workflow: investigate, analyze, hypothesize, implement, and verify. This structured process guides you from initial evidence collection through pattern analysis and hypothesis testing to implementing and validating a permanent bug fix.

How do I collect evidence and reproduce bugs during an investigation?

Collect evidence and reproduce bugs by gathering logs, traces, and code references. Use code search utilities like Grep and Read to trace through the codebase, mapping reported symptoms to their underlying root causes systematically.

What is the best way to align stakeholders on a bug fix repair plan?

Align stakeholders on a repair plan using structured communication templates. These templates gather user input during the debugging workflow, ensuring clear communication of evidence, hypotheses, and implementation steps across the end-to-end investigation process.

How does hypothesis testing work during pattern analysis for bug fixes?

Hypothesis testing during pattern analysis validates suspected causes by mapping collected evidence against code behavior. It enforces a structured approach to verify assumptions before implementation, ensuring the identified root cause is accurate and reproducible.

Are there limitations to phase-driven debugging for complex codebase failures?

Phase-driven debugging relies on accurate evidence gathering and reproducibility. If logs, traces, or code references are incomplete, mapping symptoms to root causes becomes difficult, making hypothesis testing less effective for non-deterministic or complex codebase failures.