본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)41k · #6873

triaging-error-issues

하는 일

이 스킬은 가장 살펴볼 가치가 있는 오류 이슈의 짧은 목록을 줍니다. 예를 들어 새로운 이슈나 많은 사용자에게 영향을 주는 이슈입니다. 매일 검토하는 개발자나 당직 담당자를 위한 것입니다.

사용하는 경우

  • ✓오늘 무엇이 고장 났는지 묻고 짧은 우선순위 목록을 원할 때.
  • ✓지난 하루나 이틀의 새 오류를 보고 싶을 때.
  • ✓하루를 시작하면서 먼저 봐야 할 이슈를 알고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/triaging-error-issues/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“오늘 새로 생긴 오류는 무엇이고, 그중 어떤 것이 가장 많은 사용자에게 영향을 주나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

시간 창을 고르고, 영향받은 사용자 수와 최근성으로 이슈를 순위 매긴 뒤, 연결된 리플레이를 가리킵니다. 그다음 중요한 각 이슈에 대한 다음 단계를 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

몇 개의 이슈를 보여 주나요?

대부분의 프로젝트에는 활성 이슈가 수백 개 있으므로, 모든 이슈가 아니라 짧은 우선순위 목록을 보여 줍니다.

무엇이 높은 우선순위를 만드나요?

지난 하루나 이틀의 새 이슈, 갑작스러운 급증, 여러 다른 사용자에게 영향을 주는 이슈입니다.

사용자가 무엇을 했는지 보여 줄 수 있나요?

네. 각 이슈를 겪은 사용자의 세션 리플레이를 찾을 수 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
41k
순위
#6873
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬