
Sentry Svelte Sdk
This is the setup wizard you want when adding Sentry to a Svelte or SvelteKit project. It detects your framework version, scans your package.json and file structure, then walks you through the full installation with error monitoring, tracing, session replay, and optional logging. The skill handles both modern SvelteKit setups (with instrumentation.server.ts) and legacy versions, configures client and server hooks correctly, and sets up source map uploads via Vite. It even checks for adjacent backend directories to suggest cross-service tracing. The phase-based approach (detect, recommend, guide) means you get concrete next steps instead of vague questions, and it knows when to skip install if Sentry is already present.
- skills.sh installs
- 319
- GitHub stars
- 25
- last updated
- Aug 21, 2026
Install
$ npx -y skills add getsentry/sentry-agent-skills --skill sentry-svelte-sdk --agent claude-codeInstalls into .claude/skills of the current project.
Files
Sentry Svelte SDK
Opinionated wizard that scans your project and guides you through complete Sentry setup for Svelte and SvelteKit.
Invoke This Skill When
- User asks to "add Sentry to Svelte" or "set up Sentry" in a Svelte/SvelteKit app
- User wants error monitoring, tracing, session replay, or logging in Svelte or SvelteKit
- User mentions
@sentry/svelte,@sentry/sveltekit, or Sentry SDK for Svelte
Note: SDK versions and APIs below reflect current Sentry docs at time of writing (
@sentry/sveltekit≥10.8.0, SvelteKit ≥2.31.0). Always verify against docs.sentry.io/platforms/javascript/guides/sveltekit/ before implementing.
Phase 1: Detect
Run these commands to understand the project before making any recommendations:
# Detect framework type
cat package.json | grep -E '"svelte"|"@sveltejs/kit"|"@sentry/svelte"|"@sentry/sveltekit"'
# Check for SvelteKit indicators
ls svelte.config.js svelte.config.ts vite.config.ts vite.config.js 2>/dev/null
# Check SvelteKit version (determines which setup pattern to use)
cat package.json | grep '"@sveltejs/kit"'
Sponsors
Details
- Repository
- github.com/getsentry/sentry-agent-skills
- Categories
- Frontend Development, DevOps & CI/CD, AI & Agent Building, Debugging
- First seen
- Jun 3, 2026
More from getsentry/sentry-agent-skills
All 20- Sentry Ruby Sdk311
- Sentry Otel Exporter Setup304
- Sentry Dotnet Sdk303
- Sentry Setup Logging289
- Sentry Setup Tracing253
- Sentry Setup Metrics209
- Sentry React Native Setup150
- Sentry Fix Issues2.6K
- Sentry React Setup1.1K
- Sentry Setup Ai Monitoring900
- Sentry Nextjs Sdk665
- Sentry Pr Code Review637
- Sentry Create Alert596
- Sentry React Sdk586
- Sentry React Native Sdk549
- Sentry Sdk Skill Creator422
- Sentry Python Sdk384
- Sentry Cocoa Sdk334
- Sentry Go Sdk321