Logo von Sentry Bugfix

Sentry Bugfix

Community
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.

Übersicht

Herausgeberjpoehnelt
Repositoryskills
Skill-Namesentry-bugfix
Sterne
23
Forks
1
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von jpoehnelt auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Sentry Bugfix in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/jpoehnelt/skills/tree/main/sentry-bugfix
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Sentry Bugfix in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Sentry Bugfix automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Sentry Bugfix nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Häufig gestellte Fragen

Was macht der KI-Skill 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.

Warum Sentry Bugfix in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Sentry Bugfix besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Sentry Bugfix in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/jpoehnelt/skills/tree/main/sentry-bugfix ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Sentry Bugfix nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Sentry Bugfix verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Sentry Bugfix damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Sentry Bugfix kostenlos?

Ja. Der Skill wird von jpoehnelt auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇