0132-debugging-strategies

Guide systematic debugging from reproduction through hypothesis testing and verification.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MrJmpl3/codex_____data_____configuration --skill 0132-debugging-strategies
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 0132-debugging-strategies
Source: https://github.com/MrJmpl3/codex_____data_____configuration/tree/main/skills/0132-debugging-strategies
Command: npx skills add https://github.com/MrJmpl3/codex_____data_____configuration --skill 0132-debugging-strategies

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill turns debugging into a repeatable, evidence-driven workflow so you can quickly isolate root causes for incorrect behavior, crashes, and performance regressions instead of relying on guesswork.

Core Features & Use Cases

  • Scientific debugging workflow: Apply observe → hypothesize → experiment → analyze → repeat to converge on root cause.
  • Structured investigation phases: Reproduce reliably, gather error and environment signals, form targeted hypotheses, then test and verify changes.
  • Practical tooling guidance: Use debugger techniques and language-specific tooling (JavaScript/TypeScript, Python, Go) plus profiling and heap/CPU analysis.
  • Advanced regression tactics: Use git bisect, differential comparisons, trace instrumentation, and memory leak detection patterns.
  • Use Case: When production errors spike after a release, follow the process to reproduce conditions, compare working vs broken environments, and validate the fix safely.

Quick Start

Use the 0132-debugging-strategies skill to debug a production crash by reproducing the issue, extracting the full stack trace and recent changes, forming a focused hypothesis, and running tests to confirm the root cause.

Frequently Asked Questions about 0132-debugging-strategies

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

FAQPage Schema
How do I find the root cause of a memory leak in my application?

To find a memory leak root cause, follow a systematic workflow of reproducing the issue reliably, gathering environment signals, and using heap profiling to isolate the leak. You then form targeted hypotheses and verify the fix through iterative testing.

What is the best way to debug a production crash after a new release?

The best way to debug a production crash is to reproduce the conditions, extract the full stack trace, and compare working versus broken environments. Using differential debugging and git bisect helps isolate the exact change that introduced the regression.

How does git bisect work for isolating performance regressions?

Git bisect works for isolating regressions by using binary search across your commit history. It systematically narrows down the exact commit that introduced the bug or performance issue by testing midpoint commits and marking them as good or bad.

Can I use this debugging workflow for JavaScript, Python, and Go applications?

Yes, you can use this debugging workflow for JavaScript, Python, and Go applications. The process provides practical tooling guidance and language-specific instrumentation techniques to trace execution, analyze CPU profiles, and identify crashes across these environments.

What is scientific debugging and how do I apply it?

Scientific debugging is an evidence-driven workflow that applies the observe, hypothesize, experiment, and analyze cycle to converge on a root cause. You apply it by gathering error signals, creating a minimal reproduction, and iteratively testing hypotheses until verified.

Why do I need to create a minimal reproduction before fixing a bug?

You need to create a minimal reproduction to isolate the problematic behavior from surrounding noise. It confirms you understand the exact trigger conditions, enabling targeted hypothesis testing and ensuring your fix resolves the specific root cause rather than masking symptoms.