Sentry/sentry-svelte-sdk — Agent Skills | officialskills.sh
Back to skills

sentry-svelte-sdk

Full Sentry SDK setup for Svelte and SvelteKit — error monitoring, tracing, session replay, and logging.

Setup & Installation

npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-svelte-sdk
or paste the link and ask your coding assistant to install it
https://github.com/getsentry/sentry-for-ai/tree/main/skills/sentry-svelte-sdk
View on GitHub

What This Skill Does

Full Sentry SDK setup for Svelte and SvelteKit. Use when asked to add Sentry to Svelte, add Sentry to SvelteKit, install @sentry/sveltekit, or configure error monitoring, tracing, session replay, or logging for Svelte or SvelteKit applications.

Handles SvelteKit's SSR + client split in one consistent setup so both sides of the app are instrumented correctly.

When to use it

  • Adding @sentry/sveltekit to a SvelteKit app
  • Enabling session replay on a Svelte frontend
  • Wiring tracing into SvelteKit endpoints
  • Capturing errors from hooks and load functions
  • Standardizing Sentry config across Svelte projects