sentry-upgrade-migration

Sentry 升级迁移 - 在升级 Sentry SDK、处理重大变更或从旧版本迁移时使用。触发短语:升级 Sentry、Sentry 迁移、更新 Sentry SDK、Sentry 重大变更。

📖 中文导读:Sentry 升级迁移 - 在升级 Sentry SDK、处理重大变更或从旧版本迁移时使用。触发短语:升级 Sentry、Sentry 迁移、更新 Sentry SDK、Sentry 重大变更。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: sentry-upgrade-migration description: | Execute 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". 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

  1. Check current SDK version with npm list or pip show
  2. Review release notes and changelog for target version
  3. Back up current Sentry configuration file
  4. Update package to target version in non-production first
  5. Run tests to identify breaking changes
  6. Update deprecated APIs following migration guide patterns
  7. Verify error capture works with test error
  8. Verify performance monitoring works with test transaction
  9. Deploy to staging and monitor for issues
  10. 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.

Resources