sentry-reliability-patternsClaude Skill
Build reliable Sentry integrations.
1.4k Stars
173 Forks
2025/10/10
| name | sentry-reliability-patterns |
| description | Build reliable Sentry integrations. Use when handling SDK failures gracefully, implementing retry logic, or ensuring error tracking uptime. Trigger with phrases like "sentry reliability", "sentry failover", "sentry sdk failure handling", "resilient sentry setup". |
| allowed-tools | Read, Write, Edit, Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Sentry Reliability Patterns
Prerequisites
- Understanding of failure modes
- Fallback logging strategy
- Network reliability characteristics
- Graceful shutdown requirements
Instructions
- Wrap Sentry.init with try/catch for graceful initialization failure handling
- Implement fallback capture function that logs locally if Sentry fails
- Add retry with exponential backoff for network failures
- Implement offline event queue for intermittent connectivity
- Add circuit breaker pattern to skip Sentry after repeated failures
- Configure request timeout with wrapper function
- Implement graceful shutdown with Sentry.close() on SIGTERM
- Set up dual-write pattern to multiple error trackers for redundancy
- Create health check endpoint to verify Sentry connectivity
- Test all failure scenarios to ensure application continues operating
Output
- Graceful degradation implemented
- Circuit breaker pattern applied
- Offline queue configured
- Dual-write reliability enabled
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
git-commit
5.4k
Generate well-formatted git commit messages following conventional commit standards
code-review
5.4k
Comprehensive code review assistant that analyzes code quality, security, and best practices
dsql
7.9k
Build with Aurora DSQL - manage schemas, execute queries, and handle migrations with DSQL-specific requirements.
backend-dev-guidelines
20.7k
Comprehensive backend development guide for Langfuse's Next.js 14/tRPC/Express/TypeScript monorepo.
Material Component Dev
7.6k
FlowGram 物料组件开发指南 - 用于在 form-materials 包中创建新的物料组件
Create Node
7.6k
用于在 FlowGram demo-free-layout 中创建新的自定义节点,支持简单节点(自动表单)和复杂节点(自定义 UI)