systematic-debugging
Find a bug's root cause before changing code: build a tight red-capable feedback loop, gather evidence at component boundaries, rank falsifiable hypotheses, then fix once and prove it with a regression test. Use for any test failure, production bug, unexpected behavior, performance regression or build failure — especially under time pressure or after a fix that did not work. Not for exploratory "make it nicer" refactors, and not for a known mechanical change with an already-proven cause.
Target: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Systematic Debugging
- Overview
- The Iron Law
- The Feedback Loop Rule
- When to Use
- The Four Phases
- Phase 1: Root Cause Investigation
- 1. Read Error Messages Carefully
Random fixes waste time and create new bugs. Quick patches mask underlying issues. Core principle: ALWAYS find root cause before attempting fixes. Symptom fixes are failure. Violating the letter of this process is violating the spirit of debugging. Method adapted from the public superpowers debugging flow (MIT); the feedback-loop rule, ranked falsifiable hypotheses, and rule-of-three escalation were extended here. If you haven't completed Phase 1, you cannot propose fixes. The feedback loop is the debugging work. Before reading code to build a theory, create or identify a tight command that can go red on the user's exact symptom and green when the bug is fixed. A tight loop is fast, deterministic, agent-runnable, and specific enough to catch this bug — not merely "doesn't crash". When a clean repro is hard, spend disproportionate effort building the loop. Guessing without a red-capable loop is the failure mode this skill exists to prevent. Use for ANY technical issue: Test failures Bugs in production Unexpected behavior Performance problems Build failures Integration issues Use this ESPECIALLY when: Under time pressure (emergencies make guessing tempting) "Just one quick fix" seems
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- wxxb789/hoa
- Source file
- skills/systematic-debugging/SKILL.md
- Fixed revision
- beb1eca66d8fed7c3942dc3ef50990bf37837706
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: wxxb789/hoa · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T20:02:15.496Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.