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

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가 스킬을 읽고 지침을 따릅니다.

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

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

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 _reopened with 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-issue and posthog:query-error-tracking-issue-events instead of authoring more alerts mid-fire.
  • Configuring volume-threshold alerts (count of $exception events 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 _spiking and 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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬