Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)16k · #10849

debug-with-sentry

Was er macht

Dieser Skill nutzt die Fehlerdaten von Sentry, um zu erklären, warum etwas für Nutzer abstürzt. Er richtet sich an Entwickler, die einen Produktionsfehler verstehen wollen, bevor sie Code ändern.

Wann du ihn nutzt

  • ✓Wenn du einen Sentry-Link oder eine Issue-ID hast und wissen willst, was falsch ist.
  • ✓Wenn Nutzer einen Fehler melden und du seine Ursache finden willst.
  • ✓Wenn nach einem Release ein Absturz auftaucht und du wissen musst, welcher Code ihn verursacht hat.

Link zum Skill

https://github.com/ParadevAI/Paradev/blob/main/plugins/sentry/skills/debug-with-sentry/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/ParadevAI/Paradev/blob/main/plugins/sentry/skills/debug-with-sentry/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Hier ist ein Sentry-Link zum Checkout-Absturz. Finde die Grundursache anhand des Stack-Traces, bevor wir irgendetwas ändern.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent holt das Issue und sein neuestes Ereignis und liest den Stack-Trace von oben, bis er den ersten Frame in deinem eigenen Code erreicht. Er prüft diese Datei gegen das Release, das den Fehler erzeugt hat, da sich Zeilennummern verschoben haben können.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Root-cause with the evidence, not the guess

A Sentry issue is a claim about what broke. The job is to turn it into a claim about why it broke, backed by the event data, before anyone edits code.

1. Get the real issue, not the search hit

A pasted URL or short ID (PROJECT-123) goes straight to get_sentry_resource (pass the URL, or resourceType: 'issue' with the short ID). A described error ("users can't check out") goes through search_issues first, but treat the results as candidates: match on the error type and the affected code path, not on title similarity. If two issues share a message but differ in stack trace, they are two bugs.

2. Read the stack trace like a diff

Stack traces, breadcrumbs, tag values and releases are catalog tools: find them with search_sentry_tools, then call execute_sentry_tool with name set to get_event_stacktrace, get_issue_breadcrumbs, get_issue_tag_values or find_releases.

Fetch the newest event's stack trace. The top frame is where it crashed, not where it broke — walk down until you leave library code and hit the first frame owned by this repo. That frame and its local variables are the starting point. Cross-check the file against the working tree: production runs a release, and the line numbers may belong to code that has since changed. find_releases tells you which version the events come from.

3. Use the distribution before the theory

Before proposing a cause, check what the events have in common:

  • Tags (get_issue_tag_values): one browser, one endpoint, one tenant, one release? A bug scoped to a dimension names its own trigger.
  • Breadcrumbs: what the user did right before. A crash after a retry storm is a different bug than the same crash on first click.
  • First seen / volume: an issue that started with a release points at that release's diff. One that grew slowly points at data or traffic.

Seer (analyze_issue_with_seer) is worth running for a second opinion, but verify its suggested cause against the frames yourself before repeating it.

4. Report cause, scope, and blast radius

The finding is three sentences: what fails, why, and who it hits (volume, affected users, releases). Link the issue. If the user asks for a fix, fix the frame you identified — and only then consider update_issue to assign or resolve, never as a way to make the dashboard quiet.

Anti-patterns

  • Fixing the top frame. The top frame is often a library that faithfully threw on bad input from three frames below.
  • Trusting the issue title. Sentry titles are the exception message; two different bugs can share one, and grouping is heuristic.
  • Reading one event. One event is an anecdote; the tag distribution is the evidence.
  • Resolving without a shipped fix. A resolved issue that regresses comes back as a new-looking issue and erases its history.
Häufige Fragen

Warum nicht oben im Stack-Trace anfangen?

Der oberste Frame ist der Ort des Absturzes, nicht unbedingt der Ort des Fehlers. Deshalb geht der Skill nach unten bis zu deinem eigenen Code.

Kann er erkennen, ob zwei Issues denselben Fehler haben?

Ja. Zwei Issues mit derselben Meldung, aber unterschiedlichen Stack-Traces gelten als zwei getrennte Fehler.

Ändert er Code automatisch?

Nein. Er erklärt die Ursache mit Belegen, bevor Code angefasst wird.

Details

Originalbeschreibung des Autors

Root-cause a production error with Sentry's evidence before touching code — pull the issue, read the stack trace and breadcrumbs, and separate the crash from its trigger. Use when the user pastes a Sentry link or issue ID, reports a production error, or asks why something is crashing for users.

repo: ParadevAI/Paradev

Beliebtheit

GitHub-Sterne
16k
Platz im Ranking
#10849
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills