systematic-debugging

Identify root causes of software defects through evidence-based hypothesis testing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured approach to identify the root cause of software issues, preventing guesswork and ensuring robust fixes.

Core Features & Use Cases

  • Reliable Reproduction: Guides users to create minimal, consistent steps to reproduce a bug.
  • Evidence Gathering: Emphasizes collecting data at system boundaries to pinpoint failure points.
  • Hypothesis Testing: Promotes forming and testing single, clear hypotheses.
  • Root Cause Fixation: Ensures fixes address the source of the problem and are validated by tests.
  • Use Case: When a CI build fails unexpectedly, use this Skill to systematically trace the failure from the build logs to the specific code change or environment issue.

Quick Start

Use the systematic-debugging skill to find the root cause of the failing test 'test_user_authentication'.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
How do I find the root cause of a failing test or software crash?

To find the root cause of a failing test or software crash, you must systematically reproduce the issue, gather evidence at system boundaries, and form single hypotheses to test. This approach replaces guesswork with evidence-based problem-solving to pinpoint the exact failure point.

What is the best way to troubleshoot an unexpected CI build failure?

Troubleshooting an unexpected CI build failure involves tracing the failure from build logs to the specific code change or environment issue. By comparing the failing state against a known-good state, you can isolate the regression and identify the underlying defect.

How do I reliably reproduce a software bug for debugging?

Reliably reproducing a software bug requires creating minimal, consistent steps to trigger the failure. Once you have a stable reproduction case, you can gather data at system boundaries to analyze the defect without guesswork.

Why should I form a hypothesis before fixing a software regression?

Forming a hypothesis before fixing a software regression ensures you test a single, clear theory about the root cause. This prevents random changes and ensures your fix addresses the actual source of the problem, validated by regression tests.

How do I fix software defects at their source without introducing new bugs?

To fix software defects at their source without introducing new bugs, compare against known-good states and validate your changes with regression tests. This ensures the root cause is eliminated while minimizing the risk of further regressions.