sentry-errors

Configure Sentry error monitoring with PII scrubbing and source map upload.

3|2|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/robotijn/ctoc --skill sentry-errors-robotijn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-errors
Source: https://github.com/robotijn/ctoc/tree/main/skills/saas/sentry-errors
Command: npx skills add https://github.com/robotijn/ctoc --skill sentry-errors-robotijn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unmonitored production errors, missing source maps, PII leaks, and misconfigured Sentry observability lead to missed alerts, compliance violations, and unreadable stack traces that delay incident response and risk data breaches.

Core Features & Use Cases

  • End-to-end Sentry setup: Pre-configured, secure initialization for Next.js, Node.js, Python, Java, .NET, and C++ backends, with automated source map upload and release tracking tied to git SHAs.
  • Security hardening: Built-in PII scrubbing for auth/billing routes, session replay privacy masking, and OpenTelemetry double-instrumentation prevention to meet GDPR and PCI requirements.
  • Use case: For a SaaS billing service, this skill ensures all payment errors are captured with full breadcrumb context, alerts are routed to the correct on-call channel, and no sensitive user data is exfiltrated to Sentry.

Quick Start

Use the sentry-errors skill to configure production-grade Sentry error monitoring, distributed tracing, and profiling for your SaaS application with proper PII scrubbing, source map upload, and alert routing.

Frequently Asked Questions about sentry-errors

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

FAQPage Schema
How do I configure Sentry source maps and release tracking for a Next.js backend?

Sentry source maps and release tracking are configured by automating source map upload and binding releases to git SHAs for Next.js, Node.js, and other backends. This ensures readable stack traces and resolves production errors to exact commit lines.

What is the best way to prevent PII leaks in Sentry session replays and error reports?

Preventing PII leaks in Sentry involves applying built-in PII scrubbing within beforeSend hooks and enabling session replay privacy masking. This meets GDPR and PCI compliance by stripping sensitive auth and billing data before exfiltration to Sentry.

How do I set up distributed tracing with Sentry and OpenTelemetry without double-instrumentation?

Distributed tracing with Sentry and OpenTelemetry is set up by enabling OpenTelemetry double-instrumentation prevention during initialization. This avoids duplicate spans and ensures end-to-end visibility across Node.js, Python, Java, .NET, and C++ services.

How do I route Sentry alerts to specific on-call channels to reduce burnout?

Routing Sentry alerts to on-call channels requires configuring alert routing rules during Sentry setup. This directs payment or billing service errors with full breadcrumb context to the correct responders, reducing on-call burnout from misdirected notifications.

Can I monitor cron jobs and capture breadcrumbs with Sentry for a SaaS billing service?

Monitoring cron jobs and capturing breadcrumbs with Sentry is supported for SaaS billing services. The skill configures cron job monitoring and ensures all payment errors are captured with full breadcrumb context for secure error tracking.

Why are my Sentry stack traces unreadable after deploying a Node.js application?

Unreadable Sentry stack traces in Node.js usually result from missing source maps. Configuring automated source map upload and tying release tracking to git SHAs resolves minified code and maps errors back to original source files.