investigate

Guide root-cause investigation through four phases using shell commands.

5|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/drt0927/tw-overlay --skill investigate-drt0927
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: investigate
Source: https://github.com/drt0927/tw-overlay/tree/main/.gemini/skills/gstack-investigate
Command: npx skills add https://github.com/drt0927/tw-overlay --skill investigate-drt0927

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.

Core Features & Use Cases

  • Structured four-phase workflow to diagnose and fix bugs without chasing symptoms.
  • Gather evidence, generate testable hypotheses, and validate fixes before applying changes.
  • Real-world scenarios include crashes, regressions, and unexpected behavior where understanding root cause matters.

Quick Start

Invoke the investigate skill with the user-reported bug and follow its root-cause analysis steps.

Frequently Asked Questions about investigate

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

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

Root-cause debugging is a systematic investigation process that identifies the underlying cause of bugs or performance regressions before applying fixes. You need it when understanding the true source of unexpected behavior matters more than patching symptoms.

How do I reproduce and analyze a crash without chasing symptoms?

To reproduce and analyze a crash without chasing symptoms, follow a strict four-phase workflow: investigate, analyze, hypothesize, and implement. This method gathers evidence and validates testable hypotheses to ensure you fix the actual root cause.

Can I use shell commands to gather evidence during root-cause analysis?

Yes, you can use shell commands to gather evidence during root-cause analysis. The investigation process interacts with shell commands and system state via allowed-tools to safely reproduce bugs, inspect system conditions, and verify findings auditably.

What's the best way to fix a performance regression without introducing new bugs?

The best way to fix a performance regression safely is to validate testable hypotheses and verify fixes before applying changes. This ensures the regression's root cause is confirmed and the resolution is auditable, preventing new bugs.

Why does my bug fix keep failing when I patch the error immediately?

Your bug fix keeps failing because you are patching symptoms instead of the root cause. Without a structured investigation to generate and test hypotheses, the underlying fault remains, causing the error to persist or reappear.