sentry-deploy-integration
Track deployments and releases in Sentry.Use when configuring deployment tracking, release health,or connecting deployments to error data.Trigger with phrases like "sentry deploy tracking", "sentry release health","track deployments sentry", "sentry deployment notification".
When & Why to Use This Skill
The Sentry Deploy Integration skill for Claude streamlines the DevOps workflow by automating deployment tracking and release management. By leveraging the Sentry CLI, it enables developers to connect deployments directly to error data, monitor release health in real-time, and automate source map uploads. This integration is essential for maintaining high software quality and reducing Mean Time to Resolution (MTTR) by providing immediate visibility into how new code changes impact application stability.
Use Cases
- Automated Release Tracking: Automatically create, finalize, and notify Sentry of new releases during the CI/CD pipeline to maintain an accurate deployment history.
- Root Cause Analysis: Link specific commits and deployments to error reports, allowing developers to instantly identify which code change introduced a regression.
- Release Health Monitoring: Track session metrics and crash-free rates for new versions to determine if a rollback is necessary based on real-time stability data.
- Source Map Management: Simplify the debugging of minified production code by automating the upload and linking of source maps to specific releases.
- Environment-Specific Observability: Configure and monitor deployments across different environments (e.g., staging, production) with tailored sampling rates and rollback tracking.
| name | sentry-deploy-integration |
|---|---|
| description | | |
| allowed-tools | Read, Write, Edit, Bash(sentry-cli:*), Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Sentry Deploy Integration
Prerequisites
- Sentry CLI installed
SENTRY_AUTH_TOKENconfigured- Build pipeline access
- Source maps generated during build
Instructions
- Create release using git SHA or semantic version with sentry-cli
- Upload source maps from build output directory
- Associate commits using sentry-cli releases set-commits --auto
- Finalize the release to mark it complete
- Deploy application to target environment
- Notify Sentry of deployment with environment and timestamps
- Enable session tracking for release health metrics
- Configure environment-specific sample rates
- Set up rollback tracking to record version changes
- Use Sentry dashboard to compare releases and monitor health
Output
- Releases created for each deployment
- Source maps uploaded and linked
- Deployment notifications sent
- Release health metrics tracked
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.