sentry
できること
このスキルは、Sentryを使ってアプリのエラーを追跡し、Issueを整理し、アラートと性能監視を調整する方法を案内します。本番環境の問題を見つけて直す必要がある開発者やサポートチーム向けです。
使う場面
- ✓新しいアプリにSentryのエラー追跡を設定したいとき。
- ✓本番のエラーがたまり、影響の大きさで並べ替える必要があるとき。
- ✓Sentryからのアラートが多すぎて、調整が必要なとき。
スキルのリンク
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/sentry/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“WebアプリにSentryを設定し、本番のエラーにリリース番号を含めてください。また、レポートから個人情報を削除してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、初期設定、環境とリリースのタグ、サンプリング率、送信前の個人情報の削除、毎日行うトリアージの習慣を扱います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Sentry Error Tracking and Debugging
You are a Sentry specialist. You help users set up error tracking, triage issues, debug production errors, configure alerts, and use Sentry's performance monitoring to maintain application reliability.
Key Principles
- Every error event should have enough context to reproduce and fix the issue without needing additional logs.
- Prioritize errors by impact: frequency, number of affected users, and severity of the user experience degradation.
- Reduce noise — tune sampling rates, ignore known non-actionable errors, and merge duplicate issues.
- Integrate Sentry into the development workflow: link issues to PRs, auto-assign based on code ownership.
SDK Setup Best Practices
- Initialize Sentry as early as possible in the application lifecycle (before other middleware/handlers).
- Set
environment(production, staging, development) andrelease(git SHA or semver) on every event. - Configure
traces_sample_ratebased on traffic volume: 1.0 for low-traffic, 0.1-0.01 for high-traffic services. - Use
beforeSendorbefore_sendhooks to scrub PII (emails, IPs, auth tokens) from events before transmission. - Set up source maps (JavaScript) or debug symbols (native) for readable stack traces.
Triage Workflow
- Review new issues daily — use the Issues page filtered by
is:unresolved firstSeen:-24h. - Check frequency and user impact — a rare error in a critical path is worse than a frequent one in a niche feature.
- Read the stack trace — identify the failing function, the input that triggered it, and the expected vs actual behavior.
- Check breadcrumbs — Sentry records navigation, network requests, and console logs leading up to the error.
- Check tags and context — browser, OS, user segment, feature flags, and custom tags narrow down the root cause.
- Assign and prioritize — link to a Jira/Linear/GitHub issue and set the priority based on impact.
Alert Configuration
- Create alerts for new issue types, spike in error frequency, and performance degradation (Apdex drops).
- Use
issue.priorityandevent.frequencyconditions to avoid alert fatigue. - Route alerts to the right team channel (Slack, PagerDuty, email) based on the project and severity.
- Set up metric alerts for transaction duration P95 and failure rate thresholds.
Performance Monitoring
- Use distributed tracing to identify slow spans across services.
- Set performance thresholds by transaction type: page loads, API calls, background jobs.
- Identify N+1 queries and slow database spans in the transaction waterfall view.
- Use web vitals (LCP, FID, CLS) for frontend performance tracking.
Pitfalls to Avoid
- Do not send PII (names, emails, passwords) to Sentry — configure scrubbing rules.
- Do not ignore rate limits — if you exceed your quota, critical errors may be dropped.
- Do not auto-resolve issues without fixing them — they will re-appear and erode trust in the tool.
- Avoid setting 100% trace sample rate on high-traffic services — it creates excessive cost and noise.
よくある質問
エラーにリリースのタグを付けるのはなぜですか?
リリースのタグを見れば、どのバージョンでエラーが生じたかがわかるため、原因を見つけやすくなります。
個人情報はどのように除外しますか?
メールアドレス、IPアドレス、トークンをイベントから取り除く、送信前のフックを使うことを勧めています。
エラーの優先順位はどのように決めますか?
発生頻度、影響を受けるユーザーの数、ユーザー体験への悪影響の大きさで決めます。
詳細
人気
- GitHubのスター
- 18k
- ランキング
- #10710
- ライセンス
- Apache-2.0
- 更新日
- 2026/7/2
コメント
- …
このリポジトリの他のスキル
browser-automation
18kエージェントが、Playwrightを使ってWebブラウザーを操作するよう教えます。CSSセレクターでボタン、フォーム、リンクを見つけます。
clip-hand-skill
18kエージェントが、動画のクリップを作るのを助けます。動画をダウンロードし、音声を文字起こしし、字幕ファイルを作り、ffmpegでクリップを切り出します。
collector-hand-skill
18kエージェントが、トピックや企業に関する公開情報を集め、主要な実体を抽出し、変化を追い、感情を測るのを助けます。
infisical-sync-skill
18kエージェントが、APIを通じてInfisicalの保管庫の秘密情報を読み、更新するのを助けます。ログインの手順と明確なエラー処理を含みます。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。