本文へ移動
cccskills
無料GitHub で公開日本語紹介

dev-debug

不具合の再現と原因候補の検証を先に進め、修正案と確認手順をまとめるスキルです。

原文原文の説明を見る

AI DevKit · Guide structured debugging before code changes by clarifying expected behavior, reproducing issues, identifying likely root causes, and agreeing on a fix plan with validation steps. Use when users ask to debug bugs, investigate regressions, triage incidents, diagnose failing behavior, handle failing tests, analyze production incidents, investigate error spikes, or run root cause analysis (RCA).

codeaholicguy/ai-devkitスター 1,654(GitHub 1,654 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 不具合の再現条件を整理したいとき
  • 回帰やテスト失敗の原因調査
  • 本番のエラー増加を切り分けたいとき
  • 原因分析と修正計画の作成

日本語での紹介

できること

不具合の調査を、コード変更より先に証拠を集める手順で進めます。観測された動作と期待する動作を整理し、再現手順や実行環境を記録してから、原因の仮説ごとに予測される証拠、反証となる情報、確認コマンドを示します。過去の類似インシデントを検索し、修正の選択肢とリスク、修正後の検証方法をまとめます。修正に着手する前に、選んだ計画への承認を求める流れです。

こんなときに便利

回帰やテスト失敗の原因を調べたいとき、本番のエラー増加を切り分けたいときに向いています。症状から原因を決めつけず、再現と確認を踏まえて修正方針を相談したい場合にも使えます。

使い方の例

  • 「この不具合の再現手順と原因候補を整理して、修正案を出してください」
  • 「本番でエラーが増えています。環境と証拠を確認して原因を調べてください」

注意点

コード変更の前に、選択した修正計画への承認が必要です。過去事例の検索や原因の保存には npx ai-devkit@latest を使います。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(2)

  • SKILL.md2.8 KB
  • agents/openai.yaml315 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Local Debugging Assistant

Debug with an evidence-first workflow before changing code.

Hard Rule

  • Do not modify code until the user approves a selected fix plan.

Workflow

  1. Clarify
  • Restate observed vs expected behavior in one concise diff.
  • Confirm scope and measurable success criteria.
  • Before investigating, search for similar past incidents: npx ai-devkit@latest memory search --query "<observed behavior>" --tags "debug,root-cause"
  1. Reproduce
  • Capture minimal reproduction steps. For user-flow bugs, make the repro a dev-smoke check that fails before the fix and passes after.
  • Capture environment fingerprint: runtime, versions, config flags, data sample, and platform.
  1. Hypothesize and Test For each hypothesis, include:
  • Predicted evidence if true.
  • Disconfirming evidence if false.
  • Exact test command or check.
  • Prefer one-variable-at-a-time tests.
  1. Plan
  • Present fix options with risks and verification steps.
  • Recommend one option and request approval.

Validation

  • Confirm a pre-fix failing signal exists.
  • Confirm post-fix success using the verify skill — including regression verification for bug fixes.
  • Summarize remaining risks and follow-ups.
  • Offer dev-retro to prevent recurrence; run only if the user agrees.
  • Store root cause and fix for future sessions: npx ai-devkit@latest memory store --title "<root cause>" --content "<diagnosis and fix>" --tags "debug,root-cause"

Task Tracing

If task tracing is usable, choose a short kebab-case debug task name when no task name exists, then use task optionally: record repro/final results as evidence, the current hypothesis as next, and blockers only when they materially affect progress. Never block debugging because task tracing is unavailable.

Red Flags and Rationalizations

RationalizationWhy It's WrongDo Instead
"I already know the cause"Assumptions skip evidenceReproduce and prove it first
"This is urgent, just fix it"A wrong fix wastes more time10 minutes of diagnosis saves hours
"The fix is obvious from the stack trace"Stack traces show symptoms, not causesTrace backward to the root cause

Output Template

Use this response structure:

  • Observed vs Expected
  • Repro and Environment
  • Hypotheses and Tests
  • Options and Recommendation
  • Validation Plan and Results
  • Open Questions

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

agent-communication

無料概要あり

稼働中のCodexやClaude CodeなどのAIエージェントを探し、最近の状況を確認して、情報の送信や返信依頼を行うスキルです。

  • 稼働中のエージェントを探したいとき
  • 連絡前に相手の状況を確認したいとき
  • 別のエージェントへ情報や質問を送りたいとき
codeaholicguy/ai-devkit1,6542026年10月25日 更新

agent-management

無料概要あり

実行中のAIエージェントを一覧・確認し、作業の割り当てやグループ化、セッション再開、停止まで、ai-devkitのコマンドで管理します。

  • 実行中のエージェントを一覧したいとき
  • 作業を割り当てるエージェントを確認したいとき
  • ワーカーを起動して作業を委任したいとき
codeaholicguy/ai-devkit1,6542026年10月25日 更新

agent-orchestration

無料概要あり

複数のエージェントが進める作業の進捗を確認し、依存関係の調整や待機中のエージェントへの対応、成果の共有、完了確認までを継続して行います。

  • 複数エージェントの進捗を調整したいとき
  • 待機中のエージェントを確認したいとき
  • 分担作業の成果を共有したいとき
codeaholicguy/ai-devkit1,6542026年10月25日 更新

ai-devkit-setup

無料概要あり

AI DevKitの状態を先に確認し、対応できる連携や導入の不足が見つかった場合に、必要なセットアップを絞って実行し再確認するスキルです。

  • AI DevKitの導入状態を確認したいとき
  • 対応エージェントの連携を設定したいとき
  • セットアップ後に残る作業を把握したいとき
codeaholicguy/ai-devkit1,6542026年10月25日 更新

brainstorm

無料概要あり

企画や命名、製品案、技術方針などのアイデアを広げ、前提や弱点を検討して、比較しやすい候補と次の一歩にまとめるスキルです。

  • 製品や企画のアイデアを比較したいとき
  • 名前やコンテンツの切り口を考えたいとき
  • 技術方針や判断の前提を検討したいとき
codeaholicguy/ai-devkit1,6542026年10月25日 更新

changelog

無料概要あり

最新リリース以降のGitコミットを確認し、各コミットへのリンクと短い説明を添えて、CHANGELOG.mdのUnreleased欄を更新します。

  • 最新リリース以降の変更を記録したいとき
  • コミットからリリースノートを作りたいとき
  • 変更履歴にコミットやPRのリンクを付けたいとき
codeaholicguy/ai-devkit1,6542026年10月25日 更新

codeaholicguy のスキルをすべて見る

このスキルの問題を報告する