investigate

Diagnose software failures through evidence-driven root-cause debugging workflows.

2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/hamzaPixl/pixl-ai --skill investigate-hamzapixl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: investigate
Source: https://github.com/hamzaPixl/pixl-ai/tree/main/packages/crew/skills/investigate
Command: npx skills add https://github.com/hamzaPixl/pixl-ai --skill investigate-hamzapixl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Structured, evidence-first debugging that prevents premature or speculative fixes by enforcing a reproduce→diagnose→hypothesize→fix workflow and requiring a regression test for every change.

Core Features & Use Cases

  • Phase-based methodology: Reproduce the symptom in a read-only phase, perform evidence-driven diagnosis, design a specific fix, and implement the fix with a regression test.
  • Investigation-first guardrails: Rules and anti-patterns to avoid guesswork, shotgun debugging, and symptom-only fixes.
  • Developer workflows: Ideal for fixing failing tests, runtime errors, intermittent bugs, and investigating unclear production failures while preserving test coverage and minimizing blast radius.

Quick Start

Use the investigate skill with a failing test name or error message to reproduce the issue, collect evidence, propose a fix with a regression test, and then implement and verify the change.

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 failing pytest test without guessing?

Root-cause debugging for failing tests requires reproducing the symptom in a read-only phase, analyzing stack traces, and verifying fixes with a regression test. This enforces evidence-driven diagnosis before applying code changes.

What is the best way to debug intermittent runtime errors and unexplained defects?

The best way to debug intermittent runtime errors is through stepwise diagnosis and evidence collection. This approach enforces a reproduce, diagnose, and hypothesize workflow to identify the root cause, requiring a test-first regression verification before implementing the actual fix.

Can I use git bisect to diagnose unexplained defects and failing tests?

Yes, you can use git bisect to support root-cause debugging for unexplained defects and failing tests. It integrates into the evidence-driven diagnosis phase to help locate the specific commit causing the regression before you design a specific fix and regression test.

How do I prevent shotgun debugging when fixing failing tests and runtime errors?

To prevent shotgun debugging when fixing runtime errors, enforce an investigation-first workflow with guardrails against guesswork. This requires read-only evidence collection, stepwise diagnosis, and test-first regression verification to ensure fixes target the actual root cause.

Does root-cause debugging work for TDD workflows with failing tests?

Yes, root-cause debugging works for TDD workflows by aligning with test-first principles. It requires implementing a regression test for every change, ensuring that fixes for failing tests and runtime errors preserve test coverage and minimize blast radius.

When should I avoid symptom-only fixes during code-level debugging?

You should avoid symptom-only fixes during code-level debugging when you cannot reproduce the symptom or collect read-only evidence. Without stepwise diagnosis and a regression test, symptom-only fixes risk unresolved root causes and unverified changes to the code flow.