Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sentry-ops

БесплатноЗапускает вложенные скриптыНе проверен

Add Sentry error reporting so it sends only what you decided to send, and prove it without sending traffic. Use for: Sentry setup, @sentry/* SDK choice…

0xDarkMatterот 0xDarkMatter★ 86 звёзд на GitHub

Об этом скилле

Sentry Operations

Sentry's onboarding is built to get data flowing fast, and its defaults reflect that. This skill covers the decisions those defaults make for you, then shows how to check the result by reading the bytes the SDK would send.

Verified against Sentry JavaScript SDK v11 (2026). Exact versions, dates and measurements are in assets/sentry-facts.json and the references.

Evidence labels used here. Keep them when you repeat a claim: [measured] we, or a real setup we name as such, ran it and saw the result. [code] read from published package code, not run. [docs] Sentry's docs say so. [inferred] reasoned from the above. [open] nobody has checked yet.

Read this first: v11 changed the privacy default

sendDefaultPii was removed in v11 [code: zero occurrences in @sentry/core, @sentry/cloudflare and @sentry/astro 11.10.0]. Older guides still say sendDefaultPii: false. On v11 that line does nothing and raises no error. Unset dataCollection now collects everything [docs: v10-to-v11 migration].

The same request through withSentry, by configuration [measured, SDK 11.10.0 on Node]:

Config What reached the listener
No privacy options Client IP in user, custom headers, full body, query string, cookie names and non-sensitive values, console.log text in breadcrumbs, the error message
dataCollection off + maxBreadcrumbs: 0 Error type, stack, message, URL path. The email in the error message still went out
The above + beforeSend scrub Error type, stack, URL path. Nothing we planted
No DSN Nothing

So set both layers. dataCollection decides what gets collected, and beforeSend handles what your own code put in messages. The built-in denylist matches key names only, so it is best effort [docs]. cf-connecting-ip and our custom header got past it [measured].

Decide before you install

Sentry's snippets are a demo. Treat each default as a question:

Default in the snippets Why it is a decision Sensible start
tracesSampleRate: 1.0 (client and server) Cost: every trace counts against quota. Docs say to lower it in production. Leave it out. 0 still counts as tracing enabled, because the check is != null [code]
browserTracingIntegration() Browser bytes and quota Leave out until you use traces
replayIntegration() at 10% of sessions, 100% on error Records what users do. Text masking and media blocking are on by default [docs], but that is yours to check. Largest byte cost below Leave out. If you add it, keep the masks and update your privacy page
feedbackIntegration() UI and bytes. Sends what the user types Only if you will read it
Client SDK at all Server-only setups don't need it. The wizard's Verify step uses a client-side button, so its page may keep waiting [inferred] Add it only if browser errors matter
Source map upload Sends your source to Sentry and adds a credential to the build Its own decision, see references/credentials-and-source-maps.md

Bytes, as minified / gzipped from a minimal entry with esbuild [measured, 11.10.0]. A real Astro Worker gained about 411 KB raw and 100 KB gzipped, summed per file under dist/server [measured]. Measure your own build before and after:

Bundle Minified Gzipped
Worker with withSentry 171 KB 57 KB
Browser init only 91 KB 32 KB
Browser + Replay 232 KB 77 KB
Browser + Tracing + Replay + Feedback 340 KB 115 KB

Also before installing: Sentry becomes a new data processor, so check your privacy page and any data processing agreement. An organization's US or EU storage region is chosen when it is created and can't be changed afterwards [docs]. Sentry has a project setting to prevent storing IP addresses.

Which SDK

Runtime Package Notes
Plain Cloudflare Worker @sentry/cloudflare withSentry, or its Vite plugin plus instrument.server.ts [docs]
Astro on Workers @sentry/astro + @sentry/cloudflare Official guide exists. Worked case: references/astro-on-workers.md
Cloudflare Pages @sentry/cloudflare sentryPagesPlugin Sentry recommends moving to Workers [docs]
Hono on Workers @sentry/hono [docs] App patterns: hono-ops
Astro on Node @sentry/astro Its main guide is Node-only [docs]
Plain browser @sentry/browser
Node @sentry/node

For anything else, start at docs.sentry.io/platforms. Every doc page has a .md variant, and docs.sentry.io/llms.txt lists them, which is far easier to read than the rendered site. For stack-level detail see astro-ops and cloudflare-ops; for metrics, logs and alerting beyond errors see monitoring-ops.

Worker requirements [docs]: nodejs_compat and compatibility_date of 2024-09-23 or later. withSentry covers fetch, scheduled, email, queue and tail, and `WorkerEntrypoi

Полный SKILL.md на GitHub

Установить sentry-ops в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash
Grep
Glob

Вложенные файлы

assets/scrub-event.mjsassets/sentry-facts.jsonreferences/astro-on-workers.mdreferences/credentials-and-source-maps.mdreferences/privacy-baseline.mdreferences/prove-without-traffic.mdreferences/vetting.mdscripts/check-sentry-facts.pyscripts/envelope-sink.py

FAQ

Что делает скилл sentry-ops?

Add Sentry error reporting so it sends only what you decided to send, and prove it without sending traffic. Use for: Sentry setup, @sentry/* SDK choice, Sentry on Cloudflare Workers or Astro, withSentry, DSN vs auth token, source map upload, tracesSampleRate and Replay defaults, dataCollection, sendDefaultPii removed in v11, beforeSend scrubbing, PII in Sentry events, testing Sentry with a fake DSN, the Sentry wizard or agent plugin.

Как установить скилл sentry-ops?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sentry-ops запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить sentry-ops с