getsentry avatar

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-code

Installs 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
1hashicorp avatarpush-to-registryhashicorp/agent-skillsPush Packer build metadata to HCP Packer registry for tracking and managing image lifecycle. Use when integrating Packer builds with HCP Packer for version cont3.1Kskills.sh installs
2openclaw avatarautoreviewopenclaw/agent-skillsRun a structured code review (Codex default, optional Claude, Pi, Droid, Copilot, or OpenCode) as a closeout check on a local or PR branch before commit or ship3.1Kskills.sh installs
3himself65 avataryc-readerhimself65/finance-skillsLook up Y Combinator companies, batches, and startup ecosystem data using the yc-oss API (read-only). Use this skill whenever the user wants to research YC-back3.1Kskills.sh installs
4phuryn avatarab-test-analysisphuryn/pm-skillsAnalyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating 3Kskills.sh installs
5nexu-io avatarshadcn-uinexu-io/open-designBuild UI components with shadcn/ui. Pairs with the Stitch design loop to ship structured, accessible components quickly.3Kskills.sh installs
6forcedotcom avatardeploying-metadataforcedotcom/sf-skillsSalesforce DevOps automation using sf CLI v2. TRIGGER when: user deploys metadata, creates/manages scratch orgs or sandboxes, sets up CI/CD pipelines, or troubl3Kskills.sh installs