systematic-debugging
Consult before attempting a fix when root cause or behavior is unclear, failures repeat, components interact, or guessing would be unsafe.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Consult before attempting a fix when root cause or behavior is unclear, failures repeat, components interact, or guessing would be unsafe.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Consult after receiving review feedback and before implementation when the feedback needs evidence-based evaluation.
Consult before delegating implementation when an approved plan benefits from worker context isolation and durable coordination.
Consult before implementing an observable behavior change when a meaningful automated test seam exists; use proportional red-green evidence.
Consult directly matching task playbooks before substantial design, debugging, implementation, review, or completion work without forcing full workflow execution.
Consult before making a substantive completion claim; require current trustworthy evidence and semantic acceptance.
Consult when multi-round implementation, context compaction, or worker handoff requires a durable execution contract.
| name | systematic-debugging |
| description | Consult before attempting a fix when root cause or behavior is unclear, failures repeat, components interact, or guessing would be unsafe. |
Root cause, evidence, reproduction, and semantic verification prevent plausible patches from becoming recurring failures. Use this workflow when root cause or behavior is genuinely unclear, a failure repeats, components cross a boundary, or risk makes a guess unsafe. A known, determined small repair may proceed directly with suitable verification.
The following are composable investigation lenses, not mandatory consecutive phases: observe/reproduce the meaningful symptom; inspect recent state and relevant boundaries; compare a working analogue; trace input or control flow; form a single hypothesis; run the smallest discriminating experiment. Select the lenses that reduce the uncertainty at hand and preserve the evidence.
Use a failing automated test when there is a meaningful seam. Otherwise use the strongest suitable reproduction, counterfactual, or readback. After a root fix, run semantic verification of the affected behavior and relevant regressions.
When evidence shows shared state, hidden coupling, or each attempted fix moves the symptom, reassess the architecture before stacking more local changes. This is evidence-driven, not a fixed failure count.
A clearly labeled containment or mitigation may reduce harm while root cause is still under investigation. It must state its limitation and must not be presented as a root fix.
root-cause-tracing.md for tracing a deep symptom to its original trigger.defense-in-depth.md for safeguards across distinct trust boundaries and
failure modes.condition-based-waiting.md for replacing arbitrary timing with observed
conditions.