
Sentry Sdk Upgrade
Handles Sentry JavaScript SDK major version upgrades (v7 to v8, v8 to v9, etc.) by detecting your current setup, identifying deprecated patterns, and walking you through the migration file by file. It scans for framework type, finds config files, and applies both mechanical fixes (import renames, method swaps) and context-aware migrations (hub removal, performance API changes). The four-phase approach is thorough: detect current state, recommend a migration path with breaking changes categorized by complexity, guide through each change with explanations, then verify the build works. Useful when you've bumped Sentry versions and hit breaking changes, or when you're ready to modernize but dreading the migration docs. Beats manually cross-referencing changelogs across multiple major versions.
- skills.sh installs
- 3.2K
- GitHub stars
- 277
- last updated
- Aug 21, 2026
Install
$ npx -y skills add getsentry/sentry-for-ai --skill sentry-sdk-upgrade --agent claude-codeInstalls into .claude/skills of the current project.
Files
All Skills > Workflow > SDK Upgrade
Sentry JavaScript SDK Upgrade
Upgrade the Sentry JavaScript SDK across major versions with AI-guided migration.
Invoke This Skill When
- User asks to "upgrade Sentry" or "migrate Sentry SDK"
- User mentions deprecated Sentry APIs or breaking changes after a version bump
- User wants to move from v7 to v8, v8 to v9, or any major version jump
- User encounters errors after updating
@sentry/*package versions - User asks about Sentry migration guides or changelogs
Phase 1: Detect
Identify the current Sentry SDK version, target version, and framework.
1.1 Read package.json
cat package.json | grep -E '"@sentry/' | head -20
Extract:
- All
@sentry/*packages and their current versions - The current major version (e.g.,
7.x,8.x,9.x)
1.2 Detect Framework
Check package.json dependencies for framework indicators:
Sponsors
Details
- Repository
- github.com/getsentry/sentry-for-ai
- Categories
- Release Management, Debugging
- First seen
- Apr 16, 2026
More from getsentry/sentry-for-ai
All 31- Sentry Setup Ai Monitoring3K
- Sentry Browser Sdk3K
- Sentry Feature Setup2.9K
- Sentry Cloudflare Sdk2.7K
- Sentry Python Sdk2.6K
- Sentry Nestjs Sdk2.6K
- Sentry Code Review2.5K
- Sentry Sdk Skill Creator2.5K
- Sentry Otel Exporter Setup2.5K
- Sentry Android Sdk2.4K
- Sentry Dotnet Sdk2.3K
- Sentry Php Sdk2.3K
- Sentry Flutter Sdk2.3K
- Sentry Pr Code Review2.3K
- Sentry Go Sdk2.3K
- Sentry Svelte Sdk2.2K
- Sentry Ruby Sdk2.2K
- Sentry Elixir Sdk2.1K
- Sentry Tanstack Start Sdk2K
- Sentry React Router Framework Sdk1.9K
- Sentry Instrumentation Guide1.2K
- Sentry Fix Issues10.4K
- Sentry Create Alert4.2K
- Sentry React Native Sdk4.2K