
Sentry Svelte Sdk
This walks Claude through installing and configuring Sentry's error monitoring, tracing, session replay, and logging in Svelte and SvelteKit projects. It detects your framework version (SvelteKit 2.31+ uses the modern instrumentation.server.ts pattern, older versions init in hooks.server.ts), checks existing setup, then offers either the interactive wizard or manual file-by-file instructions across five to six files including hooks, Vite config, and source map upload. The wizard is faster but requires you to run it yourself since it opens a browser. Manual setup gives you full control over sample rates and PII settings. It also checks for backend directories and suggests cross-SDK setup if you're running Go, Python, or Ruby services alongside your frontend.
- skills.sh installs
- 2.2K
- GitHub stars
- 277
- last updated
- Aug 21, 2026
Install
$ npx -y skills add getsentry/sentry-for-ai --skill sentry-svelte-sdk --agent claude-codeInstalls into .claude/skills of the current project.
Files
All Skills > SDK Setup > Svelte SDK
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
Sponsors
Details
- Repository
- github.com/getsentry/sentry-for-ai
- Categories
- Frontend Development, DevOps & CI/CD, Debugging
- First seen
- May 16, 2026
More from getsentry/sentry-for-ai
All 31- Sentry Ruby Sdk2.2K
- Sentry Elixir Sdk2.1K
- Sentry Tanstack Start Sdk2K
- Sentry React Router Framework Sdk1.9K
- Sentry Instrumentation Guide1.2K
- Sentry Fix Issues10.4K
- Sentry Create Alert4.2K
- Sentry React Native Sdk4.2K
- Sentry Nextjs Sdk3.7K
- Sentry Sdk Setup3.7K
- Sentry Workflow3.6K
- Sentry Cocoa Sdk3.6K
- Sentry Node Sdk3.4K
- Sentry React Sdk3.2K
- Sentry Sdk Upgrade3.2K
- Sentry Setup Ai Monitoring3K
- Sentry Browser Sdk3K
- Sentry Feature Setup2.9K
- Sentry Cloudflare Sdk2.7K
- Sentry Python Sdk2.6K
- Sentry Nestjs Sdk2.6K
- Sentry Code Review2.5K
- Sentry Sdk Skill Creator2.5K
- Sentry Otel Exporter Setup2.5K