jutsu-sentry
Sentry plugin that adds five skills for error capturing, performance tracing, releases, and alerts.
- CCM score
- 47 of 100
- GitHub stars
- 201
Own this plugin? Claim it
What it does
- Adds 5 skills (
sdk-configuration,error-capturing,performance-monitoring,release-management,alerts-issues) and a validation hook onhooks.json - Covers SDK initialization, exception handling with context and fingerprinting, transactions with spans, and source map uploads
- Runs a
sentry-cli infocheck through the hook to verify configuration and authentication before use - Designed for projects that report errors to Sentry and need
.sentryclircor environment-based setup
Best practices and patterns for Sentry error monitoring and observability.
Add marketplace
/plugin marketplace add TheBushidoCollective/hanRun it inside Claude Code once, then install the plugin below.
Install
/plugin install jutsu-sentry@hanRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceSentry - Alerts & Issue Management
Configure alerts, manage issues, and set up notifications.
Alert Types
Issue Alerts
Trigger when an issue matches specific conditions:
- New issue created
- Issue changes state (resolved → unresolved)
- Issue frequency exceeds threshold
- Issue affects specific users/releases
Metric Alerts
Trigger based on aggregate metrics:
- Error count exceeds threshold
- Transaction latency (p50, p95, p99)
- Failure rate percentage
- Apdex score drops
Uptime Monitoring
Monitor endpoint availability:
- HTTP status codes
- Response time thresholds
- SSL certificate expiration
Alert Conditions
Frequency-Based
When an issue is seen more than 100 times in 1 hour
User Impact
When an issue affects more than 50 unique users in 1 hour
First Seen
When a new issue is created
Regression
When an issue changes state from resolved to unresolved
Alert Actions
Notification Channels
- Email: Individual or team distribution
- Slack: Channel or direct messages
- PagerDuty: On-call escalation
- Discord: Webhook notifications
- Microsoft Teams: Channel posts
- Webhooks: Custom integrations
Issue Actions
- Assign to team member
- Add tags
- Create ticket (Jira, Linear, GitHub)
Issue States
Lifecycle
- Unresolved: Active issue needing attention
- Resolved: Fixed in a release
- Ignored: Intentionally dismissed
- Archived: Historical, no longer tracked
Substates
- For Review: Needs triage
- Escalating: Increasing in frequency
- Regressed: Previously resolved, now recurring
- New: First seen recently
Issue Management
Merge Issues
Combine duplicate issues with different stack traces:
- Select issues to merge
- Choose primary issue
- All events appear under primary
Ignore Rules
Ignore this issue:
- Forever
- Until it happens again
- For the next 24 hours
- Until it affects 100 users
Ownership Rules
# Define in project settings
path:src/payments/* #payments-team
path:src/auth/* user@example.com
tags.component:checkout #checkout-team
API Integration
List Issues
curl "https://sentry.io/api/0/projects/{org}/{project}/issues/" \
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN"
Update Issue
curl -X PUT "https://sentry.io/api/0/issues/{issue_id}/" \
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{"status": "resolved"}'
Create Alert Rule
curl -X POST "https://sentry.io/api/0/projects/{org}/{project}/rules/" \
-H "Authorization: Bearer $SENTRY_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "High Error Rate",
"conditions": [...],
"actions": [...],
"frequency": 30
}'
Integration Examples
Slack Alert
{
"action": "notify_slack",
"workspace": "your-workspace",
"channel": "#alerts",
"tags": ["level", "environment"]
}
PagerDuty Escalation
{
"action": "notify_pagerduty",
"service": "your-service-key",
"severity": "critical"
}
Jira Ticket Creation
{
"action": "create_jira_ticket",
"integration": "jira-integration-id",
"project": "PROJ",
"issueType": "Bug"
}
Best Practices
- Start with conservative thresholds, tune over time
- Use different channels for different severities
- Set up on-call rotation for critical alerts
- Review and archive stale issues regularly
- Define ownership rules for automatic assignment
- Create runbooks for common alert types
- Use metric alerts for SLO monitoring
Readme
Sentry
Best practices and patterns for Sentry error monitoring and observability.
What This Plugin Provides
Validation Hooks
- Sentry Info: Verifies sentry-cli configuration and authentication using
sentry-cli info
Skills
This plugin provides the following skills:
- SDK Configuration: Initialization, integrations, sampling, filtering
- Error Capturing: Exception handling, context, breadcrumbs, fingerprinting
- Performance Monitoring: Transactions, spans, distributed tracing, metrics
- Release Management: Source maps, deployments, release health
- Alerts & Issues: Alert rules, issue triage, notifications, integrations
Installation
Install via the Han marketplace:
han plugin install sentry
Usage
Once installed, this plugin provides skills for Sentry best practices. The validation hook verifies your sentry-cli configuration is correct.
Requirements
- sentry-cli installed
.sentryclircorsentry.propertiesconfiguration file- Valid Sentry authentication token
Configuration
Create .sentryclirc in your project root:
[defaults]
org = your-org
project = your-project
[auth]
token = your-auth-token
Or use environment variables:
export SENTRY_ORG=your-org
export SENTRY_PROJECT=your-project
export SENTRY_AUTH_TOKEN=your-auth-token
Details
- Marketplace
- TheBushidoCollective/han
- Source
- plugins/specialized/sentry
- Category
- Specialized
- Keywords
- sentry, error-monitoring, observability, performance, tracing
- Listed since
- Apr 7, 2026
More from TheBushidoCollective/han
All 340Similar to jutsu-sentry
More DevOps & CloudsentryPluginTheBushidoCollective/han201 starsBest practices and patterns for Sentry error monitoring and observability.
sentry-mcpPlugingetsentry/sentry-mcp976 starsSentry error tracking and performance monitoring - search issues, analyze errors, explore traces, and get AI-powered root cause analysis
observabilityPlugingreyhaven-ai/claude-code-config31 starsProduction observability tools for monitoring, SLO implementation, alerting, and performance tracking. Includes monitoring setup, SLO configuration, distributed
do-observabilityPluginTheBushidoCollective/han201 starsObservability engineering agents providing expertise in tracing, monitoring, and logging
error-trackingSkillaj-geddes/useful-ai-prompts466 installsSentry-based error tracking that captures exceptions, releases, and performance issues in production.
observability-monitoringPluginwshobson/agents42.9K starsMetrics collection, logging infrastructure, distributed tracing, SLO implementation, and monitoring dashboards