gstack-investigate

Diagnose bugs through four-phase root cause investigation before applying fixes.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/tayiorbeii/paperclip-factory-kit-hermes --skill gstack-investigate-tayiorbeii
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gstack-investigate
Source: https://github.com/tayiorbeii/paperclip-factory-kit-hermes/tree/main/skills/paperclip/gstack-investigate
Command: npx skills add https://github.com/tayiorbeii/paperclip-factory-kit-hermes --skill gstack-investigate-tayiorbeii

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When errors, stack traces, or unexpected behavior appear, developers often jump straight to patching symptoms. This Skill enforces a disciplined debugging workflow that finds the actual root cause before any fix is applied, preventing recurring bugs and wasted effort. ## Core Features & Use Cases - Four-Phase Investigation: Structured workflow covering investigate, analyze, hypothesize, and implement phases. - Root Cause Enforcement: An Iron Law blocks any fix until the root cause is identified and verified. - Scope Guardrails: PreToolUse hooks check a freeze boundary before Edit or Write operations during debugging. - Use Case: A user reports "the API returns 500 errors since yesterday." The Skill walks through reproducing the error, gathering evidence from logs and code, forming hypotheses, confirming the root cause, and only then implementing a verified fix. ## Quick Start Ask the AI to investigate why the application is throwing 500 errors and find the root cause before fixing it.

Frequently Asked Questions about gstack-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 fixes?▼

Use a phased root cause investigation: reproduce the issue, gather evidence from logs and code, form and test hypotheses, then implement a fix only after the root cause is confirmed. This Skill enforces that sequence and blocks premature edits.

What is root cause analysis for software errors?▼

Root cause analysis traces a failure back to the underlying defect rather than its visible symptom. The workflow investigates the error, analyzes evidence, hypothesizes causes, and verifies the true cause before any code change is made.

Can this skill fix the bug automatically after investigating?▼

Yes, but only after the root cause is established. The implement phase applies the fix, and PreToolUse hooks check a freeze boundary before Edit or Write operations to keep changes within the approved debug scope.

Why does the skill block edits during debugging?▼

Edits are gated by a check-freeze hook that verifies the debug scope boundary before any Edit or Write runs. This prevents uncontrolled changes while an investigation is still in progress and enforces the no-fix-without-root-cause rule.

When should I use investigation instead of fixing directly?▼

Use it whenever the cause is unclear: 500 errors, stack traces, regressions, or behavior that worked yesterday. Direct fixes are appropriate only for trivial, fully understood issues; anything ambiguous benefits from structured investigation.