Debug

Yeachan-Heo/oh-my-claudecode/skills/debug

作者 Yeachan-Heo454bae017356ed1d056182cd929b6eb6cf6143ad無授權條款收錄於 2026年10月9日更新於 2026年10月9日

Diagnose the current OMC session or repo state using logs, traces, state, and focused reproduction

AI 產生的概覽

運用日誌、追蹤、狀態與窄範圍重現來診斷 OMC 或 Claude Code 工作階段故障。

功能
引導代理診斷目前的 OMC 或 Claude Code 工作階段問題、工作流程中斷或令人困惑的執行期行為。它會檢查本機證據,例如追蹤工具、狀態工具、專案記憶,以及失敗的測試或指令,然後盡量以窄範圍重現問題。最後輸出觀察到的故障、根因假設與其證據,以及最小的下一步修正或驗證動作。
適用情境
當使用者要求協助診斷目前的 OMC 或 Claude Code 工作階段問題、工作流程中斷或令人困惑的執行期行為時使用。適用於可能涉及協調、鉤子或代理流程,且需要區分證據與表象的情境。
執行需求
僅為指示,不附帶指令碼。需能存取本機工作階段證據,例如追蹤與狀態工具、專案記憶,以及失敗的測試或指令。

Debug

Use this skill when the user wants help diagnosing a current OMC/Claude-Code session problem, workflow breakage, or confusing runtime behavior.

Goal

Find the real failure signal quickly and explain the next corrective step.

Workflow

  1. Read the user’s issue description carefully.
  2. Inspect the most relevant local evidence first:
    • trace tools
    • state tools
    • notepad / project memory when relevant
    • failing tests or commands
  3. Reproduce the issue narrowly if possible.
  4. Distinguish symptoms from root cause.
  5. Recommend the smallest next fix or verification step.

Rules

  • Prefer real evidence over guesses.
  • Use the trace/state surfaces when the issue involves orchestration, hooks, or agent flow.
  • If the issue is actually a product/runtime bug rather than app code, say so plainly.
  • Do not prescribe broad rewrites before isolating the failure.
  • Tag temporary debug output [DEBUG-<4hex>]; cleanup is then a single grep.
  • Redact secrets from logs and traces before they leave the session.
  • If the failure traces to a missing or wrong seam, say so as the finding and point at refit or architecture-survey — the environment lesson outlives the fix.

Output

  • Observed failure
  • Root-cause hypothesis
  • Evidence for that hypothesis
  • Smallest next action

來源與署名

來源:Yeachan-Heo/oh-my-claudecode位於skills/debug提交454bae0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架