native-sentry
par codeninja23
AI & LLMsRésumé
Read Sentry issues, events, and production errors via the Sentry REST API.
Description
Ce que fait ce skill
Reads production errors and issues from Sentry using the REST API. Supports listing recent issues, fetching stack traces, and inspecting individual events. PII is redacted by default.
Brings Sentry error context directly into the agent without switching tabs or manually copying issue IDs.
Quand l'utiliser
- Check what errors fired in prod in the last 24 hours
- Pull the stack trace for a specific issue ID
- Summarize unresolved errors before a deploy
- Look up an issue by its short ID like ABC-123
- Review event history for a flapping error
Exemple de workflow
User asks: what are the top unresolved errors in prod today?
- 1
Export SENTRY_ORG and SENTRY_PROJECT from environment
- 2
Run list-issues with --time-range 24h --environment prod --query is:unresolved --limit 20
- 3
Parse returned issue list for titles, counts, and IDs
- 4
Run issue-detail on the top issue to get full context
- 5
Summarize error titles, occurrence counts, and first-seen timestamps
A ranked list of unresolved production errors with titles, event counts, and issue IDs
Prérequis
- Sentry account at sentry.io or self-hosted instance
- SENTRY_AUTH_TOKEN with scopes: project:read, event:read, org:read — generate at https://sentry.io/settings/account/api/auth-tokens/
Installation
clawhub install codeninja23/native-sentryExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.