本文へスキップ
Skillpedia
テスト48k · #4355

debugging-strategies

できること

このスキルは、プログラムのエラーを体系的に見つけて修正する助けになります。やっかいなバグ探しを、論理的で順序立った作業に変えてくれます。

使う場面

  • ✓原因の見当がつかない不可解なエラーが出たとき。
  • ✓プログラムの動作が遅く、その原因を知りたいとき。
  • ✓本番環境(プロダクション)で起きた障害を分析したいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/debugging-strategies/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このクラッシュしているコードのバグを見つけてもらえますか?”

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

仕組み

まずエラーを再現し、ログなどの情報を集めるよう求めます。そのうえで仮説を立てて検証する方法を提案し、問題を切り分けます。全体から細部へと絞り込み、原因にたどり着くことを目指します。

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

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

Debugging Strategies

Transform debugging from frustrating guesswork into systematic problem-solving with proven strategies, powerful tools, and methodical approaches.

Use this skill when

  • Tracking down elusive bugs
  • Investigating performance issues
  • Debugging production incidents
  • Analyzing crash dumps or stack traces
  • Debugging distributed systems

Do not use this skill when

  • There is no reproducible issue or observable symptom
  • The task is purely feature development
  • You cannot access logs, traces, or runtime signals

Instructions

  • Reproduce the issue and capture logs, traces, and environment details.
  • Form hypotheses and design controlled experiments.
  • Narrow scope with binary search and targeted instrumentation.
  • Document findings and verify the fix.
  • If detailed playbooks are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed debugging patterns and checklists.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

「ログ」と「トレース」とは何ですか?

ログはプログラム内で起きた出来事の記録です。トレースは、特定の地点に到達するまでにプログラムがたどった経路を示し、一連の動作の流れを理解する助けになります。

このスキルを使うべきでないのはどんなときですか?

調査すべき明確な問題がないとき、新機能を開発しているだけのとき、ログなど重要な情報にアクセスできないときは使わないでください。

デバッグでいう「二分探索」とは何ですか?

問題の範囲を繰り返し半分に分けていくことでバグを見つける手法です。たとえば100行のコードのどこかにバグがあるなら、まず真ん中の50行目を調べて、バグが前半にあるか後半にあるかを確かめます。これを繰り返して、該当の行を絞り込みます。

詳細

作者による元の説明

Transform debugging from frustrating guesswork into systematic problem-solving with proven strategies, powerful tools, and methodical approaches.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4355
ライセンス
MIT
更新日
2026/10/15

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

0

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

コメント

  • …

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

似ているスキル