add-cdn-bundle

Generate Sentry browser CDN bundles with specified feature combinations.

8.7k|1.8k|Updated Feb 1, 2012
One-click install
npx skills add https://github.com/getsentry/sentry-javascript --skill add-cdn-bundle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-cdn-bundle
Source: https://github.com/getsentry/sentry-javascript/tree/main/.agents/skills/add-cdn-bundle
Command: npx skills add https://github.com/getsentry/sentry-javascript --skill add-cdn-bundle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating customized CDN bundles for the Sentry browser package, allowing developers to include only the necessary features for their specific application.

Core Features & Use Cases

  • Feature-Specific Bundling: Generate bundles tailored to specific feature combinations (e.g., logs, metrics, tracing, replay).
  • Streamlined Development: Simplifies the addition of new bundle configurations to the Sentry JavaScript SDK.
  • Use Case: A developer needs a lightweight Sentry bundle for a performance-critical web application that only requires error tracking and basic metrics. This skill can generate such a bundle efficiently.

Quick Start

Use the add-cdn-bundle skill to create a new CDN bundle for the browser package with the tracing and logs features.

Frequently Asked Questions about add-cdn-bundle

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

FAQPage Schema
How do I create a custom Sentry browser CDN bundle with only specific features like tracing and logs?

To create a custom Sentry browser CDN bundle, use this skill to generate a new TypeScript entry point and test files tailored to your specified feature combination, such as tracing and logs. It also automatically updates build configurations and CI workflows.

What is the best way to add a lightweight Sentry SDK bundle for error tracking without including performance monitoring overhead?

Adding a lightweight Sentry SDK bundle for error tracking requires generating a custom CDN package with only the necessary features included. This skill automates creating the required entry points and build configurations while excluding unnecessary performance monitoring modules.

Can I generate a custom Sentry browser package that includes user feedback and metrics features together?

Yes, you can generate a custom Sentry browser package combining user feedback and metrics features. This skill allows developers to specify exact feature combinations and automates the creation of the corresponding bundle entry points and test files.

Do I need to manually update CI workflows when adding a new CDN bundle configuration to the Sentry JavaScript SDK?

No, you do not need to manually update CI workflows when adding a new CDN bundle configuration. This skill automatically handles updates to CI workflows and build configurations when generating the new TypeScript entry points.

When should I create a custom CDN bundle instead of using the default Sentry browser package?

You should create a custom CDN bundle when you need a tailored Sentry browser package for specific use cases, such as a performance-critical web application requiring only basic metrics and error tracking without the overhead of full tracing and replay features.