sentry-policy-guardrailsClaude Skill

Implement governance and policy guardrails for Sentry.

1.4k Stars
173 Forks
2025/10/10

Install & Download

Linux / macOS:

请登录后查看安装命令

Windows (PowerShell):

请登录后查看安装命令

Download and extract to ~/.claude/skills/

namesentry-policy-guardrails
descriptionImplement governance and policy guardrails for Sentry. Use when enforcing organizational standards, compliance rules, or standardizing Sentry usage across teams. Trigger with phrases like "sentry governance", "sentry standards", "sentry policy", "enforce sentry configuration".
allowed-toolsRead, Write, Edit, Grep
version1.0.0
licenseMIT
authorJeremy Longshore <jeremy@intentsolutions.io>

Sentry Policy Guardrails

Prerequisites

  • Organization-wide standards documented
  • Team structure defined
  • Compliance requirements identified
  • Shared configuration package repository

Instructions

  1. Create shared Sentry configuration package with organization defaults
  2. Define enforced settings that cannot be overridden (sendDefaultPii, sample rates)
  3. Implement mandatory PII scrubbing in beforeSend hook
  4. Add environment enforcement to block test data in production
  5. Create standard alert policy templates with required rules
  6. Implement project naming validation following team-service-environment pattern
  7. Build configuration audit script to check compliance across projects
  8. Set up compliance dashboard with metrics reporting
  9. Document policy requirements and share with all teams
  10. Enforce shared config package usage in CI/CD pipelines

Output

  • Shared Sentry configuration package
  • Enforced organization defaults
  • Alert policy templates
  • Project naming validation
  • Compliance audit reports

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Examples

See {baseDir}/references/examples.md for detailed examples.

Resources

Similar Claude Skills & Agent Workflows