sentry-triage
Skill0 starsChanged 10 days agoApache-2.0View on GitHub
Rank the unresolved Sentry issues of a project by impact and decide what to fix first: a deterministic severity score, the trend, the innermost in-app frame, the failure origin (app / vendor / network / browser), the clusters sharing one root cause, then a complexity call per issue. Use when someone asks which Sentry errors to fix first, what is hurting users in production, to triage or prioritize the error backlog, or pastes a Sentry issue-stream URL. Needs a Sentry API token, curl and jq.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- koala73/worldmonitortheir own version, first seen Nov 6, 2026
- mattbutlerengineering/mattbutlerengineeringtheir own version, first seen Oct 13, 2026
- anyproto/anytype-swifttheir own version, first seen Oct 9, 2026
- gephi/gephitheir own version, first seen Oct 8, 2026
- Sassy-Dog/skillstheir own version, first seen Oct 8, 2026
- ComposioHQ/awesome-codex-skillstheir own version, first seen Oct 8, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- koala73/worldmonitor★ 90ksame name
- ComposioHQ/awesome-codex-skills★ 17ksame name
- composio-community/awesome-codex-skills★ 16ksame name
- gephi/gephi★ 6.7ksame name
- go-vikunja/vikunja★ 6ksame name
- anyproto/anytype-swift★ 525same name
- whz39coding/zh-awesome-codex-skills★ 4same name
- mattbutlerengineering/mattbutlerengineering★ 3same name
- FuSheng-MG/Pi-Agent-skills★ 1same name
- Sassy-Dog/skills★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dead-code-auditSkill
- front-reviewSkill
- intakeSkill
- pr-guardianSkill
- pr-todoSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 78
When the project context lets you resolve Where to a file in the working tree, open that file at the line before assigning S/M/L — a …
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Sentry triage
Two steps. The script ranks by severity — it is deterministic, do not re-derive it. You add complexity, which needs reading frames and, when the project tells you where its code lives, the code itself.
Step 1 — run the script
bash <skill-dir>/scripts/sentry-triage.sh [<sentry issues url>] [--org o --project p --env e --period 14d --query 'is:unresolved'] [--format md|slack]
bash <skill-dir>/scripts/sentry-triage.sh --issue <SHORT-ID> [--tags release,browser,url]
bash <skill-dir>/scripts/sentry-triage.sh --doctor [<url> | --org o --project p --env e]<skill-dir> is the directory holding this file. Map what the caller said to flags:
| Caller says | Flag |
pastes a Sentry URL (https://<org>.sentry.io/issues/?...) | pass it as the first argument, verbatim; org, project, environment, query and period come from it |
| an org, project, environment or period | --org, --project (slug or id), --env, --period |
| nothing about the project | rely on SENTRY_ORG / SENTRY_PROJECT / SENTRY_ENVIRONMENT, or on what the project context declares (below); ask only if neither exists |
| "for Slack" | --format slack |
| a specific issue, or you need the stack of a top issue | --issue <SHORT-ID> |
| "is it set up", "check my token", or the first run on a machine | --doctor — tools, token, scopes, org and project access, one ok/FAIL/skip line each |
Auth is SENTRY_AUTH_TOKEN or the token= line of ~/.sentryclirc. A project with
100 issues takes about 10 seconds. Do not parallelize or paginate it yourself. On
Windows run it from Git Bash exactly as above (never PowerShell); curl ships with
Git for Windows, jq comes from winget install jqlang.jq — --doctor says which
one is missing.
The answer starts with the script's first line — the Sentry triage · … header, or
its bold Slack form — and shows the table and the Clusters block verbatim. No sentence
before it, no restatement after it: a Slack message is pasted as-is, and anything you
write above the header is what the reader has to delete first. Column semantics, the
score formula and the origin rules: reference.md.
Step 2 — add the complexity call and the priority order
Severity alone puts noise first (a browser / CustomEvent cluster hit by 30 users is
severe and worthless). Priority is severity and cost, so after the table produce a
short ranked list, top 5 to 10, with one line per entry:
1. [SHORT-ID or cluster] — severity <sev> · complexity <S|M|L|noise> — <what to do, one clause>severity is the table's Sev value; complexity is exactly one of S, M, L,
noise — a closed vocabulary, so two triages of the same project read the same way.
An issue that is already gone (last seen days ago, zero events since a release) is
still one of the four: noise, with "resolve it" as the action.
Complexity rubric — decide from Origin, Where, the cluster and, for the top entries,
--issue output (frames innermost first, release / browser / url breakdown):
| Signal | Complexity | Typical action |
app, one in-app file, single release in tags | S | regression from that release — read the frame, guard or revert |
app, one file, several releases | M | real defect, local fix |
a cluster of N app issues on the same file, or network / API Error: 401 × N | M, fix once | one root cause: auth/session handling, a shared hook |
vendor package, no in-app frame | M–L | upgrade, pin, or wrap the call; check the package changelog |
browser (CustomEvent, [object Event], chunk / script load) | noise unless users cannot proceed | drop via SDK ignoreErrors / beforeSend, or fix the asset path if it is a deploy artefact |
network 5xx / timeouts | not front-end | route to the backend owner, link the issue |
| single browser or single user in tags | S or noise | browser-specific; decide by user count |
When the project context lets you resolve Where to a file in the working tree, open
that file at the line before assigning S/M/L — a one-line guard is S, a missing provider
in a routing tree is M. Never guess a fix from the title alone.
Project context
This skill assumes nothing about a company, a stack or a repository. Anything the
host project declares — in its CLAUDE.md, AGENTS.md or equivalent — wins over the
defaults here. Useful declarations:
## Sentry
- org `acme`, project `web` (id 123), environment `prod`
- `Where` paths are relative to `packages/<app>/src`; `dist/client/proxy-client.js` is the shared API client in `packages/lib-api`
- known noise, do not rank: `[object HTMLLinkElement]`, `ResizeObserver loop`
- 401 clusters belong to the auth team; open a ticket in AUTH instead of fixing
- tickets: one Jira per cluster, key prefix WEB-Apply such rules silently: filter what it calls noise out of the ranked list (keep it in the raw table), map paths to files, name the owner it names.
Failures
The script exits non-zero with the cause on its last stderr line: no token, token
rejected, unknown org / project / issue, an HTTP error from Sentry. That line is the
whole answer: relay it verbatim, alone, and stop. It already names what to fix (the
slug, the token, the scope); rerun commands and --doctor suggestions are for you to
act on if asked, not lines to add — the caller asked for a triage, not a tutorial. Never
produce a ranking from a partial table or from memory of the Sentry UI.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

