Saltar al contenido
Skillpedia
Deploy y nube (DevOps)41 mil · #6867

authoring-error-tracking-alerts

Qué hace

Esta skill configura notificaciones que se activan cuando un error se crea, se reabre o empieza a dispararse, y las envía a un destino como Slack, un webhook o un gestor de incidencias. Está pensada para equipos que quieren enterarse rápido de nuevos fallos.

Cuándo usarla

  • ✓Cuando quieres que te avisen en Slack cuando aparece un error nuevo en tu app.
  • ✓Cuando quieres que un error concreto te avise cada vez que vuelve.
  • ✓Cuando quieres enviar las notificaciones de error a un webhook o a un gestor de incidencias como Linear.

Link de la skill

https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/authoring-error-tracking-alerts/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/authoring-error-tracking-alerts/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Avísame en Slack cada vez que aparezca un error nuevo en mi app o vuelva uno antiguo.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Elige el disparador adecuado para tu objetivo, comprueba si ya existen alertas para evitar duplicados y configura el destino que elijas.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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
Preguntas frecuentes

¿Creará alertas duplicadas?

No. Revisa las alertas que ya tienes antes de añadir nuevas.

¿Puede alertar por un recuento de errores en una hora?

No con esta skill. Las alertas por umbral de volumen están fuera de su alcance, así que usa eventos del ciclo de vida del error.

¿Puedo ajustar la sensibilidad de la alerta de pico?

No desde esta skill, porque los ajustes del detector de picos no están disponibles aquí.

Detalles

Descripción original del 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

Popularidad

Estrellas en GitHub
41 mil
Posición en el ranking
#6867
Licencia
—
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas