debug-investigator

Featured

Hypothesis-driven debugging with ranked hypotheses, git bisect strategy, instrumentation planning, and minimal reproduction design. Triggers on: "debug this systematically", "root cause analysis", "bisect this bug", "rank hypotheses", "isolate this issue", "minimal reproduction". NOT for general reasoning.

Code & Development 343 stars 55 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Debug Investigator Structured debugging methodology that replaces ad-hoc exploration with hypothesis-driven investigation. Captures symptoms, builds a deterministic feedback loop, analyzes evidence (stacktraces, logs, state), generates ranked hypotheses, designs bisection strategies, identifies instrumentation points, and produces minimal reproductions — documenting every step so dead ends are never revisited. > **When to use this skill vs native debugging:** The base model handles straightforward > debugging (clear stacktraces, obvious errors) natively. Use this skill for non-obvious bugs > requiring systematic investigation: intermittent failures, bugs with no clear stacktrace, > performance regressions, or issues requiring git bisection and hypothesis ranking. ## Reference Files | File | Contents | Load When | | -------------------------------------- | ----------------------------------------------------------------------------- | ------------------------------- | | `references/stacktrace-patterns.md` | Exception taxonomy, traceback reading, common Python/JS error signatures | Stacktrace or exception present | | `references/hypothesis-templates.md` | Bug category catalog, probability ranking, confirmation/refutation tests | Always | | `references/bisection-guide.md` | git bisect workflow, binary se...

Details

Author
Mathews-Tom
Repository
Mathews-Tom/armory
Created
9 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

debug

Systematic root-cause debugging — hypothesis-driven analysis, evidence gathering, and minimal reproductions instead of guessing. Use whenever the user reports a bug, error, unexpected behavior, test failure, crash, an exception or thrown error, or performance issue, or says something "doesn't work", "broke", "stopped working", "regression", "flaky". Also triggers on pasted stack traces, error messages, log snippets, or when the user asks "why is this happening?", "why does this throw?", "what's wrong?", "marvin debug this", or "help me debug" — including "walk me through why this throws" when the user wants the cause found or the failure fixed. (If they only want to understand how existing logic behaves and are explicitly not asking for a fix, that is explain, not debug.) Applies to any language, framework, or runtime.

0 Updated 2 days ago
real-case
AI & Automation Listed

debug-detective

Systematically root-causes software bugs using a reproduce → isolate → hypothesize → bisect → verify methodology, replacing guess-and-check debugging with a disciplined, evidence-driven investigation. Use this skill when a user reports a bug, a test is failing intermittently or consistently, behavior differs between environments, a regression appeared after a change, something "used to work" and now doesn't, an error/stack trace needs root-causing, or when asked to "debug", "find the root cause", "figure out why X happens", or "track down" a defect. Triggers include crashes, wrong output, flaky tests, hangs/deadlocks, memory leaks, performance regressions, heisenbugs, and works-on-my-machine problems.

13 Updated 1 months ago
JayRHa
Code & Development Listed

debugging-investigator

Investigates software failures using evidence-driven debugging: reproduction, hypothesis generation and ranking, targeted hypothesis testing, root-cause identification, minimal fixes, and regression verification. Use when something is broken or wrong and the cause is unknown: bugs, errors or exceptions being thrown, crashes, memory leaks or OOMs, hangs, failing or flaky tests, wrong or mismatched numbers, users being logged out, works-locally-but-not-in-production, intermittent errors, production incidents, or performance regressions — whenever asked to investigate why, including urgent just-push-a-quick-fix requests. Do not use for writing new features, general code review with no reported failure, or answering conceptual questions about how something works (e.g. "what is a stack trace" or "explain this error type").

1 Updated 1 weeks ago
alphasafal