sentry
Fungsinya
Skill ini memandu penggunaan Sentry untuk melacak galat aplikasi, memilah isu, dan menyetel peringatan serta pemantauan performa. Skill ini untuk pengembang dan tim dukungan yang perlu menemukan dan memperbaiki masalah produksi.
Kapan dipakai
- βSaat Anda ingin menyiapkan pelacakan galat Sentry di aplikasi baru.
- βSaat galat produksi menumpuk dan perlu diurutkan menurut dampaknya.
- βSaat Sentry mengirim terlalu banyak peringatan dan perlu disetel.
Link skill
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/sentry/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βSiapkan Sentry di aplikasi web saya agar galat produksi menyertakan nomor rilis, dan hapus data pribadi dari laporan.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini mencakup penyiapan awal, tag lingkungan dan rilis, tingkat sampling, penghapusan data pribadi sebelum pengiriman, serta rutinitas triase harian.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum
Mengapa galat perlu diberi tag rilis?
Tag rilis menunjukkan versi mana yang memperkenalkan galat, sehingga penyebabnya lebih mudah ditemukan.
Bagaimana data pribadi dijaga agar tidak terkirim?
Skill ini menyarankan hook before-send yang menghapus email, alamat IP, dan token dari event.
Bagaimana galat sebaiknya diprioritaskan?
Menurut seberapa sering terjadi, berapa banyak pengguna yang terdampak, dan seberapa parah dampaknya pada pengalaman pengguna.
Detail
Popularitas
- Bintang GitHub
- 18k
- Peringkat
- #10710
- Lisensi
- Apache-2.0
- Diperbarui
- 2/7/2026
Komentar
- β¦
Skill lain dari repositori ini
browser-automation
18kMengajari agent Anda mengendalikan peramban web dengan Playwright, memakai selektor CSS untuk menemukan tombol, formulir, dan tautan.
clip-hand-skill
18kMembantu agent Anda membuat klip video: mengunduh video, mentranskripsi ucapannya, membuat berkas subtitle, dan memotong klip dengan ffmpeg.
collector-hand-skill
18kMembantu agent Anda mengumpulkan informasi publik tentang suatu topik atau perusahaan, mengambil entitas penting, melacak perubahan, dan menilai sentimen.
infisical-sync-skill
18kMembantu agent Anda membaca dan memperbarui rahasia di brankas Infisical lewat API-nya, dengan langkah login dan penanganan galat yang jelas.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.