Skills に戻る
Diagnosis
Debug
/hapo:debug
Bugs、failing tests、CI issues、performance issues、UI regressions のための diagnostic-only 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
Exact symptom、command、logs、stack trace、environment facts を capture します。
03 / Patterns
Failing path と nearby working examples を比較します。
04 / Hypotheses
複数の cause を 1 variable at a time で検証します。
05 / Root cause
File/line または config source と why now を trace します。
06 / Plan
Fix の blast radius と verification checks を定義します。
Output
`/hapo:hotfix` または implementation work に渡せる root-cause contract。
Avoid
Diagnosis 中に product code を修正しません。Temporary instrumentation は handoff 前に remove します。
Next Handoff
/hapo:hotfix