error-tracking

Centralize error capture, sanitize PII, and report to tracker SDKs.

1|Updated May 6, 2026
One-click install
npx skills add https://github.com/jacob-balslev/skill-graph --skill error-tracking-jacob-balslev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-tracking
Source: https://github.com/jacob-balslev/skill-graph/tree/main/marketplace/skills/error-tracking
Command: npx skills add https://github.com/jacob-balslev/skill-graph --skill error-tracking-jacob-balslev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It standardizes how applications capture, sanitize, and report exceptions and messages to an error-tracking service, preventing silent failures and reducing the risk of leaking PII.

Core Features & Use Cases

  • Centralized wrapper API: Use a small set of functions (e.g., reportError/reportMessage/addBreadcrumb/setUser) so app code never imports the tracker SDK directly.
  • PII sanitization chokepoint: Enforce a sanitizePII pass on every outbound payload before any external send, including breadcrumbs and extra context.
  • Environment-aware gating: Route reporting to a local logger in non-production and to the tracker in production-equivalent environments.
  • Layered coverage across surfaces: Ensure reporting from component boundaries, route-level fallbacks, application-global handlers, and manual/non-UI capture paths.
  • Verification discipline: Audit that each layer truly calls the wrapper (and not only logs), so the tracker actually receives events.

Quick Start

Use this skill to design a centralized error reporting wrapper that sanitizes PII and reliably reports from component, route, global, and manual error capture paths in your application.

Frequently Asked Questions about error-tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent PII from leaking into error tracking pipelines?

To prevent PII from leaking into error tracking pipelines, route all exception reporting through a centralized wrapper that enforces a sanitizePII pass on every outbound payload, including breadcrumbs and extra context, before any external send occurs.

How do I capture exceptions across React component boundaries and route fallbacks?

To capture exceptions across React component boundaries and route fallbacks, implement a layered coverage strategy where each error surface calls a centralized reporting wrapper, ensuring events reliably reach the tracker rather than only logging locally.

Does environment gating work for error reporting in non-production?

Environment gating does work for error reporting in non-production by routing exception capture to a local logger in development environments and sending events to the actual tracker only in production-equivalent environments.

What is the best way to centralize exception reporting without importing tracker SDKs directly?

The best way to centralize exception reporting without importing tracker SDKs directly is to expose a small set of wrapper functions like reportError, reportMessage, and addBreadcrumb that app code calls instead of the underlying SDK.

Why are my exception reports silently failing to reach the tracker?

Exception reports silently fail to reach the tracker when error surfaces log locally but bypass the centralized wrapper, so auditing each layer to verify it calls the wrapper ensures the tracker actually receives events.