home / skills / jeremylongshore / claude-code-plugins-plus-skills / sentry-deploy-integration
/plugins/saas-packs/sentry-pack/skills/sentry-deploy-integration
This skill helps you configure and monitor Sentry deployment tracking by automating release creation, source map upload, and health insights.
npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill sentry-deploy-integrationReview the files below or copy the command above to add this skill to your agents.
---
name: sentry-deploy-integration
description: |
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".
allowed-tools: Read, Write, Edit, Bash(sentry-cli:*), Grep
version: 1.0.0
license: MIT
author: Jeremy Longshore <[email protected]>
---
# Sentry Deploy Integration
## Prerequisites
- Sentry CLI installed
- `SENTRY_AUTH_TOKEN` configured
- Build pipeline access
- Source maps generated during build
## Instructions
1. Create release using git SHA or semantic version with sentry-cli
2. Upload source maps from build output directory
3. Associate commits using sentry-cli releases set-commits --auto
4. Finalize the release to mark it complete
5. Deploy application to target environment
6. Notify Sentry of deployment with environment and timestamps
7. Enable session tracking for release health metrics
8. Configure environment-specific sample rates
9. Set up rollback tracking to record version changes
10. 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.
## Resources
- [Sentry Releases](https://docs.sentry.io/product/releases/)
- [Release Health](https://docs.sentry.io/product/releases/health/)
This skill integrates deployment tracking and release health into Sentry to link errors with specific releases. It automates release creation, source map uploads, commit association, deployment notifications, and enables release health metrics. Use it to get clear visibility into which deployments introduced regressions and to monitor session and error trends by release.
The skill uses Sentry CLI workflows to create a release (by git SHA or semantic version), upload build artifacts like source maps, and associate commits automatically. After finalizing the release, it notifies Sentry of deployments with environment and timestamp metadata and enables session tracking and sampling to collect release health metrics. Outputs include created releases, uploaded source maps, deployment events, and aggregated health stats on the Sentry dashboard.
What do I need before integrating this skill?
You need Sentry CLI installed, a configured SENTRY_AUTH_TOKEN, access to your build artifacts (source maps), and CI/CD pipeline access to run release steps.
How do I ensure source maps are useful?
Generate source maps during the build with correct path mappings, upload them for the exact release version, and verify stack frames are deobfuscated in Sentry.