sentry-reference-architecture
最佳实践 Sentry 架构模式。用于设计 Sentry 集成架构、项目结构或规划企业部署。触发短语包括 'sentry architecture'、'sentry best practices'、'design sentry integration'、'sentry project structure'。
📖 中文导读:最佳实践 Sentry 架构模式。用于设计 Sentry 集成架构、项目结构或规划企业部署。触发短语包括 'sentry architecture'、'sentry best practices'、'design sentry integration'、'sentry project structure'。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: sentry-reference-architecture description: | Manage best-practice Sentry architecture patterns. Use when designing Sentry integration architecture, structuring projects, or planning enterprise rollout. Trigger with phrases like "sentry architecture", "sentry best practices", "design sentry integration", "sentry project structure". allowed-tools: Read, Write, Edit, Grep version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io
Sentry Reference Architecture
Prerequisites
- Sentry organization created
- Team structure defined
- Service inventory documented
- Alert escalation paths established
Instructions
- Define project structure based on application architecture
- Create centralized SDK configuration module with standard settings
- Implement global error handler middleware with Sentry integration
- Create domain-specific error classes with appropriate tags
- Configure distributed tracing with header propagation between services
- Set up alert hierarchy (critical, warning, info) with routing rules
- Configure issue routing based on team ownership and tags
- Enable release tracking for every deployment
- Document architecture patterns and configuration standards
- Review and adjust based on error patterns after initial deployment
Output
- Project structure following best practices
- Centralized SDK configuration module
- Distributed tracing configured across services
- Alert routing rules defined
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.