sentry-triage
하는 일
이 스킬은 AI 에이전트가 Sentry에 보고된 오류를 스택 추적을 손으로 옮기지 않고 조사하도록 돕습니다. 새 알림이나 회귀의 원인을 찾아야 하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓새 Sentry 알림이 도착했고, 제목만 반복하지 않고 에이전트가 조사하기를 원할 때.
- ✓릴리스 후에 버그가 시작된 것 같아서 의심 커밋과 파일을 찾고 싶은 경우.
- ✓가장 많이 해결되지 않은 오류의 요약과 재현 힌트를 받고 싶을 때.
스킬 링크
https://github.com/composio-community/awesome-codex-skills/blob/master/sentry-triage/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“체크아웃 페이지에 새 Sentry 알림이 왔습니다. 조사해서 어느 파일이 원인일 가능성이 높은지 알려 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 Composio 도구로 이슈와 최신 이벤트를 가져오며, 스택 추적과 브레드크럼도 포함합니다. 그다음 각 스택 프레임을 프로젝트의 해당 소스 파일에 대응시키고 수정안을 제안합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Sentry Triage
Pull Sentry issues, events, and suspect commits straight into the agent via the Composio CLI. Skip the copy-paste-stack-trace dance.
When to Use
- New Sentry alert and you want the agent to investigate, not just quote the subject line.
- Diagnosing a regression: find the releases, suspect commit, and affected files.
- Building a "top 10 unresolved issues" digest with reproduction hints.
Prereqs
curl -fsSL https://composio.dev/install | bash
composio login
composio link sentry # auth token with event:read + project:read
Discover Tools
composio search "get sentry issue" --toolkits sentry
composio search "list events for issue" --toolkits sentry
composio tools list sentry
Common slugs (verify with --get-schema):
SENTRY_GET_AN_ISSUESENTRY_LIST_AN_ISSUES_EVENTSSENTRY_RETRIEVE_AN_EVENT_FOR_A_PROJECTSENTRY_LIST_A_PROJECTS_ISSUESSENTRY_UPDATE_AN_ISSUE
Diagnose a Single Issue
- Fetch the issue (by short ID like
PROJ-1F4or numeric ID):composio execute SENTRY_GET_AN_ISSUE -d '{"issue_id":"PROJ-1F4"}' - Grab the latest event with full stack + breadcrumbs:
composio execute SENTRY_LIST_AN_ISSUES_EVENTS \ -d '{"issue_id":"PROJ-1F4","full":true,"limit":1}' - Map each frame to local source. For each
filename+linenoin the stack, the agent opens the file and reads ±20 lines. No manual copy-paste. - Check suspect commits (Sentry attaches these when release tracking is set up) — open them with
git show <sha>locally. - Propose a fix with a diff, run tests, and — once green — mark the issue resolved:
composio execute SENTRY_UPDATE_AN_ISSUE \ -d '{"issue_id":"PROJ-1F4","status":"resolved","statusDetails":{"inNextRelease":true}}'
Triage a Batch
composio execute SENTRY_LIST_A_PROJECTS_ISSUES -d '{
"organization_slug":"acme",
"project_slug":"api",
"query":"is:unresolved age:-24h",
"sort":"freq",
"limit":20
}'
Pipe into jq for a ranked summary:
composio execute SENTRY_LIST_A_PROJECTS_ISSUES -d '{"organization_slug":"acme","project_slug":"api","query":"is:unresolved"}' \
| jq -r '.[] | "\(.count)\t\(.shortId)\t\(.title)"' | sort -rn | head
Workflow File
scripts/sentry-diag.ts, run with composio run --file scripts/sentry-diag.ts -- --id PROJ-1F4:
const id = process.argv[process.argv.indexOf("--id") + 1];
const issue = await execute("SENTRY_GET_AN_ISSUE", { issue_id: id });
const [event] = await execute("SENTRY_LIST_AN_ISSUES_EVENTS", {
issue_id: id, full: true, limit: 1
});
const frames = (event?.entries ?? [])
.filter(e => e.type === "exception")
.flatMap(e => e.data.values.flatMap(v => v.stacktrace?.frames ?? []))
.filter(f => f.inApp)
.map(f => ({ file: f.filename, line: f.lineno, fn: f.function }));
console.log(JSON.stringify({ title: issue.title, culprit: issue.culprit, frames }, null, 2));
The agent then reads each file at line ± 20 and drafts a patch.
Route to Linear / Slack
Chain tools to open a ticket for the top unresolved issue:
composio run '
const [top] = await execute("SENTRY_LIST_A_PROJECTS_ISSUES", {
organization_slug: "acme", project_slug: "api",
query: "is:unresolved", sort: "freq", limit: 1
});
await execute("LINEAR_CREATE_ISSUE", {
teamId: "TEAM_ID",
title: `[Sentry] ${top.title}`,
description: `Short ID: ${top.shortId}\nPermalink: ${top.permalink}\nCount: ${top.count}`
});
'
Troubleshooting
404 on issue_id→ use the short ID (PROJ-1F4), not the URL slug.- Empty events → the issue was resolved/archived; query with
query:"is:resolved"or bumplimit. - Missing suspect commit → release tracking isn't configured in Sentry; set up
sentry-cli releasesin CI. - No
inAppframes → source maps not uploaded; stack will only show vendor code.
Full CLI reference: docs.composio.dev/docs/cli
자주 묻는 질문
Sentry를 연결하려면 무엇이 필요한가요?
이벤트와 프로젝트를 읽을 수 있는 토큰으로 Composio 도구를 통해 Sentry를 연결합니다.
스택 추적을 읽을 수 있나요?
네. 전체 스택 추적과 브레드크럼이 포함된 최신 이벤트를 가져옵니다.
Sentry의 이슈를 바꾸나요?
스킬에는 업데이트 동작이 있어서, 요청하면 이슈를 바꿀 수 있습니다.
상세 정보
작성자의 원본 설명
Diagnose Sentry issues without copy-pasting stack traces. Uses the Composio CLI to pull issue details, events, breadcrumbs, and suspect commits, then maps the frames to local source so the agent can propose a fix directly.
인기도
- GitHub 스타
- 17k
- 순위
- #10759
- 라이선스
- —
- 업데이트
- 2026. 7. 25.
댓글
- …
이 저장소의 다른 스킬
agent-deep-links
17k에이전트가 Codex나 Cursor 같은 앱에서 스레드, 파일, 폴더, 설정을 바로 여는 클릭 가능한 링크를 만들도록 돕습니다.
brand-guidelines
17k에이전트가 결과물에 OpenAI 스타일의 브랜드 색과 글꼴을 적용해 Codex의 느낌과 맞추도록 돕습니다.
codebase-migrate
17k에이전트가 프레임워크 업그레이드나 API 이름 변경처럼 수백 개 파일에 걸친 대규모 코드 마이그레이션을 계획하도록 돕습니다.
connect-apps
17k에이전트가 Gmail, Slack, GitHub 같은 앱에서 이메일 보내기나 이슈 만들기처럼 실제 작업을 하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.