技能 编程开发 Sentry 生产部署清单

Sentry 生产部署清单

v20260311
sentry-prod-checklist
围绕 Sentry 的生产部署准备制定检查清单,包含配置 DSN、区分环境、生成与上传 source map、发布关联、告警规则与验证测试,确保上线前配置安全与错误捕获正常。
获取技能
238 次下载
概览

Sentry Prod Checklist

Prerequisites

  • Sentry account with project created
  • Production DSN separate from development/staging
  • Build pipeline with source map generation
  • sentry-cli installed and configured with auth token

Instructions

  1. Configure production DSN via environment variables (never hardcode)
  2. Set environment to "production" and configure release version
  3. Generate source maps during build process
  4. Upload source maps using sentry-cli releases commands
  5. Verify security settings (sendDefaultPii: false, debug: false)
  6. Configure appropriate sample rates for production volume
  7. Set up alert rules with team notification channels
  8. Connect source control and issue tracker integrations
  9. Run verification test to confirm error capture and source maps
  10. Document rollback procedure for emergency disable

Output

  • Production-ready Sentry configuration
  • Verified source map uploads
  • Configured alert rules and notifications
  • Documented release workflow
  • Validated error capture with test events

Error Handling

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

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.

Resources

Overview

Execute production deployment checklist for Sentry integration.

信息
Category 编程开发
Name sentry-prod-checklist
版本 v20260311
大小 4.14KB
更新时间 2026-03-12
语言