authoring-error-tracking-alerts
O que ela faz
Esta skill configura notificações que disparam quando um erro é criado, reaberto ou começa a disparar em alta, e as envia para um destino como Slack, um webhook ou um rastreador de issues. É para equipes que querem saber de novos bugs rapidamente.
Quando usar
- ✓Quando você quer ser avisado no Slack sempre que um novo erro aparece no seu app.
- ✓Quando você quer que um erro específico avise você toda vez que ele voltar.
- ✓Quando você quer direcionar notificações de erro para um webhook ou um rastreador de issues como o Linear.
Link da skill
https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/authoring-error-tracking-alerts/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Me avise no Slack sempre que um erro novo aparecer no meu app ou um antigo voltar.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela escolhe o gatilho certo para o seu objetivo, verifica os alertas que já existem para evitar duplicatas e configura o destino que você escolher.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Ela cria alertas duplicados?
Não. Ela verifica os alertas que você já tem antes de adicionar novos.
Ela consegue alertar sobre uma contagem de erros em uma hora?
Não com esta skill. Alertas de limite de volume estão fora do escopo, então ela usa eventos do ciclo de vida do erro.
Posso ajustar a sensibilidade do alerta de pico?
Não por esta skill, porque as configurações do detector de picos não estão disponíveis aqui.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 41 mil
- Posição no ranking
- #6867
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
depot-ci
41 milAjuda seu agente a configurar e executar fluxos de trabalho do Depot CI, uma alternativa ao GitHub Actions, incluindo a migração de fluxos existentes e a leitura dos logs de execução.
depot-container-builds
41 milAjuda seu agente a criar imagens Docker nos builders remotos do Depot, incluindo imagens multiplataforma, envio para registros e correção de falhas de build.
depot-github-runners
41 milAjuda seu agente a levar tarefas do GitHub Actions para runners gerenciados pelo Depot, escolhendo os tamanhos e os rótulos dos runners e resolvendo problemas de configuração.
editing-agents-md
41 milAjuda seu agente a decidir se uma regra deve ficar em um arquivo AGENTS.md ou CLAUDE.md, e a escrevê-la de forma que seja seguida sem deixar o arquivo inchado.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.