skills/sentry-get-started/SKILL.md
Guided entry point for using Sentry through your agent. Orients you to your current setup and, for a new project, sets up Sentry end to end with sane defaults — provision a project, install the SDK (errors, tracing, and whatever it enables by default), and confirm real telemetry reaches Sentry. Routes other intents (adding more signals, fixing issues) to the right skill.
npx skillsauth add getsentry/sentry-for-ai sentry-get-startedInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The one place to start with Sentry in your agent. Orient the user, then either run first-error setup yourself (new project) or route them to other available Sentry skills.
Guiding rules:
AskUserQuestion) rather than a markdown list.Say this first (short and friendly — a few sentences, not a lecture). Lead with what Sentry is, then transition into orienting:
Sentry is an application monitoring platform. It captures errors and crashes from your code and ties each one to the release, request, and exact line that caused it — so you spend less time reproducing bugs and more time fixing them. Beyond errors it does tracing & performance, logs, metrics, profiling, session replay, cron monitoring, and AI/LLM monitoring — plus Seer, its AI debugging agent. Right here in your agent I can set most of this up in your code and confirm it's actually working end to end — and once it's running, investigate errors, dig into performance problems, read your logs, and pull whatever Sentry telemetry we need to keep your software healthy.
Let me take a quick look at your project and Sentry setup…
Avoid mentioning that you're "orienting" yourself — that's clear from the prose above.
Then gather three cheap signals (don't over-investigate):
whoami / find_organizations.@sentry, sentry-sdk, sentry_sdk, or a DSN.find_projects (also confirms auth).Don't assume it's just disconnected — they may have no account. Ask with your interactive prompt:
Don't show a menu, and don't ask which signals they want — set sane defaults for them. Confirming one real error in Sentry is the job that matters until it works.
Run references/first-error-setup.md end to end — it's the
shared spine: detect the platform, provision a project, install the SDK with sane defaults (errors,
tracing, and whatever the SDK turns on by default), verify a real error lands, work the user toward
production, and confirm production stack traces will be readable. You'll also
want to immediately read references/sdks/index.md and
references/concepts/errors.md so you have the catalog and the
baseline-signal context in hand before you start.
When it's done, surface other options — chiefly the sentry-instrument skill to add more
telemetry (logging, profiling, session replay, crons, …), and releases so issues tie to the deploy
that introduced them. As in the existing-user path, only name a skill you've confirmed is available in your harness's
skill list; otherwise offer the docs fallback. Don't auto-run them.
Skip first-error setup. This skill routes — so before you offer a skill, check it's actually available in your harness's skill/command list. If the target skill is installed, hand off to it; if it isn't, don't pretend — fall back to the honest docs offer below. Present the relevant options with your interactive prompt; the user can also just say what they want:
sentry-instrument skill.sentry-instrument skill.sentry-debug-issue skill.The goal is for the agent to do anything you'd do in the Sentry web UI. Some of that isn't built yet. When a user asks for something the agent can't do end to end, say so plainly and offer the best fallback: "I can't set this up directly yet, but I can read through the Sentry docs to help you get it done." Never silently pretend it's a UI-only task.
For a new project: references/first-error-setup.md has been run
to completion — SDK installed with sane defaults (errors + tracing), a real error from the running
app confirmed in Sentry (its title, error message, and issue URL surfaced to the user), the user
worked toward getting it into production (with their consent — no deploy without it), and production
stack-trace quality addressed. A local-only setup isn't the finish line. For an existing
user: they've been routed to the right skill,
or honestly told what isn't built yet and offered the docs fallback.
development
Set up Sentry releases and deploy tracking — tag events with a version and environment, create the release in CI with its commits, and wire up suspect commits and code mappings, so Sentry can show which release introduced an issue, which commit is responsible, and release health. Use when asked to set up releases, track deploys, see what changed, or when issues show an unknown release or no suspect commit.
development
Make Sentry stack traces readable — upload source maps for JavaScript/TypeScript, or debug files for native and mobile (dSYM, ProGuard/R8, NDK symbols, Dart obfuscation maps, .NET PDBs). Use when frames in Sentry show minified names, bundled paths, hex addresses, "unknown", or method names with no file/line, instead of your original source.
development
Setup Sentry AI Agent Monitoring in any project. Use when asked to monitor LLM calls, track AI agents, track conversations, or instrument OpenAI/Anthropic/Vercel AI/LangChain/Google GenAI/Pydantic AI/Laravel AI. Detects installed AI SDKs and configures appropriate integrations.
development
Upgrade the Sentry JavaScript SDK across major versions. Use when asked to upgrade Sentry, migrate to a newer version, fix deprecated Sentry APIs, or resolve breaking changes after a Sentry version bump.