Agent skill · software engineering · jeremylongshore
sentry-multi-env-setup
Configure Sentry across development, staging, and production environments
Why this skill is useful
Adds environment-specific Sentry configuration patterns and scripts that the AI wouldn't reliably generate on its own.
What it needs
Requires @sentry/node, sentry-sdk installed locally. Requires sentry account access. About 7k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
Sentry Multi-Environment Setup Overview Configure Sentry to run across development, staging, and production with isolated DSNs, tuned sample rates, environment-aware alert routing, and dashboard filtering. Covers @sentry/node v8+ (TypeScript) and sentry-sdk v2+ (Python), targeting sentry.io or self-hosted Sentry 24.1+. The goal is to capture everything in dev, validate in staging, and protect production with tight sampling and PII scrubbing. Prerequisites Sentry organization at sentry.io with at least one project created @sentry/node v8+ installed (npm install @sentry/node) or sentry-sdk v2+ (pip install sentry-sdk) Environment naming convention agreed upon (this guide uses development, staging, production) DSN strategy decided: single project with environment tags or separate projects per environment (see project-structure-options.md) .env file management tooling (dotenv, direnv, or platform-native env config) Instructions Step 1 — Create Environment-Aware SDK Configuration with Separate DSNs Each environment gets its own DSN pointing to a dedicated Sentry project. This prevents dev noise from inflating production quotas and allows independent rate limits per environment. Set up .env files per environment: TypeScript — environment-aware init with typed config: Python — equivalent multi-environment init: Step 2 — Configure Per-Environment Alert Rules and Dashboard Filtering Alert routing prevents dev noise from waking on-call engineers. Each environment gets alert rules matching its severity tier. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/sentry-multi-env-setup--238cf9