sentry-triage
यह क्या करती है
यह स्किल AI एजेंट को Sentry में रिपोर्ट हुई एरर को बिना स्टैक ट्रेस हाथ से कॉपी किए जाँचने में मदद करती है। यह उन डेवलपर्स के लिए है जिन्हें किसी नए अलर्ट या रिग्रेशन का कारण ढूँढना है।
कब इस्तेमाल करें
- ✓जब कोई नया Sentry अलर्ट आए और आप चाहते हैं कि एजेंट उसे सिर्फ़ दोहराने के बजाय जाँचे।
- ✓जब कोई बग किसी release के बाद शुरू हुआ लगे और आप संदिग्ध commit और फ़ाइलें खोजना चाहते हैं।
- ✓जब आप सबसे ज़्यादा अनसुलझी एरर का सारांश चाहते हैं, साथ में उन्हें दोहराने के संकेत।
Skill का लिंक
https://github.com/composio-community/awesome-codex-skills/blob/master/sentry-triage/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“checkout पेज के लिए एक नया Sentry अलर्ट आया है। क्या आप उसकी जाँच करके बता सकते हैं कि कौन-सी फ़ाइल इसकी वजह हो सकती है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट Composio टूल के ज़रिए issue और उसका नवीनतम इवेंट लाता है, जिसमें स्टैक ट्रेस और breadcrumbs शामिल हैं। फिर वह हर स्टैक फ़्रेम को आपके प्रोजेक्ट की संबंधित फ़ाइल से जोड़ता है और सुधार सुझाता है।
तकनीकी सामग्री (मूल 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 को ऐसे token से जोड़ते हैं जो इवेंट और प्रोजेक्ट पढ़ सके।
क्या यह स्टैक ट्रेस पढ़ सकता है?
हाँ। यह पूरे स्टैक ट्रेस और breadcrumbs के साथ नवीनतम इवेंट लाता है।
क्या यह Sentry में issue बदलेगा?
स्किल में एक update क्रिया है, इसलिए आपके कहने पर यह issue बदल सकता है।
जानकारी
लेखक का मूल विवरण
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
- लाइसेंस
- —
- अपडेट की गई
- 25/7/2026
कमेंट
- …
इस repository की और skills
agent-deep-links
17kआपके एजेंट को ऐसे क्लिक करने योग्य लिंक बनाने में मदद करती है जो Codex या Cursor जैसे ऐप में थ्रेड, फ़ाइल, फ़ोल्डर या सेटिंग सीधे खोलें।
brand-guidelines
17kआपके एजेंट को किसी आर्टिफ़ैक्ट को OpenAI-शैली के ब्रांड रंगों और फ़ॉन्ट में सजाने में मदद करती है, ताकि वह Codex जैसा दिखे।
codebase-migrate
17kआपके एजेंट को सैकड़ों फ़ाइलों में बड़े कोड माइग्रेशन की योजना बनाने और चलाने में मदद करती है, जैसे फ़्रेमवर्क अपग्रेड या API नाम बदलना।
connect-apps
17kआपके एजेंट को Gmail, Slack और GitHub जैसे ऐप में असली काम करने देती है, जैसे ईमेल भेजना या issue बनाना।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।