add-cdn-bundle

tarafından sentry

Belirtilen özelliklerle tarayıcı paketi için yeni bir CDN paketi oluşturur

npx skills add https://github.com/getsentry/sentry-javascript --skill add-cdn-bundle

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 metrics
  • replay.logs.metrics - Bundle with replay, logs, and metrics
  • tracing.replay.logs - Bundle with tracing, replay, and logs
  • tracing.replay.feedback.logs.metrics - Full featured bundle

Feature order in bundle names: tracingreplayfeedbacklogsmetrics

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:

PlaceholderExample (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

  1. Create packages/browser/src/index.bundle.{FEATURE_COMBO}.ts
  2. Create packages/browser/test/index.bundle.{FEATURE_COMBO}.test.ts
  3. Modify packages/browser/rollup.bundle.config.mjs
  4. Modify .size-limit.js
  5. Modify dev-packages/browser-integration-tests/package.json
  6. Modify dev-packages/browser-integration-tests/utils/generatePlugin.ts
  7. Modify .github/workflows/build.yml

Verification Steps

After making changes:

yarn lint
cd packages/browser && yarn build:dev
cd packages/browser && yarn test

sentry tarafından daha fazla skill

generate-frontend-forms
sentry
Sentry'in yeni form sistemini kullanarak form oluşturma kılavuzu. Formlar, form alanları, doğrulama veya otomatik kaydetme işlevselliği uygulanırken kullanılır.
official
sentry-snapshots-cocoa
sentry
Apple/Cocoa projeleri için tam Sentry Snapshots kurulumu. "SnapshotPreviews kurulumu yap", "Apple snapshot testi kurulumu yap", "Apple snapshot'larını yükle…" istendiğinde kullanılır.
official
architecture-review
sentry
Personel seviyesinde kod tabanı sağlık incelemesi. Monolitik modülleri, sessiz hataları, tip güvenliği açıklarını, test kapsama boşluklarını ve LLM dostluğu sorunlarını bulur.
official
linear-type-labeler
sentry
Linear sorunlarını sınıflandırır ve her sorunun başlığı ile açıklamasının içeriğine dayanarak Sentry çalışma alanının etiket taksonomisinden bir Tür etiketi uygular.
official
sentry-flutter-sdk
sentry
Flutter ve Dart için tam Sentry SDK kurulumu. "Flutter'a Sentry ekle", "sentry_flutter yükle", "Dart'ta Sentry kurulumu yap" veya hata yapılandırması istendiğinde kullanılır.
official
sentry-svelte-sdk
sentry
Svelte ve SvelteKit için tam Sentry SDK kurulumu. "Svelte'e Sentry ekle", "SvelteKit'e Sentry ekle", "@sentry/sveltekit'i yükle" dendiğinde veya yapılandırma istendiğinde kullanılır…
official
vercel-react-best-practices
sentry
Vercel Mühendisliği'nden React ve Next.js performans optimizasyonu yönergeleri. Bu yetenek, React/Next.js yazarken, gözden geçirirken veya yeniden düzenlerken kullanılmalıdır…
official
sentry-tanstack-start-sdk
sentry
TanStack Start React için tam Sentry SDK kurulumu. "TanStack Start'a Sentry ekle", "@sentry/tanstackstart-react'i yükle" veya hata yapılandırması yap denildiğinde kullanılır.
official