sentry-sdk-upgrade

Upgrade Sentry JavaScript SDKs across major versions with migration steps.

Updated Jun 4, 2026
One-click install
npx skills add https://github.com/achmf/KostaHub --skill sentry-sdk-upgrade-achmf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-sdk-upgrade
Source: https://github.com/achmf/KostaHub/tree/main/.agents/skills/sentry-sdk-upgrade
Command: npx skills add https://github.com/achmf/KostaHub --skill sentry-sdk-upgrade-achmf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the complex, error-prone process of upgrading Sentry JavaScript SDKs across major versions, ensuring your error tracking remains functional while adopting the latest performance and stability improvements.

Core Features & Use Cases

  • Automated Migration Path: Identifies current SDK versions and calculates the necessary steps for single or multi-hop migrations (e.g., v7 to v9).
  • Codebase Analysis: Scans your project for deprecated Sentry APIs, removed packages, and framework-specific configuration patterns.
  • Use Case: When your team needs to move from Sentry v7 to v9, this Skill identifies all deprecated imports, suggests the new OpenTelemetry-based span APIs, and validates the final build to ensure no monitoring gaps.

Quick Start

Invoke the sentry-sdk-upgrade skill to analyze your current project dependencies and begin the migration process to the latest major version.

Frequently Asked Questions about sentry-sdk-upgrade

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade my Sentry JavaScript SDK across major versions?

Upgrading your Sentry JavaScript SDK involves detecting current package versions, scanning source code for deprecated APIs, and following guided migration steps while validating build integrity and verifying event capture.

What deprecated Sentry APIs do I need to fix when migrating from v7 to v9?

When migrating from v7 to v9, this process identifies all deprecated imports and suggests replacing removed packages with the new OpenTelemetry-based span APIs to maintain your error tracking functionality.

Can I migrate Sentry SDKs in TypeScript projects with framework-specific configurations?

Yes, you can migrate Sentry SDKs in TypeScript projects because the process analyzes source code to detect framework-specific configuration patterns and validates build integrity to ensure project compatibility.

What is the best way to ensure no monitoring gaps after a Sentry SDK upgrade?

The best way to prevent monitoring gaps after a Sentry SDK upgrade is to validate build integrity and verify Sentry event capture, ensuring your error tracking remains fully functional with the latest improvements.

Does upgrading Sentry SDKs support multi-hop migrations like jumping from v7 to v9?

Yes, upgrading Sentry SDKs supports multi-hop migrations by identifying current SDK versions and calculating the necessary intermediate steps to safely transition your project across multiple major versions.