bug-trace
できること
このスキルは、報告されたバグを根本原因までたどります。報告を読み、失敗するコードの経路をたどり、それを壊した変更を見つけ、ほかの説明を除外します。原因がまだ分からないバグを調べる開発者向けです。
使う場面
- ✓バグの報告が届き、まだ何が原因か分からないとき。
- ✓1つのバグに複数の症状があり、それぞれを別々に扱う必要があるとき。
- ✓修正を決める前に、競合する説明を除外したいとき。
スキルのリンク
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/bug-trace/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このバグ報告を出発点にして、一部のユーザーでチェックアウトが失敗する理由を調べてもらえますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、失敗する経路の各ステップを、その前提条件とともに書き出し、それぞれを現在のコードと照らして確認します。その経路に触れている最近の変更を探し、競合する説明をテストします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Bug trace
This skill finds a root cause. It doesn't judge whether the cause is
systemic; investigate-bug adds that judgment on top. Never change
product code while tracing.
1. Take in the report
pnpm exec tsx .agents/skills/bug-trace/scripts/bug-intake.ts \
--issue <N|url> | --jira <KEY|url> | --file <path> | --text "<report>" \
[--title "<line>"] [--run <id>]
It writes bug.json to the run directory and prints the run id
(bug-gh-123, bug-eng-456, or bug-<date>-<hash>). Re-running with the
same report reuses the run. Jira intake uses jira-refactor-findings'
client and credentials.
2. Split symptoms
A report often lists several. Treat each one on its own, with a short label.
3. Trace each symptom
Follow references/bug-investigation.md:
- Write the path as hops, each with file:line and its runtime precondition.
- Check every precondition against today's code.
- List what changed on the path: system-history
analyze.ts --focuswith every file on the path, then read each regression candidate withpr.ts. - Hold at least two explanations, and run the check that separates them.
- Reproduce in the branch browser when the path runs there.
- Check
AGENTS.md, skills, andpackages/corefor a rule or primitive the code bypasses.
When fanning out to sub-agents, give each one the symptom, its entry point, and the whole brief. Don't give it a theory or a short list of files: that list becomes the boundary of its search.
Output
For each symptom:
- the hop list, and the broken hop;
- the trigger commit, or
none-foundand what you checked; - the explanations you ruled out, and how;
- the evidence level:
reproduced,traced(a broken hop shown in code), orinferred; - the framework rule involved;
- the sibling sites.
よくある質問
プロダクトのコードを変更しますか?
いいえ。スキルは原因をたどるだけで、たどっている間はコードを編集しません。
報告はどこから来ますか?
課題、チケット、ファイル、貼り付けたテキストのいずれからでも来ます。
原因がまだはっきりしない場合はどうしますか?
少なくとも2つの説明を保持し、それを区別するチェックを実行するよう求めています。
詳細
作者による元の説明
Find the root cause of a reported bug: take in the report (GitHub issue, Jira ticket, file, or pasted text), trace the failing path hop by hop with each hop's runtime precondition, find the recent change that broke it, and rule out rival explanations. Use for any bug investigation where the cause is not yet known.
repo: BuilderIO/agent-native
人気
- GitHubのスター
- 7.6k
- ランキング
- #13141
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
design-exploration
7.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
visual-edit
7.6k実行中のローカルのアプリをビジュアルエディターで開き、本物の画面をまとめて確認し編集できるようエージェントを支援します。
turn-into-app
7.6kワークフロー、スプレッドシート、プロジェクトを、画面にデータが入り、操作の裏でエージェントが働く、洗練されたビジュアルアプリに変えます。
visual-plan
7.6kプレーンテキストの計画を、図、ファイルのマップ、コードの断片、未解決の質問を含む、対話できるビジュアルな計画に変えます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。