Back to Skills

sentry-multi-env-setup

Configure Sentry across multiple environments.Use when setting up Sentry for dev/staging/production,managing environment-specific configurations, or isolating data.Trigger with phrases like "sentry environments", "sentry staging setup","multi-environment sentry", "sentry dev vs prod".

1,307stars156forksUpdated 2/9/2026

Security Assessment

Safe(100/100)
Security Score100/100

About sentry-multi-env-setup

The 'sentry-multi-env-setup' skill is designed to assist in configuring Sentry across multiple environments, such as development, staging, and production. It addresses the challenge of managing environment-specific configurations, isolating data, and ensuring that error tracking is properly configured for each environment. This setup is essential for projects that have different behaviors in various stages of development, enabling better data segregation and more accurate monitoring. It allows for controlled error tracking based on environment, ensuring that dev, staging, and production errors are properly routed and handled.

FAQ

How do I configure Sentry for multiple environments?

You can configure Sentry for multiple environments by setting the environment option in the SDK initialization to match the target deployment, setting environment-specific sample rates, and choosing between using a single project with multiple environments or separate projects for each environment.

Is there a specific environment naming convention I need to follow?

Yes, you need to define a consistent environment naming convention as a prerequisite for using this skill to ensure proper configuration and error handling across environments.

What are the sample rates for different environments?

The sample rate should be set to 100% for development, and typically 10% for production. This allows for detailed monitoring in development while keeping production data sampling more manageable.

Does this skill work with both shared and separate Sentry projects?

Yes, this skill supports both configurations. You can either use a single project with multiple environments or set up separate projects for each environment, depending on your preference.

Are there any specific alert routing configurations required?

Yes, you should configure environment-specific alert routing. For example, production alerts should have higher priority, while staging alerts can be set with lower priority to provide feedback during development.

Install sentry-multi-env-setup

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill