AGENT SKILL

systematic-debugging

Reproduce-isolate-fix-verify loop for defects and flaky behavior. Use when facing a bug, test failure, or unexpected behavior.

License 许可
MIT
最近更新
2026-10-20
Stars
★ 0
Forks
0

01 前言 Front Matter

name
systematic-debugging
license
MIT
description
Reproduce-isolate-fix-verify loop for defects and flaky behavior. Use when facing a bug, test failure, or unexpected behavior.
compatibility
opencode

03 SKILL.md 正文

What I do

  • Replace guessing with a 4-phase loop that ends in proof.

When to use me

Use when facing a bug, a failing test, or behavior you cannot explain yet.

Loop

  1. Reproduce: write the smallest deterministic reproduction (script or test). If it is flaky, loop it until it fails on demand. No reproduction — no fix yet.
  2. Isolate: narrow the suspect surface by halves (bisect inputs, disable layers, add tracing at boundaries). State the hypothesis before each probe.
  3. Fix: change one thing, the minimal thing. Explain why the old behavior produced the symptom, not just that the symptom is gone.
  4. Verify: re-run the reproduction plus the surrounding suite with YOUR task's stack test command (STACKS table in the runner prompt — never a hardcoded runner). A fix without a regression test is a draft.

04 同仓库更多 Skills