debug-with-sentry
できること
このスキルは、Sentryのエラーデータを使い、ユーザーに対してクラッシュが起きている理由を説明します。コードを変える前に、本番エラーの原因を理解したい開発者向けです。
使う場面
- ✓SentryのリンクやIssueのIDがあり、何が問題かを知りたいとき。
- ✓ユーザーがエラーを報告し、その原因を見つけたいとき。
- ✓リリースの後にクラッシュが現れ、どのコードが原因かを知る必要があるとき。
スキルのリンク
https://github.com/ParadevAI/Paradev/blob/main/plugins/sentry/skills/debug-with-sentry/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“チェックアウトのクラッシュについてのSentryのリンクがあります。何も変更する前に、スタックトレースから根本原因を見つけてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、課題とその最新のイベントを取得し、自分のコードで最初のフレームに当たるまで、スタックトレースを上から読みます。そのファイルを、エラーを生んだリリースと照らし合わせます。行番号が変わっている可能性があるためです。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Root-cause with the evidence, not the guess
A Sentry issue is a claim about what broke. The job is to turn it into a claim about why it broke, backed by the event data, before anyone edits code.
1. Get the real issue, not the search hit
A pasted URL or short ID (PROJECT-123) goes straight to get_sentry_resource
(pass the URL, or resourceType: 'issue' with the short ID).
A described error ("users can't check out") goes through search_issues first,
but treat the results as candidates: match on the error type and the affected
code path, not on title similarity. If two issues share a message but differ in
stack trace, they are two bugs.
2. Read the stack trace like a diff
Stack traces, breadcrumbs, tag values and releases are catalog tools: find
them with search_sentry_tools, then call execute_sentry_tool with name
set to get_event_stacktrace, get_issue_breadcrumbs, get_issue_tag_values
or find_releases.
Fetch the newest event's stack trace. The top frame is where it crashed, not
where it broke — walk down until you leave library code and hit the first
frame owned by this repo. That frame and its local variables are the starting
point. Cross-check the file against the working tree: production runs a
release, and the line numbers may belong to code that has since changed.
find_releases tells you which version the events come from.
3. Use the distribution before the theory
Before proposing a cause, check what the events have in common:
- Tags (
get_issue_tag_values): one browser, one endpoint, one tenant, one release? A bug scoped to a dimension names its own trigger. - Breadcrumbs: what the user did right before. A crash after a retry storm is a different bug than the same crash on first click.
- First seen / volume: an issue that started with a release points at that release's diff. One that grew slowly points at data or traffic.
Seer (analyze_issue_with_seer) is worth running for a second opinion, but
verify its suggested cause against the frames yourself before repeating it.
4. Report cause, scope, and blast radius
The finding is three sentences: what fails, why, and who it hits (volume,
affected users, releases). Link the issue. If the user asks for a fix, fix the
frame you identified — and only then consider update_issue to assign or
resolve, never as a way to make the dashboard quiet.
Anti-patterns
- Fixing the top frame. The top frame is often a library that faithfully threw on bad input from three frames below.
- Trusting the issue title. Sentry titles are the exception message; two different bugs can share one, and grouping is heuristic.
- Reading one event. One event is an anecdote; the tag distribution is the evidence.
- Resolving without a shipped fix. A resolved issue that regresses comes back as a new-looking issue and erases its history.
よくある質問
スタックトレースの一番上から始めないのはなぜですか?
一番上のフレームはクラッシュが起きた場所であり、バグのある場所とは限らないため、このスキルは自分のコードまで下っていきます。
二つのIssueが同じバグかどうかわかりますか?
はい。同じメッセージでもスタックトレースが違う場合は、別々のバグとして扱います。
コードは自動で変更されますか?
いいえ。コードに触れる前に、証拠とともに原因を説明することを目指します。
詳細
作者による元の説明
Root-cause a production error with Sentry's evidence before touching code — pull the issue, read the stack trace and breadcrumbs, and separate the crash from its trigger. Use when the user pastes a Sentry link or issue ID, reports a production error, or asks why something is crashing for users.
repo: ParadevAI/Paradev
人気
- GitHubのスター
- 16k
- ランキング
- #10849
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
decide
16kエージェントが、設計やコードの決定を明確な選択肢と推奨を添えて一つずつ進められるよう支援し、最後に要約を示します。
mobile-demo-film
16kエージェントが、スマートフォンの画面録画を、タイトルカード、電話のフレーム、エンドカード付きの洗練されたデモ動画に変えられるよう支援します。
redesign
16kエージェントが、既存のインターフェースを見直し、余白、コントラスト、階層、レイアウトの具体的な修正案を示せるよう支援します。
superset-settings
16kエージェントが、Paradevデスクトップアプリのテーマ、フォント、通知などの設定を、コマンドラインから確認し変更できるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。