gstack-openclaw-investigate

Diagnose bugs through root cause investigation, hypothesis testing, and verified fixes.

Updated Sep 13, 2026
One-click install
npx skills add https://github.com/abdulazeezoj/monovella-poc --skill gstack-openclaw-investigate-abdulazeezoj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gstack-openclaw-investigate
Source: https://github.com/abdulazeezoj/monovella-poc/tree/main/.agents/skills/gstack/openclaw/skills/gstack-openclaw-investigate
Command: npx skills add https://github.com/abdulazeezoj/monovella-poc --skill gstack-openclaw-investigate-abdulazeezoj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Debugging often devolves into guessing and symptom-patching, which creates whack-a-mole bugs that resurface later. This Skill enforces a disciplined five-phase workflow that finds the actual root cause before any fix is written, then proves the fix works with a regression test. ## Core Features & Use Cases - Structured Root Cause Investigation: Collects symptoms, traces code paths, checks recent git history, and reproduces the bug before forming any hypothesis. - Pattern Matching & Hypothesis Testing: Classifies failures into known patterns (race conditions, null propagation, state corruption, integration failures, configuration drift, stale caches) and verifies each hypothesis with temporary instrumentation, with a 3-strike stop rule. - Verified Fixes with Regression Tests: Requires a minimal-diff fix, a regression test that fails without the fix and passes with it, a full test suite run, and a structured debug report saved to memory. - Use Case: A user reports an intermittent production error with a stack trace. The Skill traces the code path, checks recent commits, identifies a race condition, confirms it with a temporary log statement, applies a minimal fix, and ships a regression test plus a debug report. ## Quick Start Ask the assistant to investigate and find the root cause of the error or bug you are experiencing before attempting any fix.

Frequently Asked Questions about gstack-openclaw-investigate

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

FAQPage Schema
How do I debug a bug systematically instead of guessing?

Follow a phased approach: collect symptoms and stack traces, trace the code path, check recent git changes, and reproduce the bug before forming a hypothesis. Then confirm the hypothesis with temporary logging before writing any fix.

How to find the root cause of an intermittent bug?

Intermittent bugs often indicate race conditions or timing-dependent state corruption. Gather evidence through instrumentation and logging at the suspected failure point, and check concurrent access to shared state rather than guessing at fixes.

What should I do after multiple fix attempts fail?

Stop after three failed hypotheses. Repeated failures suggest an architectural issue rather than a simple bug, so escalate for human review, add logging to catch the failure next time, or form a fundamentally new hypothesis.

Why write a regression test for every bug fix?

A regression test proves the fix works and prevents the bug from returning. It must fail without the fix and pass with it, confirming both that the test is meaningful and that the root cause was actually addressed.

When should a bug fix be escalated instead of shipped?

Escalate when the root cause remains unclear after investigation, when the fix touches more than five files, or when you cannot reproduce and verify the fix. Never ship a fix you cannot verify.