
add-cdn-bundle
โ Officialโ 8,701by sentry ยท part of getsentry/sentry-javascript
Create a new CDN bundle for the browser package with specified features
This is the playbook your agent receives when the skill activates โ you don't need to read it to use the skill, but it's here to audit before installing.
Add CDN Bundle Skill
This skill creates a new CDN bundle for the browser package that includes a specific combination of features.
Input
The user provides a feature combination using dot notation:
logs.metrics- Bundle with logs and metricsreplay.logs.metrics- Bundle with replay, logs, and metricstracing.replay.logs- Bundle with tracing, replay, and logstracing.replay.feedback.logs.metrics- Full featured bundle
Feature order in bundle names: tracing โ replay โ feedback โ logs โ metrics
Instructions
Follow the detailed guide at docs/adding-cdn-bundle.md to create the bundle.
Quick Reference - Naming Conventions
Given a feature combination, derive these variants:
| Placeholder | Example (replay.logs.metrics) |
|---|---|
{FEATURE_COMBO} | replay.logs.metrics |
{feature_combo} | replay_logs_metrics |
{featureCombo} | replayLogsMetrics |
{Human Readable Features} | Replay, Logs, Metrics |
{Human Readable Feature List} | Replay, Logs, and Metrics |
Quick Reference - Files to Create/Modify
- Create
packages/browser/src/index.bundle.{FEATURE_COMBO}.ts - Create
packages/browser/test/index.bundle.{FEATURE_COMBO}.test.ts - Modify
packages/browser/rollup.bundle.config.mjs - Modify
.size-limit.js - Modify
dev-packages/browser-integration-tests/package.json - Modify
dev-packages/browser-integration-tests/utils/generatePlugin.ts - Modify
.github/workflows/build.yml
Verification Steps
After making changes:
yarn lint
cd packages/browser && yarn build:dev
cd packages/browser && yarn testnpx skills add getsentry/sentry-javascript --skill "add-cdn-bundle" --full-depthRun this in your project โ your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ