# sentry-wasp-drone

The sentry-wasp-drone subagent configures Sentry for SvelteKit projects on Vercel, covering SDK hooks, source maps, tracing, and Session Replay. Use it when working on error monitoring or event-quota controls.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 96 repo stars
- Author: Legion Code Inc.
- License: AGPL-3.0-or-later · policy=link-only · description only; the file stays with the author
- Source: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/platform-and-release-tools/agents/sentry-wasp-drone.md
- Updated: 2026-10-18
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/sentry-wasp-drone

## What it does

The subagent handles the Sentry client and server SDK through `hooks.client.ts` and `hooks.server.ts`, Vite-based source map uploads, and release-to-commit links. It also covers tracing sample rates, Session Replay privacy settings, issue alerts, and event-quota controls.

Check the runtime before wiring the hooks: Sentry’s SvelteKit SDK does not support Vercel Edge runtime, so the app needs the Node.js Lambda runtime. For source maps, the subagent checks Vite configuration and environment forwarding in a monorepo. Turborepo v2+ does not forward environment variables into task hashes by default, which can explain a missing-token build error.

It can implement PII scrubbing, but app-specific decisions about what counts as sensitive belong to the security subagent. General Vercel build and CI/CD design also falls outside this agent’s scope.

## Requirements
- Works with: Sentry

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add legioncodeinc/vibe-coding-tools
```
In the agent chat (not a shell):
```text
/plugin install platform-and-release-tools@wasp-nest
```

2. **Manually: put the files in place**
- File: `.claude/agents/sentry-wasp-drone.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/sentry-wasp-drone.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/sentry-wasp-drone.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/platform-and-release-tools/agents/sentry-wasp-drone.md

## When to use it
- connect Sentry’s client and server SDK to a SvelteKit app
- configure source map uploads and link releases to commits
- set a tracing sample rate for performance monitoring
- enable Session Replay with data-masking settings
- adjust issue alerts and event-quota controls

## Example prompts
- Set up Sentry in my SvelteKit project and check `hooks.client.ts` and `hooks.server.ts`.
- Configure source map uploads for my Vercel build and inspect token forwarding in the monorepo.
- Help me enable Session Replay with masking and choose a tracing sample rate.

## Similar
- [sentry-nextjs-sdk](https://affpapa.org/en/nevibecode/skills/sentry-nextjs-sdk.md) — skill · 3800 installs
- [sentry-react-sdk](https://affpapa.org/en/nevibecode/skills/sentry-react-sdk.md) — skill · 3300 installs
- [llm-sentry-geo-marketing](https://affpapa.org/en/nevibecode/skills/llm-sentry-geo-marketing.md) — skill · 891 installs
- [pp-sentry](https://affpapa.org/en/nevibecode/skills/pp-sentry.md) — skill · 281 installs
- [sentry](https://affpapa.org/en/nevibecode/skills/mitsuhiko-sentry.md) — skill · 136 installs
- [sentry-prod-checklist](https://affpapa.org/en/nevibecode/skills/sentry-prod-checklist.md) — skill · 1 install

From the same set: [legioncodeinc/vibe-coding-tools](https://affpapa.org/en/nevibecode/by/legioncodeinc/vibe-coding-tools.md) — 172 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
