triaging-error-issues
O que ela faz
Esta skill entrega uma lista curta das issues de erro mais importantes para olhar, como as novas ou as que afetam muitos usuários. É para desenvolvedores ou plantonistas que fazem a revisão diária.
Quando usar
- ✓Quando você pergunta o que está quebrado hoje e quer uma lista curta de prioridades.
- ✓Quando você quer ver erros novos dos últimos um ou dois dias.
- ✓Quando você está começando o dia e quer saber quais issues olhar primeiro.
Link da skill
https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/triaging-error-issues/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
“Quais erros novos temos hoje, e quais afetam mais usuários?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela escolhe uma janela de tempo, ordena as issues por número de usuários afetados e recência e aponta para os replays vinculados. Depois sugere um próximo passo para cada issue importante.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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 SDKsposthog-edge— Cloudflare Workers / edge runtimeposthog-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_seeninside the window → new, worth attentionfirst_seenweeks ago but spiking now → regression worth attentionfirst_seenweeks 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
Perguntas frequentes
Quantas issues ela mostra?
Mostra uma lista curta e priorizada, e não todas as issues ativas, já que a maioria dos projetos tem centenas.
O que torna uma issue de alta prioridade?
Issues novas dos últimos um ou dois dias, picos repentinos e issues que afetam muitos usuários diferentes.
Ela consegue mostrar o que o usuário fez?
Sim. Ela pode encontrar replays de sessão de usuários que atingiram cada issue.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 41 mil
- Posição no ranking
- #6873
- 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.