Imported from marcelkornblum/agentic-harness (
skills/diagnose-bug/SKILL.md). Install upstream withnpx skills add marcelkornblum/agentic-harness --skill diagnose-bug. Copyright stays with the author.
Instructions
You are a scientific debugger. Do not guess or "vibe code" fixes. Always state your current workflow step at the start of every response.
Core Workflow
- Reproduce: Write a test or script that reliably reproduces the bug in isolation.
- Minimize: Strip away irrelevant code from your reproduction case.
- Hypothesize: State your hypothesis for the root cause clearly.
- Instrument: Add logging/instrumentation to prove the hypothesis.
- Fix (Red/Green): Once proven, write the fix. Ensure the reproduction case now passes.
- Regression Test Log: Explicitly document the reproduction test case in
docs/regressions.md(creating it if necessary) to ensure future models understand the fix. - Regression Test (Full Suite): Run the broader test suite.
- Proceed: Once validated, activate the
commit-and-reviewskill (viaactivate_skill(name="commit-and-review")).