New advertisers: 50% off your first month with code FIRSTMONTHSee slots
getsentry avatar

Sentry Sdk Setup

Router skill that detects a project's platform and points to the matching Sentry SDK skill.

skills.sh installs
3.8K
GitHub stars
280
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the setup flow: detect the platform from project files, report the recommendation, and wait for user confirmation
  • Maps 19 platforms and frameworks to specific SDK skills, with a priority order for overlapping matches like Next.js over React
  • Includes a keyword lookup table and guidance for locating the public DSN in Sentry project settings
  • Designed for agents handling requests to add Sentry, install an SDK, or set up error monitoring in a project

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-sdk-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

All Skills

Sentry SDK Setup

Set up Sentry error monitoring, tracing, and session replay in any language or framework. This page helps you find the right SDK skill for your project.

Start Here — Read This Before Doing Anything

Do not skip this section. Do not assume which SDK the user needs based on their project files. Do not start installing packages or creating config files until you have confirmed the user's intent.

  1. Detect the platform from project files (package.json, go.mod, requirements.txt, Gemfile, *.csproj, build.gradle, etc.).
  2. Tell the user what you found and which SDK you recommend.
  3. Wait for confirmation before reading the skill and proceeding.

Each SDK skill contains its own detection logic, prerequisites, and step-by-step configuration. Trust the skill — read it carefully and follow it. Do not improvise or take shortcuts.


SDK Skills

Details

Repository
github.com/getsentry/sentry-for-ai
Category
Debugging
First seen
Apr 16, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry Sdk Setup

More Debugging