From web-observability
Set up error tracking with actionable context. Use when configuring error capture or error boundaries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/web-observability:skills/error-trackingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Capture errors with the context needed to debug them.
Capture errors with the context needed to debug them.
An error without context is useless. Every error should include:
| Context | Why | Example |
|---|---|---|
route | Where it happened | "/checkout" |
job_name | What user was doing | "checkout" |
job_step | Where in the flow | "payment" |
user_segment | Who's affected | "premium" |
app_version | Release correlation | "1.2.3" |
| Type | Capture Method |
|---|---|
| Unhandled exceptions | window.onerror, SDK auto-capture |
| Promise rejections | window.onunhandledrejection |
| Component errors | Error boundaries |
| Async/await errors | try/catch with context |
| API errors | Fetch/axios interceptors |
| Don't | Why |
|---|---|
| Passwords | Security |
| Email/phone | PII |
| Full request bodies | PII, size limits |
| Entire app state | Unbounded |
| Localized messages | Breaks grouping |
See templates/error-boundary.tsx for React error boundary with telemetry.
Use Read tool to load template when generating implementation.
See references/anti-patterns.md for common error tracking mistakes.
skills/source-map-setup - Readable stack tracesskills/api-tracing - API error correlationreferences/frameworks/*.md - Framework-specific error handlingnpx claudepluginhub nexus-labs-automation/web-observabilityAdds PostHog error tracking to capture and monitor exceptions with stack traces and source maps. Handles SDK setup and supports multiple platforms.
Implements error tracking and observability solutions including alert configuration, structured logging, error grouping, and dashboard setup for production monitoring.
Implements error handling patterns: custom error hierarchies, structured logging, retry strategies, circuit breakers, and graceful degradation. Includes Express global error handler and anti-patterns checklist.