investigate

Guide structured phase-based investigations to identify root causes of bugs.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/Ulanxx/mzstack --skill investigate-ulanxx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: investigate
Source: https://github.com/Ulanxx/mzstack/tree/main/investigate
Command: npx skills add https://github.com/Ulanxx/mzstack --skill investigate-ulanxx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic debugging with root cause investigation to prevent patchwork fixes and repeatable triage.

Core Features & Use Cases

  • Phase-driven workflow: investigate, analyze, hypothesize, implement to find root causes.
  • Proactive guidance: prompts for evidence gathering, reproducibility steps, and questions to ask.
  • Cross-domain applicability: works across code, configurations, and runtime environments with telemetry.

Quick Start

Describe the observed bug, reproduce steps, and expected behavior to begin root cause analysis.

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 a structured investigation workflow?

Root-cause debugging is a phase-based investigation process used to identify the underlying source of ambiguous errors or failing configurations before applying fixes, preventing patchwork solutions. You need it when automated tests pass but user issues persist or errors are unclear.

How do I find the root cause of a bug when automated tests pass but the issue persists?

To find the root cause of a bug when tests pass, describe the observed error, provide reproduction steps, and define expected behavior. A structured workflow then guides you through investigation, analysis, and hypothesis phases to isolate discrepancies across code, scripts, and runtime telemetry.

Can I use a phase-based debugging workflow for configuration and script errors, not just application code?

Yes, a phase-based debugging workflow applies cross-domain to configuration files, scripts, and application code. It guides evidence gathering and reproducibility checks across different runtime environments, ensuring root causes are identified regardless of the specific technology stack involved.

What's the best way to prevent patchwork fixes during complex debugging sessions?

The best way to prevent patchwork fixes is to follow a structured, phase-driven workflow that emphasizes evidence gathering and hypothesis testing before implementation. By logging each step and prompting for specific investigative questions, you ensure the actual root cause is addressed.

How does a structured investigation workflow handle ambiguous errors in runtime environments?

A structured investigation workflow handles ambiguous runtime errors by driving through sequential phases: investigating telemetry, analyzing evidence, and forming hypotheses. It proactively prompts you to gather reproducibility steps and logs, ensuring ambiguous issues are systematically narrowed down before fixes are implemented.