一键导入
systematic-debugging
Use when investigating a bug, test failure, build failure, flaky behavior, or unexpected runtime issue before proposing or implementing fixes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when investigating a bug, test failure, build failure, flaky behavior, or unexpected runtime issue before proposing or implementing fixes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Helps explore ideas before implementation. Use when the user wants to brainstorm features, compare approaches, shape requirements, or discuss tradeoffs before writing code.
Use when you have two or more independent tasks, failures, or investigations that can be worked on concurrently without shared state or sequential dependencies.
Use when receiving code review feedback, before implementing suggestions, especially when feedback is unclear, broad, or may not fit the codebase as-is.
Use when finishing substantial code changes, before merging, or at natural checkpoints to request an explicit code review pass.
Use when executing a multi-task implementation plan by dispatching one fresh builder agent per task, reviewing each task before moving on, and keeping controller context narrow.
Use when implementing a feature, bug fix, or behavior change where automated tests should drive the implementation before production code is written.
| name | systematic-debugging |
| description | Use when investigating a bug, test failure, build failure, flaky behavior, or unexpected runtime issue before proposing or implementing fixes. |
Use this skill when something is broken and the cause is not yet proven.
Do not jump to fixes before understanding the root cause.
Symptom-first fixes waste time, hide the real problem, and often create follow-up bugs.
Use this skill for:
Use it especially when:
No fix before root-cause investigation.
If you have not yet reproduced the issue, collected evidence, and formed a concrete hypothesis, you are not ready to implement a fix.
Before changing code:
If the issue appears deep in a call chain, read root-cause-tracing.md in this skill.
If the issue involves multiple layers, add targeted instrumentation so you can see where the breakdown begins.
Before fixing:
Do not half-copy patterns you have not fully read.
Form one clear hypothesis at a time:
Then test only that hypothesis.
Do not stack multiple speculative fixes together.
Once the root cause is identified:
For test-first fixes, use the local test-driven-development skill.
If two or three attempted fixes fail, stop assuming this is a small bug.
At that point, question:
Do not keep piling on fixes without rethinking the problem.
When debugging a chain like UI -> API -> service -> database or CI -> build -> packaging -> deploy:
This gives you evidence about where the system actually breaks.
root-cause-tracing.md - tracing failures backward to the sourcedefense-in-depth.md - preventing the same class of bug at multiple layerscondition-based-waiting.md - replacing timing guesses in flaky testsIn this repo's workflow:
builder on a speculative bug fixbuilder or a controller cannot explain the failure clearly, switch into debugging mode firsttask-reviewer and code-reviewer to catch fixes that patched symptoms but missed the real issueStop and reset if you catch yourself doing any of these:
Systematic debugging means:
If you skip the investigation, you are guessing.