Evidence-Based Debugging Workspace
Facilitates structured, hypothesis-driven debugging through automated instrumentation, log analysis, and documented understanding evolution.
The debug-with-file skill transforms the debugging process into a rigorous engineering workflow by creating persistent investigative sessions. It guides Claude through an 'Explore-Analyze-Fix' loop where it generates testable hypotheses, automatically instruments your code with non-intrusive NDJSON logging, and maintains a living documentation of the bug's root cause. By explicitly tracking what is learned and correcting previous misunderstandings based on log evidence, this skill ensures that complex, multi-layered issues are solved systematically rather than through trial and error.
Key Features
01Persistent session tracking via a dedicated .workflow/ directory
02Self-documenting 'understanding.md' that tracks the evolution of the investigation
03Hypothesis-driven analysis that validates or rejects assumptions based on evidence
04Automated NDJSON instrumentation for real-time state capture in Python and JS/TS
052,111 GitHub stars
06Automated cleanup of debug instrumentation once the root cause is resolved
Use Cases
01Documenting complex debugging sessions for team knowledge sharing and post-mortems
02Systematically narrowing down root causes in unfamiliar codebases using hypothesis testing
03Investigating intermittent or state-dependent bugs that require detailed log evidence