sentry-triage

Triage unresolved Sentry issues against a qualifying gate and escalate survivors to GitHub issues.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/Sassy-Dog/sassydog-skills --skill sentry-triage-sassy-dog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-triage
Source: https://github.com/Sassy-Dog/sassydog-skills/tree/main/skills/sentry-triage
Command: npx skills add https://github.com/Sassy-Dog/sassydog-skills --skill sentry-triage-sassy-dog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Sentry dashboards accumulate hundreds of unresolved issues, and deciding which ones deserve engineering attention is manual, error-prone work — made worse by the fact that Sentry's MCP search returns windowed counts that can under-report real impact by 30x, silently inverting triage decisions. ## Core Features & Use Cases - Gate-and-escalate triage: Pulls all not-resolved Sentry issues, applies a six-rule qualifying gate (status, staleness, severity, dedupe, parked, environment), and tags every non-qualifier with an explicit skip reason. - Count confirmation: Re-fetches true lifetime occurrence and user counts per issue before any threshold is applied, protecting against windowed MCP search results. - Cross-reference and escalation: Checks GitHub for existing linked issues via marker search, then files approved survivors through the github-issues filing script with preview-then-confirm and a burst rail above 5 candidates. - Use Case: Ask "what's blowing up in Sentry for project X" and receive a ranked report of qualifying production issues with confirmed lifetime counts, each either filed as a GitHub issue or annotated with why it was skipped. ## Quick Start Triage the top unresolved Sentry issues for my project and file GitHub issues for any that qualify.

Frequently Asked Questions about sentry-triage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I triage Sentry issues and file GitHub issues automatically?

Pull all not-resolved Sentry issues with the query !is:resolved, apply a qualifying gate covering status, staleness, severity, and environment, then cross-reference GitHub for existing markers. Only issues passing every rule are filed, and only after you approve a preview.

Why do Sentry MCP search counts differ from the issue details page?

The MCP search_issues tool returns event and user counts windowed to its period argument, while the issue resource and REST API return lifetime totals, under identical labels. A measured case showed 1 event reported against a true 30, so counts must be re-fetched per issue before gating.

Can I use Sentry triage without the Sentry MCP server connected?

Yes, the skill falls back to the Sentry REST API using a SENTRY_AUTH_TOKEN with project:read and event:read scopes. The REST /issues/ endpoint returns lifetime counts directly, but per-issue confirmation is still required so the gate behaves identically across transports.

Does Sentry issue search support OR queries?

No, Sentry issue search returns HTTP 400 on boolean OR/AND operators. Use negation and space-separated terms instead: !is:resolved captures both unresolved and ignored issues in a single query because status is exclusive.

Why are CI or e2e environment errors excluded from escalation?

CI environments manufacture user counts because every fresh simulator install registers as a new Sentry user, inflating userCount for test-only errors. Issues whose events are entirely in non-production environments are tagged skip-nonprod and reported but never escalated.

What are the limitations of automated Sentry-to-GitHub escalation?

The skill never mutates Sentry state, never escalates ignored or parked issues, and stops to ask if more than 5 issues qualify in one run. Marker-based GitHub search is only a hint; the filing script makes the final already-linked decision.