본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)16k · #10849

debug-with-sentry

하는 일

이 스킬은 Sentry의 오류 데이터를 사용해 무엇이 사용자에게 충돌을 일으키는지 설명합니다. 코드를 바꾸기 전에 운영 오류의 원인을 이해하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Sentry 링크나 이슈 ID가 있고 무엇이 잘못되었는지 알고 싶을 때.
  • ✓사용자가 오류를 보고했고 그 원인을 찾고 싶은 경우.
  • ✓릴리스 후에 충돌이 나타났고 어느 코드가 원인인지 알아야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ParadevAI/Paradev/blob/main/plugins/sentry/skills/debug-with-sentry/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“체크아웃 충돌에 대한 Sentry 링크가 있습니다. 코드를 바꾸기 전에 스택 추적에서 근본 원인을 찾아 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 Sentry에서 이슈와 최신 이벤트를 가져온 뒤, 스택 추적을 위에서부터 읽어 내려가 내 코드의 첫 번째 프레임에 도달할 때까지 살핍니다. 줄 번호가 바뀌었을 수 있으므로, 오류를 만든 릴리스와 그 파일을 대조해 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.
자주 묻는 질문

스택 추적의 맨 위부터 보지 않는 이유는 무엇인가요?

맨 위 프레임은 충돌이 일어난 곳이지 버그가 있는 곳이 아닐 수 있으므로, 스킬은 내 코드까지 아래로 내려갑니다.

두 이슈가 같은 버그인지 알 수 있나요?

네. 메시지는 같지만 스택 추적이 다르면 서로 다른 버그로 취급합니다.

코드를 자동으로 바꾸나요?

아니요. 코드를 건드리기 전에 증거로 원인을 설명하는 것을 목표로 합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
16k
순위
#10849
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬