bug-reproduction-brief
できること
このツールは、あいまいなバグの説明を、エラーがどこでどのように発生するかを示す、シンプルで分かりやすいステップごとの手順に変換するのに役立ちます。目的は、修正を試みる前に、問題の最小限の証拠を得ることです。
使う場面
- ✓バグが時々しか起こらないとき。
- ✓特定のコンピューターや環境でしか起こらないとき。
- ✓バグの説明が不明確または不完全なとき。
スキルのリンク
https://github.com/github/awesome-copilot/blob/main/skills/bug-reproduction-brief/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このチェックアウトのエラーを、再現する最小限のステップごとの手順に変換してください。本来起こるべきこと、実際に起きたこと、まだ分かっていない部分を示してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
正確なエラー内容、発生環境(プログラムのバージョンなど)、本来の動作と実際の動作を記録するよう求められます。その後、同じエラーを起こす最短の手順が見つかるまで、手順をできるだけ単純化するよう導きます。この段階では修正は行いません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Bug Reproduction Brief
Use this skill when a bug report is incomplete, intermittent, environment-specific, or mixed with an assumed cause. The goal is to prove the smallest observable failure before diagnosis or repair begins.
1. Record the observed failure
Capture the exact error, incorrect output, timestamp, affected route or command, and the smallest known input. Preserve relevant logs without secrets or personal data. Label second-hand descriptions as unverified.
2. Identify the environment
Record only facts you can inspect:
- repository and commit;
- runtime and package-manager versions;
- operating system or container;
- dependency lockfile;
- relevant feature flags;
- whether the target is local, test, staging, or production.
Never guess credentials or production configuration.
3. Separate expected from actual behaviour
Write two explicit observable statements:
Expected: [observable result]
Actual: [observable result, including status or error]
Do not put the suspected cause in either statement.
4. Reduce the reproduction
Start from the reported path, then remove unrelated data, services, and steps one at a time. Keep the smallest fixture that still fails. If the failure stops, restore the last removed condition and record it.
Prefer an isolated test, minimal script, or smallest safe request over reproducing against production.
5. Prove repeatability
Run the minimal reproduction at least twice where safe. Record commands and outputs. If the failure is intermittent, report the observed frequency and duration instead of calling it deterministic.
6. Stop before repair
A verified reproduction is the deliverable. Do not edit implementation code while building the brief because that can destroy the evidence or mix diagnosis with remediation.
Output
# Bug Reproduction Brief
- Target and commit:
- Environment:
- Expected:
- Actual:
- Minimal steps:
- Minimal fixture:
- Reproduced: yes / no / intermittent
- Evidence:
- Unknowns:
- Safe next hypothesis to test:
Safety boundaries
- Do not change production data merely to reproduce a bug.
- Do not publish secrets, customer records, or private source.
- Do not claim a root cause from correlation alone.
- Use read-only or reversible discovery first.
- Stop after a verified reproduction; diagnosis and repair are separate workflows.
Example prompt
Use the Bug Reproduction Brief skill on the failing checkout test. Do not fix it yet. Reduce it to the smallest safe failing fixture and report the exact command evidence, expected result, actual result, and remaining unknowns.
Source and licence
Adapted from the MIT-licensed workflow at https://github.com/skyestrela/ai-agent-skill-preview.
よくある質問
バグレポートとは何ですか?
プログラムやシステムで見つかった問題やエラーの説明です。
最小再現(minimal reproduction)とは何ですか?
エラーを確実に再び発生させることができる、最小限の操作の並びや最小限のデータのことです。
このツールを使うとき、なぜバグを修正しようとしてはいけないのですか?
まず、バグについて明確でシンプルな証拠を得ることが目的だからです。事前に修正しようとすると問題の内容が変わってしまい、本当の原因を特定しにくくなることがあります。
詳細
作者による元の説明
Turn a vague, intermittent, or environment-specific bug report into a minimal evidence-backed reproduction before proposing a fix.
repo: github/awesome-copilot
人気
- GitHubのスター
- 40k
- ランキング
- #7103
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
acquire-codebase-knowledge
40kエージェントが、既存のコードプロジェクトを理解してドキュメント化できるよう支援します。新しく参加するメンバーのオンボーディングや、アーキテクチャの全体像の把握に役立ちます。
acreadiness-assess
40kエージェントが、プロジェクトのAI対応状況を評価してレポートを生成できるよう支援します。プロジェクトがAIツールをどの程度活用できる状態にあるかを把握するのに役立ちます。
acreadiness-generate-instructions
40kエージェントが、評価結果をもとにAIツール向けの指示文を作成できるよう支援します。AIがコードとどのようにやり取りするかを改善し、特定された不足点を解消するのに役立ちます。
acreadiness-policy
40kエージェントが、AIプロジェクトの評価ポリシーの策定や適用を支援できるようにします。プロジェクトの評価方法を標準化し、コンプライアンスを確保するのに役立ちます。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。