sentry-upgrade-migration
Upgrade Sentry SDK and migrate between versions.Use when upgrading Sentry SDK, handling breaking changes,or migrating from legacy versions.Trigger with phrases like "upgrade sentry", "sentry migration","update sentry sdk", "sentry breaking changes".
When & Why to Use This Skill
This Claude skill automates the complex process of upgrading and migrating Sentry SDKs across various platforms. It streamlines dependency management by identifying current versions, analyzing changelogs for breaking changes, and systematically updating deprecated APIs to ensure uninterrupted error tracking and performance monitoring.
Use Cases
- Major Version Migration: Seamlessly transition from legacy Sentry versions to the latest releases by automating the identification and resolution of breaking changes and configuration updates.
- API Modernization: Automatically detect and replace deprecated Sentry API patterns with updated methods as prescribed by official migration guides, reducing manual code review time.
- Continuous Dependency Maintenance: Keep software projects secure and feature-rich by regularly updating Sentry SDKs and verifying configuration integrity across different environments.
- Automated Post-Upgrade Verification: Execute systematic checks to ensure that error reporting and performance transactions are correctly captured and transmitted after an SDK update.
| name | sentry-upgrade-migration |
|---|---|
| description | | |
| allowed-tools | Read, Write, Edit, Bash(npm:*), Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Sentry Upgrade Migration
Prerequisites
- Current Sentry SDK version identified
- Target version changelog reviewed
- Non-production environment for testing
- Test suite for error capture and performance monitoring
Instructions
- Check current SDK version with npm list or pip show
- Review release notes and changelog for target version
- Back up current Sentry configuration file
- Update package to target version in non-production first
- Run tests to identify breaking changes
- Update deprecated APIs following migration guide patterns
- Verify error capture works with test error
- Verify performance monitoring works with test transaction
- Deploy to staging and monitor for issues
- Deploy to production after staging validation
Output
- SDK upgraded to target version
- Breaking changes resolved
- Code updated for new APIs
- Error capture verified working
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.