Logotipo de Sentry Bugfix

Sentry Bugfix

Comunidad
jpoehnelt
sentry-bugfix

Triage Sentry errors for one environment, trace a finding to current code, reproduce it locally, and deliver a focused fix PR. Use when sweeping an environment's errors, decomposing catch-all log or 5xx issues, or driving a supplied Sentry issue to a fix. Use sentry-perf for latency and gh-ci-triage for CI.

Descripción general

Editorjpoehnelt
Repositorioskills
Nombre de la habilidadsentry-bugfix
Estrellas
23
Forks
1
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por jpoehnelt en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Sentry Bugfix en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/jpoehnelt/skills/tree/main/sentry-bugfix
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpoehnelt/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/sentry-bugfix .claude/skills/sentry-bugfix
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Sentry Bugfix en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Sentry Bugfix automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Sentry Bugfix no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Sentry-driven bug fixing

Repo facts (read from AGENTS.md or CLAUDE.md; verify in Sentry before use): Sentry organization and region, project slugs per app or runtime, environment names and the hosts they serve, where Sentry is initialized, which logger mirrors logs into Sentry, redacted fields, and the repo's check and PR commands.

Discover the callable Sentry tools first (typically issue search, event search over errors/logs/spans, and a resource fetch for issues and traces). Never reuse another repository's coordinates.

Establish scope

  • Resolve organization, project, and environment from the supplied issue, the connected account, and the repo's release configuration. Confirm ownership in Sentry.
  • Put an explicit environment and time range on every query. Preview and CI environments often carry heavy end-to-end and accessibility-test volume; keep them out of production sweeps. If several deployments share one environment tag, separate them by host, release, or deploy evidence.
  • Read the instrumentation: framework error hooks (server and client), explicit captureException calls, structured-logger mirrors, and process-boundary handlers in background workers. Know every path that can create an event before counting events.

Grouping traps

  • Catch-all buckets. A logger that mirrors log.error into Sentry, or a request logger that reports returned 5xx, produces a few issues fingerprinted by logger name, message template, or route plus status. One issue title can hide several causes. Decompose by the structured fields that carry identity (log message, route, handler, domain keys) instead of by issue.
  • Double reporting. A failed request can be reported by the error hook, the request logger, and an explicit capture. Do not count duplicates as distinct incidents.
  • Suppressed transients. If the repo tags known transient faults instead of capturing them, check that tag before calling something new.
  • Silent pipelines. A stalled scheduled job emits no errors. Check cron monitors or heartbeat check-ins alongside issues.

Query

  1. List issues for the scope, sorted by frequency, with a small limit. Record the query and window.
  2. For log-backed buckets, aggregate the logs dataset by the identity fields with count(), sorted descending. Then drill into one message by filtering on it and grouping by a domain field.
  3. Keep field lists and limits small. Avoid nested-array fields in event queries; they are slow and often time out.
  4. Open a representative event and its trace for each group. Group by exception, stack location, route or handler, release, and runtime. Platform logs (for example Cloudflare Workers logs) that share the trace and span IDs can fill gaps.

Respect redaction and access limits. Do not assume redacted fields are readable, and do not paste credentials, user-identifying data, or unredacted payloads into reports. Missing readable data is an evidence gap, not a negative result.

Classify

For each root-cause group, decide: active code bug, data drift (stored data no longer matches a schema), missing configuration, expected rejection, upstream outage, or noise. Trace the event to current code and the deployed revision, and compare the preceding release before calling it a regression. Deployment and configuration findings go to the repo's deploy runbook, not a code fix.

With several independent groups and authorization to delegate, fan out one read-only triage agent per group, follow each with an adversarial verifier that tries to refute it, and implement only confirmed fixes in disjoint files (agents-swarm). Without that authorization, triage and verify the groups yourself in sequence. Carry non-actionable findings through to the report instead of dropping them.

Fix and deliver

  1. Reproduce the observed failure locally or with a focused check in the owning package.
  2. Make the minimal fix at the cause, in the owning module. Preserve typed failures and their causes, tenant scoping, and resource cleanup (effect, effect-boundary-validation in Effect repos). Add a regression test only where branch behavior is uncertain (eng-tdd when a cheap one exists).
  3. Run the repo's affected checks. Open a Conventional Commit fix(scope): ... PR linking the Sentry issue and the observed release, then follow gh-pr-feedback-loop.
  4. Do not resolve the Sentry issue because code was pushed. Wait for the authorized deploy and a meaningful observation window.

Review checklist

  • Organization, project, environment, host, release, and window are explicit.
  • The finding is not a double-reported 5xx, a suppressed transient, or a preview-only test artifact.
  • Root cause cites a representative event and a current code location, and is reproduced locally.
  • Redacted fields and telemetry gaps are stated, not assumed away.
  • Unverified rollout evidence is reported as such.

Preguntas frecuentes

¿Qué hace la habilidad de IA Sentry Bugfix?

Triage Sentry errors for one environment, trace a finding to current code, reproduce it locally, and deliver a focused fix PR. Use when sweeping an environment's errors, decomposing catch-all log or 5xx issues, or driving a supplied Sentry issue to a fix. Use sentry-perf for latency and gh-ci-triage for CI.

¿Por qué usar Sentry Bugfix en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Sentry Bugfix está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Sentry Bugfix en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/jpoehnelt/skills/tree/main/sentry-bugfix. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Sentry Bugfix?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Sentry Bugfix?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Sentry Bugfix con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Sentry Bugfix?

Sí. jpoehnelt la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇