Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: helixdevelopment-helixagent-sentry-multi-env-setup3description: Sentry Multi Env Setup4---56# Sentry Multi Env Setup78## Prerequisites910- Environment naming convention defined11- DSN management strategy12- Sample rate requirements per environment13- Alert routing per environment1415## Instructions16171. Set environment option in SDK init to match deployment target182. Configure environment-specific sample rates (100% dev, 10% prod)193. Choose project structure (single with environments vs separate projects)204. Set up separate DSNs per environment in environment variables215. Implement conditional DSN loading to disable in development226. Add environment context and tags in beforeSend hook237. Configure environment filters in Sentry dashboard248. Create production-only alert rules with appropriate conditions259. Set up lower-priority staging alerts for development feedback2610. Document environment configuration and best practices for team2728## Output29- Environment-specific Sentry configuration30- Separate or shared projects configured31- Environment-based alert rules32- Sample rates optimized per environment3334## Error Handling3536See `{baseDir}/references/errors.md` for comprehensive error handling.3738## Examples3940See `{baseDir}/references/examples.md` for detailed examples.4142## Resources43- [Sentry Environments](https://docs.sentry.io/product/sentry-basics/environments/)44- [Filtering Events](https://docs.sentry.io/platforms/javascript/configuration/filtering/)4546---47> Converted and distributed by [TomeVault](https://tomevault.io/claim/helixdevelopment) — claim your Tome and manage your conversions.48<!-- tomevault:4.0:skill_md:2026-04-15 -->
Run npx skillmds@latest add tomevault-io/helixdevelopment-helixagent-sentry-multi-env-setup in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Sentry Multi Env Setup It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.