sentry-integration

Integrate Sentry error tracking into Cloudflare Workers with structured logging and breadcrumbs.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/eykd/vance-ts --skill sentry-integration-eykd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-integration
Source: https://github.com/eykd/vance-ts/tree/main/.claude/skills/sentry-integration
Command: npx skills add https://github.com/eykd/vance-ts --skill sentry-integration-eykd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of integrating Sentry error tracking into Cloudflare Workers, providing structured logging and rich breadcrumbs for comprehensive error analysis.

Core Features & Use Cases

  • Sentry Integration: Streamlines the setup of Sentry for Cloudflare Workers, with environment-specific configurations and sampling rates.
  • Custom Context Management: Allows setting user context, tags, and custom metadata for detailed error correlation.
  • Breadcrumbs for Debugging: Offers guidance on adding breadcrumbs to track event sequences and user actions for enhanced debugging.
  • Manual Error Capture: Provides instructions for capturing exceptions with additional metadata for more accurate error tracking.
  • Use Case: For a Cloudflare Worker developer who wants to add advanced error tracking with Sentry, this Skill walks through the process from setting up the withSentry wrapper to capturing manual errors with custom tags and data.

Quick Start

Integrate Sentry into your Cloudflare Worker project using the provided SKILL.md instructions for setting up the Sentry wrapper and managing error tracking.

Frequently Asked Questions about sentry-integration

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

FAQPage Schema
How do I integrate Sentry error tracking into Cloudflare Workers?

To integrate Sentry error tracking into Cloudflare Workers, wrap your Worker logic with the withSentry wrapper to automatically capture exceptions, log structured context, and set environment-specific configurations.

How do I add breadcrumbs to Cloudflare Workers for debugging?

Add breadcrumbs in Cloudflare Workers to track event sequences and user actions for enhanced debugging. This provides a detailed trail of execution leading up to captured errors within your Sentry workflow.

Can I capture manual exceptions with custom tags in Cloudflare Workers?

Yes, you can manually capture exceptions in Cloudflare Workers. This approach allows you to attach custom tags, user context, and specific metadata to errors for more accurate and detailed error correlation.

What is structured logging in Sentry for Cloudflare Workers?

Structured logging in Sentry for Cloudflare Workers is the process of organizing error data with custom context, tags, and metadata. It enables comprehensive error analysis by correlating specific user actions and environmental states.

Does Sentry work with Cloudflare Workers for environment-specific error sampling?

Yes, Sentry works with Cloudflare Workers and supports environment-specific configurations. You can define sampling rates to control the volume of captured errors and structured logs sent to Sentry.

What are the limitations of error tracking in Cloudflare Workers?

Error tracking limitations in Cloudflare Workers often involve execution time limits and state persistence. Using Sentry breadcrumbs and manual error capture helps mitigate these by preserving event sequences before runtime boundaries are hit.