investigate

Guide structured root-cause investigation across symptoms, code paths, and changes.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Andy-HNU/AndyClaw --skill investigate-andy-hnu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: investigate
Source: https://github.com/Andy-HNU/AndyClaw/tree/main/skills/gstack-investigate
Command: npx skills add https://github.com/Andy-HNU/AndyClaw --skill investigate-andy-hnu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic debugging with root cause investigation. Four phases: investigate, analyze, hypothesize, implement. Iron Law: no fixes without root cause. Use when asked to "debug this", "fix this bug", "why is this broken", "investigate this error", or "root cause analysis". Proactively suggest when the user reports errors, unexpected behavior, or is troubleshooting why something stopped working.

Core Features & Use Cases

  • Phase-driven approach guiding users through investigate, analyze, hypothesize, implement.
  • Proactive root-cause analysis and suggestions for fixes only after identifying cause.
  • Works across software projects and environments, including debugging errors and performance issues.

Quick Start

Describe the bug with symptoms and steps to reproduce to start a root-cause investigation.

Frequently Asked Questions about investigate

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

FAQPage Schema
How do I find the root cause of a bug instead of just patching symptoms?

Root cause debugging enforces an Iron Law: no fixes without identifying the underlying cause. It guides you through investigate, analyze, hypothesize, and implement phases to ensure you resolve the actual issue rather than just patching symptoms.

What is the best way to debug why something stopped working in my software project?

The best way to debug broken software is a phase-driven approach that investigates symptoms, analyzes code paths, and verifies hypotheses before suggesting fixes. This methodical root cause analysis works across any project or system environment.

Can I use this approach to debug performance issues or is it only for errors?

You can use this root cause investigation approach for both debugging errors and performance issues. It proactively suggests investigation whenever you report unexpected behavior, troubleshooting needs, or errors in your software environment.

How do I start a root cause analysis when I see an unexpected behavior?

To start a root cause analysis, describe the bug with its symptoms and the steps to reproduce it. This triggers the investigation phase, which uses code search and data collection to guide you through identifying the problem.

Does this debugging method require specific frameworks or dependencies?

This debugging method requires no specific frameworks or dependencies. It works across software projects and environments by using standard tools like Bash, Grep, and WebSearch to collect data, search code, and verify hypotheses.

When should I not use a systematic root cause debugging approach?

You should not use systematic root cause debugging for trivial fixes or known errors where the cause is already obvious. It is designed for complex issues requiring structured investigation across symptoms and code paths before implementing a fix.