investigating-error-issue
하는 일
이 스킬은 오류 이슈 하나의 맥락을 모읍니다. 누가 영향을 받는지, 언제 시작되었는지, 릴리스, 브라우저, 기능 플래그가 관련되어 있는지 포함합니다. 단일 버그를 이해해야 하는 개발자와 지원 담당자를 위한 것입니다.
사용하는 경우
- ✓누군가 PostHog 오류 이슈 링크를 보내고 무슨 일인지 물을 때.
- ✓오류가 몇 명의 사용자에게 영향을 주는지, 언제 시작했는지 알아야 할 때.
- ✓오류가 최근 릴리스, 브라우저, 기능 플래그와 연결되어 있는지 보고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/investigating-error-issue/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 오류 이슈 링크를 보고 누가 영향을 받는지, 최근 릴리스로 시작되었는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이슈 요약, 샘플 오류 이벤트, 브라우저와 릴리스별 분류, 연결된 세션 리플레이를 가져옵니다. 그다음 이것을 짧은 설명과 다음 단계로 묶습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Investigating an error tracking issue
When a user asks "what's going on with this error?" or pastes an issue URL, gather the context they would otherwise have to assemble manually: who is hitting it, what changed, where it happens, and whether a replay shows the cause.
Available tools
| Tool | Purpose |
|---|---|
posthog:query-error-tracking-issue |
Compact issue details (status, assignee, top frame, release, aggregates) |
posthog:query-error-tracking-issue-events |
Sampled $exception events with stack, URL, browser, $session_id |
posthog:execute-sql |
Breakdowns, release / flag correlations, surrounding events + console logs around the error |
posthog:query-logs |
OTEL log entries around the error timestamp for server-side issues |
posthog:query-session-recordings-list |
Linked replays (delegate ranking to finding-replay-for-issue) |
posthog:read-data-schema |
Confirm property keys before filtering on them |
Workflow
Step 1 — Establish the issue baseline
Fetch the issue record with its compact aggregates and a sparkline:
posthog:query-error-tracking-issue
{
"issueId": "<issue_id>",
"dateRange": { "date_from": "-30d" },
"includeSparkline": true,
"volumeResolution": 12
}
Capture: name, description, status, first_seen, last_seen, assignee,
total occurrences / users / sessions, top in-app frame, latest release
metadata, and the volume buckets.
The sparkline tells you the shape — flat, spike, ramp, or recurring — and that
shape drives the rest of the investigation. If the user only asked a status
question, skip includeSparkline to save tokens.
Step 2 — Pull a sample exception event
A captured event has the stack frames, URL, browser, and properties needed to reason about cause. Pull a recent sample first, then an early one to compare.
posthog:query-error-tracking-issue-events
{
"issueId": "<issue_id>",
"limit": 1,
"include": ["exception", "stacktrace", "environment", "navigation", "correlation"]
}
The tool defaults to onlyAppFrames: true, which strips vendor frames; flip to false
when the bug appears to live in a third-party library — or when the response
comes back with stacktrace.type: "resolved" but no frames at all (common for
minified bundles where every frame looks vendor-y to the resolver, e.g. React
production builds).
For the earliest sample, narrow dateRange to a tight window around the
issue's first_seen (e.g. set date_from slightly before and date_to
slightly after) and pass orderDirection: "ASC" so you get the earliest
event in the window rather than the latest — the tool defaults to DESC,
which would return a recent event and silently duplicate the first call.
If recent and earliest events look materially different — different stack
root, different URL pattern — the issue may be a grouping mistake. Flag for
grouping-noisy-errors instead of continuing as if it were one bug.
Step 3 — Run breakdowns to isolate the cause
Breakdowns aren't a typed tool — drop into execute-sql. Run only the
breakdowns the issue's shape suggests; each one costs a query and clutters the
synthesis.
| Sparkline shape | First breakdown to try |
|---|---|
| Spike from zero | By app version / release — almost always a deploy regression (see below) |
| Steady-state high | By browser / OS — rendering or platform-specific bug |
| Ramp | By geography or feature flag — gradual rollout exposure |
| Bursts then quiet | By time of day or $current_url — scheduled job or specific page |
Picking the right version property
PostHog emits three version-shaped fields. They mean different things and only one of them answers "what version of the user's app introduced this?":
| Property | What it is
자주 묻는 질문
이슈 ID를 줘야 하나요?
이슈 링크를 붙여 넣거나 ID를 줄 수 있으며, 스킬이 찾아봅니다.
세션 리플레이를 보여 줄 수 있나요?
네. 오류를 겪은 사용자의 연결된 리플레이를 찾아서 무슨 일이 있었는지 볼 수 있습니다.
서버 측 오류에도 작동하나요?
네. 오류 시점 주변의 OpenTelemetry 로그도 확인할 수 있습니다.
상세 정보
작성자의 원본 설명
Investigates a single PostHog error tracking issue end-to-end. Use when the user provides an issue ID or pastes an issue URL (`/error-tracking/<id>`) and wants to understand the error — who it affects, what triggers it, when it started, whether it correlates with a release, browser, OS, or feature flag, and what the next step should be. Pulls aggregated metrics, sample exception events, segment breakdowns, linked replays, and synthesizes a hypothesis-grade summary in one pass.
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6870
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.