bug-report
できること
このスキルは、大まかなバグの説明を分かりやすく整理された報告書に変えます。一貫した記録を残したいゲームやソフトウェアのテスト担当者のためのものです。
使う場面
- ✓誰かがバグを説明し、再現手順を含む構造化された報告書が必要なとき。
- ✓テストの前に、ファイルに起こりそうなバグがないか確認したいとき。
- ✓報告された修正が本当に効いたかを確認する必要があるとき。
スキルのリンク
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/bug-report/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この説明を、バグ報告書にしてください。セーブ画面が、戻るボタンを2回押すとフリーズします。”
毎週5つの新しいスキル。1分で読めます。
仕組み
説明文を読み、何が壊れたのか、いつ起きるのか、どう再現するのかを取り出し、その後に重大度を割り当てます。下書きの報告書を保存しますが、別のプロジェクトの管理ツールには登録しません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation
Automation mode: Resolve modes.automation (project.local.yaml →
project.yaml → default collaborative). Every AskUserQuestion call and
every file write follows .claude/docs/automation-modes.md
(collaborative asks always · guided major-only · autonomous logs and proceeds;
automation_always_ask categories always prompt).
Bug Report
Drafts only. This skill writes reports to production/qa/bugs/. When the
cause is in the engine, a plugin or another vendor's code, add a draft for their
tracker under Notes and stop there: never file, open or comment on an issue
or pull request in their repository. The user submits it.
Phase 1: Parse Arguments
Determine the mode from the argument:
- No keyword → Description Mode: generate a structured bug report from the provided description
analyze [path]→ Analyze Mode: read the target file(s) and identify potential bugsverify [BUG-ID]→ Verify Mode: confirm a reported fix actually resolved the bugclose [BUG-ID]→ Close Mode: mark a verified bug as closed with resolution record
If no argument is provided, ask the user for a bug description before proceeding.
Phase 2A: Description Mode
Parse the description for key information: what broke, when, how to reproduce it, and what the expected behavior is.
Search the codebase for related files using Grep/Glob to add context (affected system, likely files).
Draft the bug report:
# Bug Report
## Summary
**Title**: [Concise, descriptive title]
**ID**: BUG-[NNNN]
**Severity**: [S1-Critical / S2-High / S3-Medium / S4-Low]
**Priority**: [P1-Fix this sprint / P2-Fix soon / P3-Backlog / P4-Won't fix]
**Status**: Open
**Reported**: [Date]
**Reporter**: [the reporter's name as the user gives it, else `—`; never an email address or account ID taken from the session]
## Classification
- **Category**: [Gameplay / UI / Audio / Visual / Performance / Crash / Network]
- **System**: [Which game system is affected — when the bug spans systems, the one whose code must change; the others go under Related systems]
- **Frequency**: [Always / Often (>50%) / Sometimes (10-50%) / Rare (<10%)]
- **Regression**: [Yes/No/Unknown -- was this working before?]
## Environment
- **Build**: [Version or commit hash]
- **Platform**: [OS, hardware if relevant]
- **Scene/Level**: [Where in the game]
- **Game State**: [Relevant state -- inventory, quest progress, etc.]
## Reproduction Steps
**Preconditions**: [Required state before starting]
1. [Exact step 1]
2. [Exact step 2]
3. [Exact step 3]
**Expected Result**: [What should happen]
**Actual Result**: [What actually happens]
## Technical Context
- **Likely affected files**: [List of files based on codebase search]
- **Related systems**: [What other systems might be involved]
- **Possible root cause**: [If identifiable from the description]
## Evidence
- **Logs**: [Relevant log output if available]
- **Visual**: [Description of visual evidence]
## Related Issues
- [Links to related bugs or design documents]
## Notes
[Any additional context or observations]
The Severity and Priority labels use /bug-triage's S and P numbers and
names, which it parses out of this file. P4-Won't fix is its P4 — Won't fix / Deferred (an accepted risk), not a wishlist. If you change either ladder, change
.claude/skills/bug-triage/SKILL.md too.
Phase 2B: Analyze Mode
Read the target file(s) specified in the argument.
Identify potential bugs: null references, off-by-one errors, race conditions, unhandled edge cases, resource leaks, incorrect state transitions.
For each potential bug, generate a bug report using the template above, with the likely trigger scenario and recommended fix filled in.
Phase 2C: Verify Mode
Find the bug file by its number, here and in close mode: Glob
production/qa/bugs/BUG-*.md and take the file whose number matches [BUG-ID],
whatever its zero-padding — an older three-digit file with a slug is found by
its number too. If none
matches, stop: "No bug [BUG-ID] in production/qa/bugs/." Verdict: BLOCKED
— no such bug.
Read that file. Extract the reproduction steps and expected result.
- Re-run reproduction steps — use Grep/Glob to check whether the root cause code path still exists as described. If the fix removed or changed it, note the chan
よくある質問
バグを管理ツールに登録しますか?
いいえ。下書きを書くだけで、提出はあなたが行います。
原因がエンジン側にある場合はどうなりますか?
メモに、ベンダーの管理ツール向けの下書きを追加して、そこで止まります。
コードをレビューできますか?
はい。分析モードで、対象ファイルに潜在的なバグがないかを確認できます。
詳細
作者による元の説明
Structured bug report from a description, or analyze code for potential bugs. Reproduction steps, severity.
人気
- GitHubのスター
- 33k
- ランキング
- #8442
- ライセンス
- MIT
- 更新日
- 2026/10/18
コメント
- …
このリポジトリの他のスキル
adopt
33k既存のゲームプロジェクトの文書がスタジオのテンプレートの形式に従っているか確認し、ギャップを直すための番号付きの移行計画を書きます。
architecture-decision
33k技術的な選択についてアーキテクチャの判断記録を書き、背景、代替案、影響を記載し、適切な技術の役割によるレビューを受けます。
architecture-review
33k技術的な判断がすべての設計要件を満たし、互いに矛盾せず、エンジンのバージョンに合うかを確認し、明確な合格または懸念の判定を出します。
art-bible
33kゲームのビジュアルのアイデンティティを定義するアートバイブルを書き、アセット制作が一つの明確なスタイルのルールに従うようにします。
似ているスキル
test-driven-development
311k機能や修正を作る前に、まず失敗するテストを書き、それが失敗するのを確認してから、合格させる最小のコードを書くようエージェントに教えます。
verification-before-completion
311kタスク、修正、ビルドが完了した、または合格したと主張する前に、実際のチェックを実行し、その出力を読むようエージェントに教えます。
migrate-to-shoehorn
310kテストファイル内の危険な型キャストを、shoehornライブラリに置き換え、テストが部分的なデータを使いつつ型チェックを通るようにします。