/sentry:investigate-errorsfrom sentry
Investigates recent errors and exceptions in Sentry projects, analyzing patterns, trends, and root causes with actionable recommendations.
Ships in sentry. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thebushidocollective/han --plugin sentry-mcpsentry:investigate-errors - Investigate recent errors and exceptions in your Sentry projects
/investigate-errors [arguments]
Investigate recent errors and exceptions in your Sentry projects to identify issues, patterns, and root causes.
This command helps you quickly triage and investigate errors captured by Sentry across your projects.
/investigate-errors [project-name] [timeframe]
User: /investigate-errors my-web-app 24h
Claude: Investigating errors in my-web-app for the last 24 hours...
## Error Investigation Report
### Overview
- **Total Issues**: 12 error issues
- **Total Events**: 347 error events
- **Affected Users**: 89 unique users
- **Time Range**: Last 24 hours
### Top Issues
1. **TypeError: Cannot read property 'id' of undefined**
- Events: 156
- Users: 45
- First Seen: 23h ago
- Last Seen: 12m ago
- Environment: production
- Release: v2.3.1
- Trend: Increasing (spike in last 6 hours)
2. **NetworkError: Failed to fetch user data**
- Events: 89
- Users: 23
- First Seen: 18h ago
- Last Seen: 1h ago
- Environment: production
- Release: v2.3.1
3. **ReferenceError: localStorage is not defined**
- Events: 67
- Users: 34
- First Seen: 22h ago
- Last Seen: 3h ago
- Environment: production, staging
### Key Patterns
- 45% of errors correlate with v2.3.1 deployment 23h ago
- TypeError spike began 6 hours after deployment
- NetworkError appears to be intermittent (API flakiness?)
- localStorage errors isolated to server-side rendering context
### Recommendations
1. **Immediate**: Investigate TypeError in v2.3.1 - likely regression in user data handling
2. **High Priority**: Check API stability for fetch failures
3. **Medium Priority**: Add server-side rendering guards for localStorage access
Would you like me to dive deeper into any specific error?
project-name (optional): Sentry project slugtimeframe (optional): Time range (1h, 24h, 7d, 30d, or custom)/analyze-performance: Investigate performance issues/check-releases: Review recent release health/query-events: Run custom Sentry queries5 skills in this plugin
/analyze-performanceAnalyze performance metrics and identify slow transactions in Sentry/check-releasesCheck release health and compare error rates across deployments/incident-responseManage incident response workflow with Sentry alerts and issue tracking/query-eventsRun custom queries on Sentry events and issues with advanced filteringOther plugins' skills for the same job