Về trang skills
Diagnosis

Debug

/hapo:debug

Workflow diagnosis-only cho bug, failing tests, CI issues, performance issues, và UI regressions.

Khi Nên Dùng

  • Chưa biết root cause.
  • Test, build, CI job, UI flow, hoặc production behavior fail.
  • Cần evidence trước khi sửa code.

Flow

01 / Scout

Map affected files, callers, runtime, config, tests, recent changes.

02 / Evidence

Capture exact symptom, command, logs, stack trace, environment facts.

03 / Patterns

So failing path với nearby working examples.

04 / Hypotheses

Test nhiều cause giả thuyết, từng biến một.

05 / Root cause

Trace file/line hoặc config source và giải thích why now.

06 / Plan

Định nghĩa blast radius và verification checks cho fix.

Output

Root-cause contract sẵn sàng cho `/hapo:hotfix` hoặc implementation work.

Tránh

Không sửa product code trong lúc diagnosis, trừ temporary instrumentation đã remove trước handoff.

Handoff Tiếp Theo

/hapo:hotfix