本文へスキップ
Skillpedia
一般的なプログラミング41k · #6998

debug

できること

このスキルは、セッションやワークフローの動作がおかしいとき、変更を加える前に原因を見つける手順をエージェントに案内します。混乱する動作を見たものの、原因が分からない人向けです。

使う場面

  • ✓Claude Codeのセッションやワークフローが、混乱した、または壊れた動きをしているとき。
  • ✓変更の後にツールやフックが壊れたように見えるが、原因が分からないとき。
  • ✓大規模な書き直しの前に、根本原因を見つけたいとき。

スキルのリンク

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/debug/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/debug/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Claudeのセッションがタスクの途中で止まり続けます。原因を調べて、最も小さな修正方法を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、まず最も関連性の高いログ、トレース、状態を読みます。問題を狭い範囲で再現し、症状と根本原因を切り分けます。そのうえで、確認または修正すべき最も小さい次の一歩を提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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
よくある質問

すぐにコードを書き直しますか?

いいえ。失敗が切り分けられるまで、大規模な書き直しは避けます。

ログ内の秘密情報は守られますか?

はい。セッションの外に出る前に、ログとトレースから秘密情報を取り除きます。

問題がツール自体にある場合はどうなりますか?

そのことを明確に伝えます。原因が、あなたのアプリのコードではなく製品のバグである場合があるためです。

詳細

作者による元の説明

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

repo: Yeachan-Heo/oh-my-claudecode

人気

GitHubのスター
41k
ランキング
#6998
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル