stacks-investigate

Identify root causes of Stacks project bugs through a four-phase debugging process.

2|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/stacksjs/car-rental --skill stacks-investigate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-investigate
Source: https://github.com/stacksjs/car-rental/tree/main/.claude/skills/stacks-investigate
Command: npx skills add https://github.com/stacksjs/car-rental --skill stacks-investigate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool helps engineers identify the root causes of bugs in the Stacks project using a disciplined, four-phase debugging approach, ensuring fixes are based on evidence rather than symptoms.

Core Features & Use Cases

  • Structured four-phase debugging: Investigate, Pattern Analysis, Hypothesis Testing, and Implementation.
  • Guidance for escalation and safe, verifiable fixes to prevent regressing issues.
  • Collects and correlates evidence from logs, git history, tests, and configuration to enable thorough problem understanding.

Quick Start

Run stacks-investigate to guide you through a four-phase root-cause debugging workflow.

Frequently Asked Questions about stacks-investigate

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

FAQPage Schema
What is a structured root-cause debugging process for software engineering?

Root-cause debugging for Stacks issues uses a four-phase process: Investigate, Pattern Analysis, Hypothesis Testing, and Implementation. It guides you through collecting evidence from logs, git history, and tests to ensure fixes target root causes rather than symptoms.

How do I troubleshoot test failures using a structured debugging methodology?

Troubleshoot test failures by correlating evidence from logs, git history, and configuration during the investigation phase. Analyze patterns, form hypotheses based on the collected data, and verify fixes against the original test failures to prevent regression.

Why should I avoid fixing bugs before identifying the root cause?

Avoiding fixes before identifying the root cause prevents patching symptoms, which often leads to recurring issues and regressions. A no-fix-before-root-cause policy ensures solutions are evidence-based, addressing the actual underlying problem across code and configuration.

What is the best way to escalate unresolved bugs during investigation?

The best way to escalate unresolved bugs is to follow structured escalation guidance after completing information gathering and pattern analysis. Escalate with correlated evidence from logs, tests, and git history to provide investigators a thorough problem understanding.

Can I use this debugging approach for both code and configuration failures?

Yes, you can use this debugging approach for both code and configuration failures. The four-phase investigation methodology applies across code, configuration, and test failures to comprehensively identify root causes and implement safe, verifiable fixes.

When should I not use a hypothesis-driven debugging workflow?

You should not use a hypothesis-driven debugging workflow for trivial, immediately obvious syntax errors where the root cause is already visually evident. It is designed for complex issues requiring systematic pattern analysis and evidence correlation.