界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

sentry-policy-guardrails

sentry-policy-guardrails

【效率与协作】Implement 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".

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: sentry-policy-guardrails description: | Implement 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-tools: Read, Write, Edit, Grep version: 1.0.0 license: MIT author: Jeremy 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

我的收藏