authoring-error-tracking-alerts
하는 일
이 스킬은 오류가 만들어지거나, 다시 열리거나, 급증할 때 발동하는 알림을 설정하고, Slack, 웹훅, 이슈 트래커 같은 대상으로 보냅니다. 새 버그를 빨리 알고 싶은 팀을 위한 것입니다.
사용하는 경우
- ✓앱에 새 오류가 나타나면 Slack으로 알고 싶을 때.
- ✓특정 오류가 다시 나타날 때마다 알림을 받고 싶을 때.
- ✓오류 알림을 Linear 같은 웹훅이나 이슈 트래커로 보내고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/authoring-error-tracking-alerts/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“앱에 새 오류가 나타나거나 예전 오류가 돌아오면 Slack으로 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
목표에 맞는 올바른 트리거를 고르고, 중복을 피하려고 이미 있는 알림을 확인한 뒤, 선택한 대상을 설정합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Authoring error tracking alerts
Authoring an error tracking alert is a routing problem, not a measurement problem. The trigger events already exist and fire on real conditions in the ingestion pipeline — your job is to pick the right trigger for the user's intent, dedupe against what's already configured, and wire a destination they can actually act on.
When to use this skill
- The user asks to set up alerts / notifications for errors or exceptions in their project.
- The user wants a starter set of alerts after enabling error tracking.
- The user pastes an issue link and asks "notify me when this happens again" — usually
_reopenedwith a per-issue property filter.
When not to use this skill
- Tuning the spike detector itself (multiplier, window, threshold). That lives behind the spike detection config endpoint and is not exposed via MCP today.
- Investigating an active incident — query the issue / its events directly via
posthog:query-error-tracking-issueandposthog:query-error-tracking-issue-eventsinstead of authoring more alerts mid-fire. - Configuring volume-threshold alerts (count of
$exceptionevents over a window). That's a logs-style alert and is not in scope here — error tracking alerts ride the lifecycle events instead.
Tools
| Tool | Job | Where it fits |
|---|---|---|
posthog:error-tracking-alerts-list |
List existing alerts (paginated); dedupe before creating. | Step 2 — dedupe. |
posthog:integrations-list |
Find the user's Slack workspace id (filter by kind=slack). |
Step 3 — pick channel. |
posthog:integrations-channels-retrieve |
List Slack channels for a workspace. | Step 3 — pick channel. |
posthog:error-tracking-alerts-create |
Create the alert (HogFunction with type=internal_destination). |
Step 4 — ship. |
posthog:error-tracking-alerts-partial-update |
Toggle, rename, or modify an existing alert. | When tuning, not authoring. |
posthog:error-tracking-alerts-delete |
Soft-delete an alert. | When the user says "remove". |
Trigger events — pick exactly one per alert
There are three lifecycle events. Each has a different "noise vs urgency" trade-off — picking the wrong one is the most common cause of alert fatigue here.
| Event | Fires when | Use when |
|---|---|---|
$error_tracking_issue_created |
A brand-new issue first appears. | Small projects, or projects where every new error type is genuinely worth a look. Floods large/noisy projects. |
$error_tracking_issue_reopened |
A previously resolved issue starts emitting again. | Catch regressions on issues someone already triaged. The safest "I want to know if this comes back" trigger. |
$error_tracking_issue_spiking |
The spike detector flags abnormal volume on an issue. | Production projects with high baseline volume. Threshold/multiplier is shared across the project — check spike config before using. |
If the user is vague ("alert me on errors"), default to _spiking. It's the most signal-dense trigger
and the least likely to cause alert fatigue. Confirm explicitly before proceeding.
Workflow
1. Confirm intent
You need three things from the user before creating anything:
- Which trigger event. If unspecified, recommend
_spikingand ask for confirmation. Do not silently pick one. - Which channel. Slack channel name, webhook URL, Linear team, etc. Never hardcode a production channel. If the user says "the dev channel", ask for the exact channel id or name.
- Which scope. All issues (most common), or scoped to a specific issue / ex
자주 묻는 질문
중복 알림을 만드나요?
아니요. 새로 추가하기 전에 이미 있는 알림을 확인합니다.
한 시간 동안의 오류 개수로 알림을 보낼 수 있나요?
이 스킬로는 안 됩니다. 볼륨 임계값 알림은 범위 밖이므로, 대신 오류 생명주기 이벤트를 사용합니다.
급증 알림의 민감도를 조정할 수 있나요?
이 스킬로는 안 됩니다. 급증 감지기 설정은 여기서 사용할 수 없습니다.
상세 정보
작성자의 원본 설명
Author error tracking alerts that fire when an issue is created, reopened, or starts spiking. Use when the user asks to set up error notifications, route exceptions to Slack/webhook/Linear, or evaluate which error events are worth alerting on. Covers trigger-event selection, integration choice, dedup against existing alerts, and shipping with the canonical message body shape.
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6867
- 라이선스
- —
- 업데이트
- 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에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.