Back to Skills

sentry-sdk-setup

Set up Sentry in any language or framework. Detects the user's platform and loads the right SDK skill. Use when asked to add Sentry, install an SDK, or set up error monitoring in a project.

218stars27forksUpdated 6/18/2026

Security Assessment

Safe(100/100)
Security Score100/100

About sentry-sdk-setup

The sentry-sdk-setup skill is a router skill that streamlines the process of integrating Sentry error monitoring, tracing, and session replay into any software project. It acts as an intelligent guide that detects your project's platform and language, then directs you to the appropriate Sentry SDK installation skill. Rather than manually searching through documentation or guessing which SDK to use, this skill analyzes your project files (such as package.json, go.mod, requirements.txt, or build.gradle) and recommends the correct SDK for your stack.

This skill provides access to 18 different platform-specific SDK setup guides, covering ecosystems from web frameworks like Next.js, React, and Svelte to mobile platforms like Android, iOS, and React Native, as well as backend languages including Python, Go, Ruby, PHP, and .NET. Each referenced SDK skill contains detailed detection logic, prerequisites, and step-by-step configuration instructions. The skill emphasizes a confirmation-first workflow: it identifies your platform, presents its recommendation, and waits for your approval before proceeding with any installation or configuration steps.

This skill is ideal for developers adding error monitoring to new or existing projects, teams standardizing on Sentry across multiple codebases, and anyone who wants guided, platform-aware SDK setup rather than manually following generic documentation. By using curl to fetch the appropriate SDK skill (typically 10-20 KB files), you get complete, accurate instructions without the information loss that often occurs when tools attempt to summarize documentation. The skill includes platform detection priority rules to handle ambiguous cases, such as preferring Android-specific setup over generic Node.js when Android build files are present.

FAQ

How does the skill determine which SDK I need?

The skill analyzes your project files such as package.json, go.mod, requirements.txt, Gemfile, .csproj, build.gradle, and wrangler.toml to detect your platform and language. It then recommends the most appropriate SDK and waits for your confirmation before proceeding with setup.

What if my project could match multiple SDKs?

The skill follows platform detection priority rules to select the most specific SDK. For example, if it finds Android build files, it will prefer sentry-android-sdk over sentry-node-sdk. If you have NestJS dependencies, it will recommend sentry-nestjs-sdk instead of the generic Node.js SDK.

Why does the skill use curl to fetch SDK instructions?

SDK skill files are 10-20 KB and contain complete, detailed instructions. Using curl ensures you get the full, accurate documentation without information loss that can occur when tools attempt to summarize or paraphrase content. This guarantees you have all prerequisites, configuration steps, and platform-specific details.

Can I use this skill for mobile app development?

Yes, the skill supports mobile platforms including Android, iOS and other Apple platforms (macOS, tvOS, watchOS, visionOS), React Native, Expo, and Flutter/Dart applications. It will detect your mobile project structure and guide you to the appropriate SDK setup.

What Sentry features can I set up with these skills?

The SDK skills help you configure error monitoring, performance tracing, and session replay capabilities in Sentry. Each platform-specific skill includes instructions tailored to that platform's integration requirements and best practices.

Install sentry-sdk-setup

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill