sentry-error-capture
Advanced error capture and context enrichment with Sentry.Use when implementing detailed error tracking, adding context,or customizing error capture behavior.Trigger with phrases like "sentry error capture", "sentry context","enrich sentry errors", "sentry exception handling".
When & Why to Use This Skill
The Sentry Error Capture skill enables advanced error tracking and context enrichment for software applications. It allows developers to automate the capture of detailed exceptions, add custom metadata, and manage error scopes, significantly improving observability and reducing the Mean Time to Resolution (MTTR) for production issues.
Use Cases
- Production Error Tracking: Automatically capture and report unhandled exceptions in live environments with full stack traces and environment-specific context.
- Contextual Debugging: Enrich Sentry events with user attribution, breadcrumbs, and custom tags to provide developers with the exact state of the application at the time of failure.
- Custom Error Handling Logic: Implement specialized error capture behaviors, such as filtering specific exception types or adding dynamic metadata based on the execution context.
| name | sentry-error-capture |
|---|---|
| description | | |
| allowed-tools | Read, Write, Edit, Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Sentry Error Capture
Prerequisites
- Sentry SDK installed and configured
- Understanding of error handling
- Application logging infrastructure
See {baseDir}/references/implementation.md for detailed implementation guide.
Output
- Errors with full context in Sentry dashboard
- Filterable tags for issue management
- User attribution for error tracking
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.