Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)41k Β· #6873

triaging-error-issues

Fungsinya

Skill ini memberikan daftar pendek isu error yang paling layak diperiksa, seperti yang baru muncul atau yang memengaruhi banyak pengguna. Ditujukan untuk pengembang atau staf piket yang melakukan tinjauan harian.

Kapan dipakai

  • βœ“Saat Anda bertanya apa yang rusak hari ini dan menginginkan daftar prioritas yang pendek.
  • βœ“Saat Anda ingin melihat error baru dari sehari atau dua hari terakhir.
  • βœ“Saat Anda mulai bekerja di pagi hari dan ingin tahu isu mana yang perlu diperiksa lebih dulu.

Link skill

https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/triaging-error-issues/SKILL.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/triaging-error-issues/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œError baru apa yang kita miliki hari ini, dan mana yang memengaruhi pengguna paling banyak?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill memilih rentang waktu, mengurutkan isu berdasarkan jumlah pengguna yang terdampak dan kebaruannya, lalu menunjuk ke replay yang tertaut. Setelah itu, skill menyarankan langkah berikutnya untuk setiap isu penting.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Triaging error tracking issues

When a user asks "what's broken?" or wants a daily error review, the goal is a short prioritized list of issues worth a human's attention β€” not a dump of every active issue. Most projects have hundreds of active issues; the few that matter are usually new (first seen in the last 24-48h), spiking, or affecting many distinct users.

Available tools

Tool Purpose
posthog:query-error-tracking-issues-list List + rank issues with aggregate metrics (occurrences, users, sessions)
posthog:query-error-tracking-issue Compact details for a single issue (status, assignee, top frame, release)
posthog:query-error-tracking-issue-events Sampled $exception events with stack, URL, browser, and $session_id
posthog:query-session-recordings-list Find replays of users hitting an issue
posthog:inbox-reports-list Pre-curated actionable signals if the project uses Inbox

Workflow

Step 1 β€” Pick a window and a signal

Read the time window from the user's wording. Defaults if unspecified:

  • "Today" / "this morning" / "right now" β†’ dateRange: { date_from: "-24h" }
  • "This week" / "since Monday" β†’ -7d
  • On-call shift handoff β†’ -24h

Pick what "matters" means:

  • New issues β€” orderBy: "first_seen", orderDirection: "DESC", tight window. Catches regressions introduced by recent deploys.
  • High-impact β€” orderBy: "users" ranks by distinct users affected. Better than raw occurrences for severity (one bot loop produces many occurrences but one user).
  • Trending β€” orderBy: "occurrences" over a short window vs a longer baseline to spot spikes.

Step 2 β€” Pull the candidate list

Start narrow and widen if too few issues come back:

posthog:query-error-tracking-issues-list
{
  "status": "active",
  "orderBy": "users",
  "orderDirection": "DESC",
  "dateRange": { "date_from": "-24h" },
  "limit": 20,
  "volumeResolution": 24
}

Match volumeResolution to the window (24 buckets for -24h, 14 for -14d, etc.) so each row's sparkline has enough resolution to show a spike vs flat steady state. A single bucket only gives a total, not a shape.

For new-issues-only, run a parallel query with orderBy: "first_seen":

{
  "status": "active",
  "orderBy": "first_seen",
  "orderDirection": "DESC",
  "dateRange": { "date_from": "-24h" },
  "limit": 10
}

If a project mixes browser and server SDKs, the top-by-users list is usually drowned by server-side errors (each invocation often gets a fresh distinct_id). Narrow with the library filter β€” values match the SDK's $lib, not the npm package name, examples:

  • web β€” posthog-js (browser)
  • posthog-node, posthog-python, posthog-ruby, posthog-go, posthog-php, posthog-java, posthog-elixir β€” server SDKs
  • posthog-edge β€” Cloudflare Workers / edge runtime
  • posthog-ios, posthog-android, posthog-react-native, posthog-flutter β€” mobile

Step 3 β€” Filter the noise

The list will include known noise. Before presenting, drop or call out:

  • Issues whose volume is flat over the window β€” they're not new, the user already lives with them. Surface them only if they're in the top by users.
  • Bot-only issues β€” if all events come from headless browsers or crawler user agents, flag for suppression (suppressing-noisy-errors) instead of triage.

If unsure whether an issue is new vs. recurring, compare first_seen to the start of the window:

  • first_seen inside the window β†’ new, worth attention
  • first_seen weeks ago but spiking now β†’ regression worth attention
  • first_seen weeks ago, flat volume β†’ background noise

Step 4 β€” Add context for the top items

For the top 3-5 candidates, pull a sample exception so the summary includes a stack frame and URL, not just a title. Use posthog:query-error-tracking-issue-events rather than raw SQL β€” it returns normalized fields ($exception_types, $exception_values, $current_url, browser/OS, $session_id) and defaults to onlyAppFrames: true to strip vendor noise from the stack:

posthog:query-error-tracking-issue-events
{
  "issueId": "<issue_id>",
  "limit": 1,
  "include": ["ex
Pertanyaan umum

Berapa banyak isu yang ditampilkan?

Skill menampilkan daftar pendek yang diurutkan prioritasnya, bukan setiap isu yang aktif, karena sebagian besar proyek memiliki ratusan isu.

Apa yang membuat sebuah isu berprioritas tinggi?

Isu baru dari sehari atau dua hari terakhir, lonjakan mendadak, dan isu yang memengaruhi banyak pengguna berbeda.

Bisakah menunjukkan apa yang dilakukan pengguna?

Bisa. Skill dapat menemukan session replay dari pengguna yang mengalami setiap isu.

Detail

Deskripsi asli dari pembuat

Triage PostHog error tracking issues during a daily or on-call review. Use when the user asks "what's broken?", "what new errors do we have?", "show me top errors today", "what should I look at this morning", or wants a prioritized list of active issues to work on. Surfaces new and high-impact issues, ranks by users affected and recency, points at linked replays, and proposes next actions (investigate, assign, suppress, merge).

repo: PostHog/posthog

Popularitas

Bintang GitHub
41k
Peringkat
#6873
Lisensi
β€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa