Skills に戻る
Diagnosis
Debug
/cf:debug
Local failures と complex incidents のための adaptive-depth、diagnostic-only root-cause workflow。
Use When
- Root cause が不明。
- Test、build、CI job、UI flow、production behavior が fail している。
- Code change 前に evidence が必要。
Flow
01 / Scout
Affected files、callers、runtime、config、tests、recent changes を map します。
02 / Evidence
Failing baseline を capture し、deep incident では cross-source timeline を追加します。
03 / Eliminate
Competing causes を検証し、各 candidate を残す・除く理由を記録します。
04 / Trace
Trigger、root cause、contributing factors を earliest owned invariant まで分離します。
05 / Handoff
Blast radius、verification、side effects、recurrence-prevention gaps を定義します。
Output
`/cf:fix` に渡せる evidence-backed diagnosis と prevention-aware proof plan。
Avoid
Diagnosis 中に product code を修正しません。Temporary instrumentation は handoff 前に remove します。
Next Handoff
/cf:fix