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 从公开仓库中收录这些内容。

举报或申请下架