[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DPY0RNHZ6HQCDGDDE1F4NS":3,"skill-same:01M7DPY0RNHZ6HQCDGDDE1F4NS":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":46},"01M7DPY0RNHZ6HQCDGDDE1F4NS","sentry-browser-sdk",null,"Full Sentry SDK setup for browser JavaScript. Use when asked to \"add Sentry to a website\", \"install @sentry\u002Fbrowser\", or configure error monitoring, tracing, session replay, or logging for vanilla JavaScript, jQuery, static sites, or WordPress.","Hazek-dc\u002FPresensiGuru_FaceNet_EMAR","Hazek-dc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F75208960?v=4","01M7DEQV5B4YGS86A81DYH81DR","Hazek","01M7DEQV5XP4TM0C6NTHXCXCHR",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-browser-sdk\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sentry-browser-sdk\ndescription: Full Sentry SDK setup for browser JavaScript. Use when asked to \"add Sentry to a website\", \"install @sentry\u002Fbrowser\", or configure error monitoring, tracing, session replay, or logging for vanilla JavaScript, jQuery, static sites, or WordPress.\nlicense: Apache-2.0\ncategory: sdk-setup\nparent: sentry-sdk-setup\ndisable-model-invocation: true\n---\n\n> [All Skills](..\u002F..\u002FSKILL_TREE.md) > [SDK Setup](..\u002Fsentry-sdk-setup\u002FSKILL.md) > Browser SDK\n\n# Sentry Browser SDK\n\nOpinionated wizard that scans your project and guides you through complete Sentry setup for browser JavaScript — vanilla JS, jQuery, static sites, WordPress, and any JS project without a framework-specific SDK.\n\n## Invoke This Skill When\n\n- User asks to \"add Sentry to a website\" or set up Sentry for plain JavaScript\n- User wants to install `@sentry\u002Fbrowser` or configure the Loader Script\n- User has a WordPress, Shopify, Squarespace, or static HTML site\n- User wants error monitoring, tracing, session replay, or logging without a framework\n- No framework-specific SDK applies\n\n> **Note:** SDK versions and APIs below reflect `@sentry\u002Fbrowser` ≥10.0.0.\n> Always verify against [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002F) before implementing.\n\n---\n\n## Phase 1: Detect\n\n**CRITICAL — Check for frameworks first.** Framework-specific SDKs provide significantly better coverage and must be recommended before proceeding with `@sentry\u002Fbrowser`.\n\n### Step 1A: Framework Detection (Redirect If Found)\n\n```bash\n# Check for React\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"react\"'\n\n# Check for Next.js\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"next\"'\n\n# Check for Vue\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"vue\"'\n\n# Check for Angular\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"@angular\u002Fcore\"'\n\n# Check for Svelte \u002F SvelteKit\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"svelte\"|\"@sveltejs\u002Fkit\"'\n\n# Check for Remix\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"@remix-run\u002Freact\"|\"@remix-run\u002Fnode\"'\n\n# Check for Nuxt\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"nuxt\"'\n\n# Check for Astro\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"astro\"'\n\n# Check for Ember\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"ember-source\"'\n\n# Check for Node.js server frameworks (wrong SDK entirely)\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"express\"|\"fastify\"|\"@nestjs\u002Fcore\"|\"koa\"'\n```\n\n**If a framework is detected, stop and redirect:**\n\n| Framework detected | Redirect to |\n|-------------------|-------------|\n| `next` | Load `sentry-nextjs-sdk` skill — **do not proceed here** |\n| `react` (without Next.js) | Load `sentry-react-sdk` skill — **do not proceed here** |\n| `vue` | Suggest `@sentry\u002Fvue` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F) |\n| `@angular\u002Fcore` | Suggest `@sentry\u002Fangular` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fangular\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fangular\u002F) |\n| `@sveltejs\u002Fkit` | Load `sentry-svelte-sdk` skill — **do not proceed here** |\n| `svelte` (SPA, no kit) | Suggest `@sentry\u002Fsvelte` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fsvelte\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fsvelte\u002F) |\n| `@remix-run` | Suggest `@sentry\u002Fremix` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fremix\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fremix\u002F) |\n| `nuxt` | Suggest `@sentry\u002Fnuxt` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fnuxt\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fnuxt\u002F) |\n| `astro` | Suggest `@sentry\u002Fastro` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fastro\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fastro\u002F) |\n| `ember-source` | Suggest `@sentry\u002Fember` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fember\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fember\u002F) |\n| `express` \u002F `fastify` \u002F `@nestjs\u002Fcore` | This is a Node.js server — load `sentry-node-sdk` or `sentry-nestjs-sdk` skill |\n\n> **Why redirect matters:** Framework SDKs add router-aware transactions, error boundaries, component tracking, and often SSR coverage. Using `@sentry\u002Fbrowser` directly in a React or Next.js app loses all of that.\n\nOnly continue with `@sentry\u002Fbrowser` if **no framework is detected**.\n\n### Step 1B: Installation Method Detection\n\n```bash\n# Check if there's a package.json at all (bundler environment)\nls package.json 2>\u002Fdev\u002Fnull\n\n# Check package manager\nls package-lock.json yarn.lock pnpm-lock.yaml bun.lockb 2>\u002Fdev\u002Fnull\n\n# Check build tool\nls vite.config.ts vite.config.js webpack.config.js rollup.config.js esbuild.config.js 2>\u002Fdev\u002Fnull\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"vite\"|\"webpack\"|\"rollup\"|\"esbuild\"'\n\n# Check for CMS or static site indicators\nls wp-config.php wp-content\u002F 2>\u002Fdev\u002Fnull   # WordPress\nls _config.yml _config.yaml 2>\u002Fdev\u002Fnull    # Jekyll\nls config.toml 2>\u002Fdev\u002Fnull                 # Hugo\nls .eleventy.js 2>\u002Fdev\u002Fnull                # Eleventy\n\n# Check for existing Sentry\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"@sentry\u002F'\ngrep -r \"sentry-cdn.com\\|js.sentry-cdn.com\" . --include=\"*.html\" -l 2>\u002Fdev\u002Fnull | head -3\n```\n\n**What to determine:**\n\n| Question | Impact |\n|----------|--------|\n| `package.json` exists + bundler? | → **Path A: npm install** |\n| WordPress, Shopify, static HTML, no npm? | → **Path B: Loader Script** |\n| Script tags only, no Loader Script access? | → **Path C: CDN bundle** |\n| Already has `@sentry\u002Fbrowser`? | Skip install, go straight to feature config |\n| Build tool is Vite \u002F webpack \u002F Rollup \u002F esbuild? | Source maps plugin to configure |\n\n---\n\n## Phase 2: Recommend\n\nPresent a recommendation based on what you found. Lead with a concrete proposal, don't ask open-ended questions.\n\n**Recommended (core coverage):**\n- ✅ **Error Monitoring** — always; captures unhandled errors and promise rejections\n- ✅ **Tracing** — recommended for any interactive site; tracks page load and user interactions\n- ✅ **Session Replay** — recommended for user-facing apps; records sessions around errors\n\n**Optional (enhanced observability):**\n- ⚡ **User Feedback** — capture reports directly from users after errors\n- ⚡ **Logging** — structured logs via `Sentry.logger.*`; requires npm or CDN logs bundle (not available via Loader Script)\n- ⚡ **Profiling** — JS Self-Profiling API; beta, Chromium-only, requires `Document-Policy: js-profiling` response header\n\n**Feature recommendation logic:**\n\n| Feature | Recommend when... |\n|---------|------------------|\n| Error Monitoring | **Always** — non-negotiable baseline |\n| Tracing | **Always** for interactive pages — page load + navigation spans are high-value |\n| Session Replay | User-facing app, support flows, or checkout pages |\n| User Feedback | Support-focused app; want in-app bug reports with screenshots |\n| Logging | Structured log search or log-to-trace correlation needed; **npm path only** |\n| Profiling | Performance-critical, Chromium-only app; `Document-Policy: js-profiling` header required |\n\n**Installation path recommendation:**\n\n| Scenario | Recommended path |\n|----------|-----------------|\n| Project has `package.json` + bundler | **Path A (npm)** — full features, source maps, tree-shaking |\n| WordPress, Shopify, Squarespace, static HTML | **Path B (Loader Script)** — zero build tooling, always up to date |\n| Static HTML without Loader Script access | **Path C (CDN bundle)** — manual `\u003Cscript>` tag |\n\nPropose: *\"I recommend setting up Error Monitoring + Tracing + Session Replay using Path A (npm). Want me to also add Logging or User Feedback?\"*\n\n---\n\n## Phase 3: Guide\n\n### Path A: npm \u002F yarn \u002F pnpm (Recommended — Bundler Projects)\n\n#### Install\n\n```bash\nnpm install @sentry\u002Fbrowser --save\n# or\nyarn add @sentry\u002Fbrowser\n# or\npnpm add @sentry\u002Fbrowser\n```\n\n#### Create `src\u002Finstrument.ts`\n\nSentry must initialize **before any other code runs**. Put `Sentry.init()` in a dedicated sidecar file:\n\n```typescript\nimport * as Sentry from \"@sentry\u002Fbrowser\";\n\nSentry.init({\n  dsn: import.meta.env.VITE_SENTRY_DSN, \u002F\u002F Adjust per build tool (see table below)\n  environment: import.meta.env.MODE,\n  release: import.meta.env.VITE_APP_VERSION, \u002F\u002F inject at build time\n\n  dataCollection: {\n    \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n    \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fconfiguration\u002Foptions\u002F#dataCollection\n    \u002F\u002F userInfo: false,\n    \u002F\u002F httpBodies: [],\n  },\n\n  integrations: [\n    Sentry.browserTracingIntegration(),\n    Sentry.replayIntegration({\n      maskAllText: true,\n      blockAllMedia: true,\n    }),\n  ],\n\n  \u002F\u002F Tracing\n  tracesSampleRate: 1.0, \u002F\u002F lower to 0.1–0.2 in production\n  tracePropagationTargets: [\"localhost\", \u002F^https:\\\u002F\\\u002Fyourapi\\.io\u002F],\n\n  \u002F\u002F Session Replay\n  replaysSessionSampleRate: 0.1,\n  replaysOnErrorSampleRate: 1.0,\n\n  enableLogs: true,\n});\n```\n\n**DSN environment variable by build tool:**\n\n| Build Tool | Variable Name | Access in code |\n|------------|--------------|----------------|\n| Vite | `VITE_SENTRY_DSN` | `import.meta.env.VITE_SENTRY_DSN` |\n| Custom webpack | `SENTRY_DSN` | `process.env.SENTRY_DSN` |\n| esbuild | `SENTRY_DSN` | `process.env.SENTRY_DSN` |\n| Rollup | `SENTRY_DSN` | `process.env.SENTRY_DSN` |\n\n#### Entry Point Setup\n\nImport `instrument.ts` as the **very first import** in your entry file:\n\n```typescript\n\u002F\u002F src\u002Fmain.ts or src\u002Findex.ts\nimport \".\u002Finstrument\";  \u002F\u002F ← MUST be first\n\n\u002F\u002F ... rest of your app\n```\n\n#### Source Maps Setup (Strongly Recommended)\n\nWithout source maps, stack traces show minified code. Set up the build plugin to upload source maps automatically:\n\n> **No dedicated browser wizard:** There is no `npx @sentry\u002Fwizard -i browser` flag. The closest is `npx @sentry\u002Fwizard@latest -i sourcemaps` which configures source map upload only for an already-initialized SDK.\n\n**Vite (`vite.config.ts`):**\n\n```typescript\nimport { defineConfig } from \"vite\";\nimport { sentryVitePlugin } from \"@sentry\u002Fvite-plugin\";\n\nexport default defineConfig({\n  build: { sourcemap: \"hidden\" },\n  plugins: [\n    \u002F\u002F sentryVitePlugin MUST be last\n    sentryVitePlugin({\n      org: process.env.SENTRY_ORG,\n      project: process.env.SENTRY_PROJECT,\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n});\n```\n\n**webpack (`webpack.config.js`):**\n\n```javascript\nconst { sentryWebpackPlugin } = require(\"@sentry\u002Fwebpack-plugin\");\n\nmodule.exports = {\n  devtool: \"hidden-source-map\",\n  plugins: [\n    sentryWebpackPlugin({\n      org: process.env.SENTRY_ORG,\n      project: process.env.SENTRY_PROJECT,\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n};\n```\n\n**Rollup (`rollup.config.js`):**\n\n```javascript\nimport { sentryRollupPlugin } from \"@sentry\u002Frollup-plugin\";\n\nexport default {\n  output: { sourcemap: \"hidden\" },\n  plugins: [\n    sentryRollupPlugin({\n      org: process.env.SENTRY_ORG,\n      project: process.env.SENTRY_PROJECT,\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n};\n```\n\n**esbuild (`build.js`):**\n\n```javascript\nconst { sentryEsbuildPlugin } = require(\"@sentry\u002Fesbuild-plugin\");\n\nrequire(\"esbuild\").build({\n  entryPoints: [\"src\u002Findex.ts\"],\n  bundle: true,\n  sourcemap: \"hidden\",\n  plugins: [\n    sentryEsbuildPlugin({\n      org: process.env.SENTRY_ORG,\n      project: process.env.SENTRY_PROJECT,\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n});\n```\n\n> ⚠️ esbuild plugin does **not** fully support `splitting: true`. Use `sentry-cli` instead if code splitting is enabled.\n\n**Using `sentry-cli` (any toolchain \u002F CI):**\n\n```bash\n# After your build step:\nnpx @sentry\u002Fcli sourcemaps inject .\u002Fdist\nnpx @sentry\u002Fcli sourcemaps upload .\u002Fdist\n```\n\nAdd `.env` for auth (never commit):\n```bash\nSENTRY_AUTH_TOKEN=sntrys_...\nSENTRY_ORG=my-org-slug\nSENTRY_PROJECT=my-project-slug\n```\n\n---\n\n### Path B: Loader Script (WordPress, Static Sites, Shopify, Squarespace)\n\n**Best for:** Sites without a build system. The Loader Script is a single `\u003Cscript>` tag that lazily loads the full SDK, always stays up to date via Sentry's CDN, and buffers errors before the SDK loads.\n\n**Get the Loader Script:**\nSentry UI → **Settings → Projects → (your project) → SDK Setup → Loader Script**\n\nCopy the generated tag and place it as the **first script on every page**:\n\n```html\n\u003C!DOCTYPE html>\n\u003Chtml>\n  \u003Chead>\n    \u003C!-- Configure BEFORE the loader tag -->\n    \u003Cscript>\n      window.sentryOnLoad = function () {\n        Sentry.init({\n          \u002F\u002F DSN is already configured in the loader URL\n          tracesSampleRate: 1.0,\n          replaysSessionSampleRate: 0.1,\n          replaysOnErrorSampleRate: 1.0,\n        });\n      };\n    \u003C\u002Fscript>\n\n    \u003C!-- Loader Script FIRST — before all other scripts -->\n    \u003Cscript\n      src=\"https:\u002F\u002Fjs.sentry-cdn.com\u002FYOUR_PUBLIC_KEY.min.js\"\n      crossorigin=\"anonymous\"\n    >\u003C\u002Fscript>\n  \u003C\u002Fhead>\n  ...\n\u003C\u002Fhtml>\n```\n\n**Loader loading modes:**\n\n| Mode | How | When SDK loads |\n|------|-----|---------------|\n| **Lazy (default)** | Nothing extra | On first error or manual Sentry call |\n| **Eager** | Add `data-lazy=\"no\"` to `\u003Cscript>` | After all page scripts finish |\n| **Manual** | Call `Sentry.forceLoad()` | Whenever you call it |\n\n**Safe to call before SDK loads (buffered):**\n- `Sentry.captureException()`\n- `Sentry.captureMessage()`\n- `Sentry.captureEvent()`\n- `Sentry.addBreadcrumb()`\n- `Sentry.withScope()`\n\n**For other methods, use `Sentry.onLoad()`:**\n```html\n\u003Cscript>\n  window.Sentry && Sentry.onLoad(function () {\n    Sentry.setUser({ id: \"123\" });\n  });\n\u003C\u002Fscript>\n```\n\n**Set release via global (optional):**\n```html\n\u003Cscript>\n  window.SENTRY_RELEASE = { id: \"my-app@1.0.0\" };\n\u003C\u002Fscript>\n```\n\n**Loader Script limitations:**\n- ❌ No `Sentry.logger.*` (logging) — npm path only\n- ❌ No framework-specific features (React ErrorBoundary, Vue Router tracking, etc.)\n- ❌ Tracing headers only added to fetch calls made after SDK loads\n- ❌ Version changes take a few minutes to propagate via CDN cache\n- ⚠️ Use `defer` (not `async`) on all other scripts when using the loader\n\n**CSP requirements:**\n```\nscript-src: https:\u002F\u002Fbrowser.sentry-cdn.com https:\u002F\u002Fjs.sentry-cdn.com\nconnect-src: *.sentry.io\n```\n\n---\n\n### Path C: CDN Bundles (Manual Script Tags)\n\n**Best for:** Pages that can't use the Loader Script but need synchronous loading.\n\nPick the bundle that matches your feature needs and place it **before all other scripts**:\n\n**Errors only (minimal footprint):**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.min.js\"\n  integrity=\"sha384-L\u002FHYBH2QCeLyXhcZ0hPTxWMnyMJburPJyVoBmRk4OoilqrOWq5kU4PNTLFYrCYPr\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Errors + Tracing:**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.tracing.min.js\"\n  integrity=\"sha384-DIqcfVcfIewrWiNWfVZcGWExO5v673hkkC5ixJnmAprAfJajpUDEAL35QgkOB5gw\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Errors + Session Replay:**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.replay.min.js\"\n  integrity=\"sha384-sbojwIJFpv9duIzsI9FRm87g7pB15s4QwJS1m1xMSOdV1CF3pwgrPPEu38Em7M9+\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Errors + Tracing + Replay (recommended full setup):**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.tracing.replay.min.js\"\n  integrity=\"sha384-oo2U4zsTxaHSPXJEnXtaQPeS4Z\u002FqbTqoBL9xFgGxvjJHKQjIrB+VRlu97\u002FiXBtzw\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Errors + Tracing + Replay + User Feedback:**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.tracing.replay.feedback.min.js\"\n  integrity=\"sha384-SmHU39Qs9cua0KLtq3A6gis1\u002FcqM1nZ6fnGzlvWAPiwhBDO5SmwFQV65BBpJnB3n\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Full bundle (all features):**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.tracing.replay.feedback.logs.metrics.min.js\"\n  integrity=\"sha384-gOjSzRxwpXpy0FlT6lg\u002FAVhagqrsUrOWUO7jm6TJwuZ9YVHtYK0MBA2hW2FGrIGl\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**CDN bundle variants summary:**\n\n| Bundle | Features | When to use |\n|--------|----------|-------------|\n| `bundle.min.js` | Errors only | Absolute minimum footprint |\n| `bundle.tracing.min.js` | + Tracing | Performance monitoring |\n| `bundle.replay.min.js` | + Replay | Session recording |\n| `bundle.tracing.replay.min.js` | + Tracing + Replay | Full observability |\n| `bundle.tracing.replay.feedback.min.js` | + User Feedback | + in-app feedback widget |\n| `bundle.logs.metrics.min.js` | + Logs + Metrics | Structured logs (CDN) |\n| `bundle.tracing.replay.feedback.logs.metrics.min.js` | Everything | Max coverage |\n\n**Initialize after the script tag:**\n```html\n\u003Cscript>\n  Sentry.init({\n    dsn: \"https:\u002F\u002FYOUR_KEY@o0.ingest.sentry.io\u002FYOUR_PROJECT\",\n    environment: \"production\",\n    release: \"my-app@1.0.0\",\n    integrations: [\n      Sentry.browserTracingIntegration(),\n      Sentry.replayIntegration({\n        maskAllText: true,\n        blockAllMedia: true,\n      }),\n    ],\n    tracesSampleRate: 1.0,\n    tracePropagationTargets: [\"localhost\", \u002F^https:\\\u002F\\\u002Fyourapi\\.io\u002F],\n    replaysSessionSampleRate: 0.1,\n    replaysOnErrorSampleRate: 1.0,\n  });\n\u003C\u002Fscript>\n```\n\n**CDN CSP requirements:**\n```\nscript-src: https:\u002F\u002Fbrowser.sentry-cdn.com https:\u002F\u002Fjs.sentry-cdn.com\nconnect-src: *.sentry.io\n```\n\n---\n\n### For Each Agreed Feature\n\nWalk through features one at a time. Load the reference file, follow its steps, verify before moving on:\n\n| Feature | Reference | Load when... |\n|---------|-----------|-------------|\n| Error Monitoring | `${SKILL_ROOT}\u002Freferences\u002Ferror-monitoring.md` | Always (baseline) |\n| Tracing | `${SKILL_ROOT}\u002Freferences\u002Ftracing.md` | Page load \u002F API call tracing |\n| Session Replay | `${SKILL_ROOT}\u002Freferences\u002Fsession-replay.md` | User-facing app |\n| Logging | `${SKILL_ROOT}\u002Freferences\u002Flogging.md` | Structured log search; npm or CDN logs bundle (not Loader Script) |\n| Profiling | `${SKILL_ROOT}\u002Freferences\u002Fprofiling.md` | Performance-critical, Chromium-only |\n| User Feedback | `${SKILL_ROOT}\u002Freferences\u002Fuser-feedback.md` | Capture user reports after errors |\n\nFor each feature: `Read ${SKILL_ROOT}\u002Freferences\u002F\u003Cfeature>.md`, follow steps exactly, verify it works.\n\n---\n\n## Configuration Reference\n\n### Key `Sentry.init()` Options\n\n| Option | Type | Default | Notes |\n|--------|------|---------|-------|\n| `dsn` | `string` | — | **Required.** SDK disabled when empty |\n| `environment` | `string` | `\"production\"` | e.g., `\"staging\"`, `\"development\"` |\n| `release` | `string` | — | e.g., `\"my-app@1.0.0\"` or git SHA — links errors to releases |\n| `sendDefaultPii` | `boolean` | `false` | Includes IP addresses and request headers. **Will be deprecated in v11** — use `dataCollection` instead |\n| `dataCollection` | `object` | — | Fine-grained control over collected data (v10.54+). See table below |\n| `tracesSampleRate` | `number` | — | 0–1; `1.0` in dev, `0.1–0.2` in prod |\n| `tracesSampler` | `function` | — | Per-transaction sampling; overrides rate |\n| `tracePropagationTargets` | `(string\\|RegExp)[]` | same-origin | Outgoing URLs that receive distributed tracing headers |\n| `replaysSessionSampleRate` | `number` | — | Fraction of all sessions recorded |\n| `replaysOnErrorSampleRate` | `number` | — | Fraction of error sessions recorded |\n| `enableLogs` | `boolean` | `false` | Enable `Sentry.logger.*` API (npm or CDN logs bundle; not Loader Script) |\n| `attachStackTrace` | `boolean` | `false` | Stack traces on `captureMessage()` calls |\n| `maxBreadcrumbs` | `number` | `100` | Breadcrumbs stored per event |\n| `debug` | `boolean` | `false` | Verbose SDK output to console |\n| `tunnel` | `string` | — | Proxy URL to bypass ad blockers |\n| `ignoreErrors` | `(string\\|RegExp)[]` | `[]` | Drop errors matching these patterns |\n| `denyUrls` | `(string\\|RegExp)[]` | `[]` | Drop errors from scripts at these URLs |\n| `allowUrls` | `(string\\|RegExp)[]` | `[]` | Only capture errors from these script URLs |\n| `spotlight` | `boolean\\|string` | `false` | Forward events to Spotlight local dev overlay |\n\n### Browser-Specific Options\n\n| Option | Type | Default | Notes |\n|--------|------|---------|-------|\n| `cdnBaseUrl` | `string` | — | Base URL for lazy-loading integrations |\n| `skipBrowserExtensionCheck` | `boolean` | `false` | Skip check for browser extension context |\n\n### `dataCollection` Option (v10.54+)\n\nFine-grained control over what data the SDK collects. Replaces the simple `sendDefaultPii` boolean with granular settings. When omitted, falls back to `sendDefaultPii` for backwards compatibility.\n\n| Field | Type | Default | Notes |\n|-------|------|---------|-------|\n| `userInfo` | `boolean` | `true` | Auto-populate `user.*` fields from instrumentation |\n| `cookies` | `boolean \\| { allow: string[] } \\| { deny: string[] }` | `true` | Cookie collection; `true` = all (filtered), `false` = none, `allow`\u002F`deny` = specific keys |\n| `httpHeaders` | `{ request?, response? }` | `{ request: true, response: true }` | HTTP header collection; each can be `boolean` or `allow`\u002F`deny` object |\n| `httpBodies` | `string[]` | `[\"incomingRequest\", \"outgoingRequest\", \"incomingResponse\", \"outgoingResponse\"]` | HTTP body types to collect (when `dataCollection` is explicitly set) |\n| `queryParams` | `boolean \\| { allow: string[] } \\| { deny: string[] }` | `true` | Query parameter collection with sensitive value filtering |\n| `genAI` | `{ inputs?, outputs? }` | `{ inputs: true, outputs: true }` | Generative AI input\u002Foutput recording |\n| `stackFrameVariables` | `boolean` | `true` | Capture local variable values in stack frames |\n| `frameContextLines` | `number` | `5` | Source code context lines around stack frames |\n\n**Example:**\n```typescript\nSentry.init({\n  dsn: \"...\",\n  dataCollection: {\n    userInfo: true,\n    cookies: { deny: [\"session_id\", \"auth_token\"] },\n    httpHeaders: {\n      request: { deny: [\"authorization\", \"cookie\"] },\n      response: true,\n    },\n    queryParams: { allow: [\"utm_source\", \"utm_campaign\"] },\n  },\n});\n```\n\n### `window.SENTRY_RELEASE` Global (CDN \u002F Loader Path)\n\nSet the release version before the SDK loads:\n```html\n\u003Cscript>\n  window.SENTRY_RELEASE = { id: \"my-app@1.0.0\" };\n\u003C\u002Fscript>\n```\n\n---\n\n## Verification\n\nTrigger test events to confirm Sentry is receiving data:\n\n**npm \u002F CDN path:**\n```html\n\u003C!-- Add temporarily to your page -->\n\u003Cbutton onclick=\"throw new Error('Sentry Browser Test Error')\">\n  Test Error\n\u003C\u002Fbutton>\n```\n\n**Performance verification (npm path):**\n```javascript\nimport * as Sentry from \"@sentry\u002Fbrowser\";\n\nSentry.startSpan({ name: \"Test Span\", op: \"test\" }, () => {\n  \u002F\u002F your operation\n});\n```\n\n**Manual capture:**\n```javascript\nSentry.captureException(new Error(\"Manual test\"));\nSentry.captureMessage(\"Manual test message\", \"info\");\n```\n\nCheck the Sentry dashboard:\n- **Issues** → error appears within seconds\n- **Traces** → page load transaction visible\n- **Replays** → session recording visible after page interaction\n- **Logs** → structured log entries if logging enabled (npm or CDN logs bundle)\n\nSet `debug: true` in `Sentry.init()` and check the browser console if nothing appears.\n\n---\n\n## Phase 4: Cross-Link\n\nAfter completing browser setup, check for a companion backend missing Sentry coverage:\n\n```bash\nls ..\u002Fbackend ..\u002Fserver ..\u002Fapi ..\u002Fgo ..\u002Fpython 2>\u002Fdev\u002Fnull\ncat ..\u002Fgo.mod 2>\u002Fdev\u002Fnull | head -3\ncat ..\u002Frequirements.txt ..\u002Fpyproject.toml 2>\u002Fdev\u002Fnull | head -3\ncat ..\u002FGemfile 2>\u002Fdev\u002Fnull | head -3\ncat ..\u002Fpom.xml 2>\u002Fdev\u002Fnull | grep '\u003CartifactId>' | head -3\ncat ..\u002Fcomposer.json 2>\u002Fdev\u002Fnull | head -3\n```\n\nIf a backend exists without Sentry configured, suggest the matching skill:\n\n| Backend detected | Suggest skill |\n|-----------------|--------------|\n| Go (`go.mod`) | `sentry-go-sdk` |\n| Python (`requirements.txt`, `pyproject.toml`) | `sentry-python-sdk` |\n| Ruby (`Gemfile`) | `sentry-ruby-sdk` |\n| PHP (`composer.json`) | `sentry-php-sdk` |\n| .NET (`*.csproj`, `*.sln`) | `sentry-dotnet-sdk` |\n| Java (`pom.xml`, `build.gradle`) | See [docs.sentry.io\u002Fplatforms\u002Fjava\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjava\u002F) |\n| Node.js (Express, Fastify) | `sentry-node-sdk` |\n| NestJS (`@nestjs\u002Fcore`) | `sentry-nestjs-sdk` |\n\n---\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Events not appearing | Set `debug: true`, check DSN, open browser console for SDK errors |\n| Source maps not working | Build in production mode (`npm run build`); verify `SENTRY_AUTH_TOKEN` is set |\n| Minified stack traces | Source maps not uploading — check build plugin config; run `npx @sentry\u002Fwizard@latest -i sourcemaps` |\n| CDN bundle not found | Check version number in URL; see [browser.sentry-cdn.com](https:\u002F\u002Fbrowser.sentry-cdn.com\u002F) for latest |\n| SRI integrity error | Hash mismatch — re-copy the full `\u003Cscript>` tag including `integrity` attribute from this skill |\n| Loader Script not firing | Verify it's the **first** `\u003Cscript>` on the page; check for CSP errors in console |\n| Tracing not working with Loader | Fetch calls before SDK loads won't be traced — wrap early calls in `Sentry.onLoad()` |\n| `sentryOnLoad` not called | Must define `window.sentryOnLoad` **before** the loader `\u003Cscript>` tag |\n| Logging not available | `Sentry.logger.*` requires npm or a CDN bundle with `.logs.` in its name — not supported via Loader Script |\n| Profiling not working | Verify `Document-Policy: js-profiling` header on document responses; Chromium-only |\n| Ad blockers dropping events | Set `tunnel: \"\u002Fsentry-tunnel\"` and add a server-side relay endpoint |\n| Session replay not recording | Confirm `replayIntegration()` is in init; check `replaysSessionSampleRate` > 0 |\n| Replay CSP errors | Add `worker-src 'self' blob:` and `child-src 'self' blob:` to your CSP |\n| `tracePropagationTargets` not matching | Check regex escaping; default is same-origin only |\n| Events blocked by browser extension | Add `denyUrls: [\u002Fchrome-extension:\\\u002F\\\u002F\u002F]` to filter extension errors |\n| High event volume | Lower `sampleRate` (errors) and `tracesSampleRate` from `1.0` in production |\n| Source maps uploaded after deploy | Source maps must be uploaded **before** errors occur — integrate into CI\u002FCD |\n| esbuild splitting conflict | `sentryEsbuildPlugin` doesn't support `splitting: true` — use `sentry-cli` instead |\n","> [All Skills](..\u002F..\u002FSKILL_TREE.md) > [SDK Setup](..\u002Fsentry-sdk-setup\u002FSKILL.md) > Browser SDK\n\n# Sentry Browser SDK\n\nOpinionated wizard that scans your project and guides you through complete Sentry setup for browser JavaScript — vanilla JS, jQuery, static sites, WordPress, and any JS project without a framework-specific SDK.\n\n## Invoke This Skill When\n\n- User asks to \"add Sentry to a website\" or set up Sentry for plain JavaScript\n- User wants to install `@sentry\u002Fbrowser` or configure the Loader Script\n- User has a WordPress, Shopify, Squarespace, or static HTML site\n- User wants error monitoring, tracing, session replay, or logging without a framework\n- No framework-specific SDK applies\n\n> **Note:** SDK versions and APIs below reflect `@sentry\u002Fbrowser` ≥10.0.0.\n> Always verify against [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002F) before implementing.\n\n---\n\n## Phase 1: Detect\n\n**CRITICAL — Check for frameworks first.** Framework-specific SDKs provide significantly better coverage and must be recommended before proceeding with `@sentry\u002Fbrowser`.\n\n### Step 1A: Framework Detection (Redirect If Found)\n\n```bash\n# Check for React\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"react\"'\n\n# Check for Next.js\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"next\"'\n\n# Check for Vue\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"vue\"'\n\n# Check for Angular\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"@angular\u002Fcore\"'\n\n# Check for Svelte \u002F SvelteKit\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"svelte\"|\"@sveltejs\u002Fkit\"'\n\n# Check for Remix\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"@remix-run\u002Freact\"|\"@remix-run\u002Fnode\"'\n\n# Check for Nuxt\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"nuxt\"'\n\n# Check for Astro\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"astro\"'\n\n# Check for Ember\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"ember-source\"'\n\n# Check for Node.js server frameworks (wrong SDK entirely)\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"express\"|\"fastify\"|\"@nestjs\u002Fcore\"|\"koa\"'\n```\n\n**If a framework is detected, stop and redirect:**\n\n| Framework detected | Redirect to |\n|-------------------|-------------|\n| `next` | Load `sentry-nextjs-sdk` skill — **do not proceed here** |\n| `react` (without Next.js) | Load `sentry-react-sdk` skill — **do not proceed here** |\n| `vue` | Suggest `@sentry\u002Fvue` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F) |\n| `@angular\u002Fcore` | Suggest `@sentry\u002Fangular` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fangular\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fangular\u002F) |\n| `@sveltejs\u002Fkit` | Load `sentry-svelte-sdk` skill — **do not proceed here** |\n| `svelte` (SPA, no kit) | Suggest `@sentry\u002Fsvelte` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fsvelte\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fsvelte\u002F) |\n| `@remix-run` | Suggest `@sentry\u002Fremix` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fremix\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fremix\u002F) |\n| `nuxt` | Suggest `@sentry\u002Fnuxt` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fnuxt\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fnuxt\u002F) |\n| `astro` | Suggest `@sentry\u002Fastro` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fastro\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fastro\u002F) |\n| `ember-source` | Suggest `@sentry\u002Fember` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fember\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fember\u002F) |\n| `express` \u002F `fastify` \u002F `@nestjs\u002Fcore` | This is a Node.js server — load `sentry-node-sdk` or `sentry-nestjs-sdk` skill |\n\n> **Why redirect matters:** Framework SDKs add router-aware transactions, error boundaries, component tracking, and often SSR coverage. Using `@sentry\u002Fbrowser` directly in a React or Next.js app loses all of that.\n\nOnly continue with `@sentry\u002Fbrowser` if **no framework is detected**.\n\n### Step 1B: Installation Method Detection\n\n```bash\n# Check if there's a package.json at all (bundler environment)\nls package.json 2>\u002Fdev\u002Fnull\n\n# Check package manager\nls package-lock.json yarn.lock pnpm-lock.yaml bun.lockb 2>\u002Fdev\u002Fnull\n\n# Check build tool\nls vite.config.ts vite.config.js webpack.config.js rollup.config.js esbuild.config.js 2>\u002Fdev\u002Fnull\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"vite\"|\"webpack\"|\"rollup\"|\"esbuild\"'\n\n# Check for CMS or static site indicators\nls wp-config.php wp-content\u002F 2>\u002Fdev\u002Fnull   # WordPress\nls _config.yml _config.yaml 2>\u002Fdev\u002Fnull    # Jekyll\nls config.toml 2>\u002Fdev\u002Fnull                 # Hugo\nls .eleventy.js 2>\u002Fdev\u002Fnull                # Eleventy\n\n# Check for existing Sentry\ncat package.json 2>\u002Fdev\u002Fnull | grep '\"@sentry\u002F'\ngrep -r \"sentry-cdn.com\\|js.sentry-cdn.com\" . --include=\"*.html\" -l 2>\u002Fdev\u002Fnull | head -3\n```\n\n**What to determine:**\n\n| Question | Impact |\n|----------|--------|\n| `package.json` exists + bundler? | → **Path A: npm install** |\n| WordPress, Shopify, static HTML, no npm? | → **Path B: Loader Script** |\n| Script tags only, no Loader Script access? | → **Path C: CDN bundle** |\n| Already has `@sentry\u002Fbrowser`? | Skip install, go straight to feature config |\n| Build tool is Vite \u002F webpack \u002F Rollup \u002F esbuild? | Source maps plugin to configure |\n\n---\n\n## Phase 2: Recommend\n\nPresent a recommendation based on what you found. Lead with a concrete proposal, don't ask open-ended questions.\n\n**Recommended (core coverage):**\n- ✅ **Error Monitoring** — always; captures unhandled errors and promise rejections\n- ✅ **Tracing** — recommended for any interactive site; tracks page load and user interactions\n- ✅ **Session Replay** — recommended for user-facing apps; records sessions around errors\n\n**Optional (enhanced observability):**\n- ⚡ **User Feedback** — capture reports directly from users after errors\n- ⚡ **Logging** — structured logs via `Sentry.logger.*`; requires npm or CDN logs bundle (not available via Loader Script)\n- ⚡ **Profiling** — JS Self-Profiling API; beta, Chromium-only, requires `Document-Policy: js-profiling` response header\n\n**Feature recommendation logic:**\n\n| Feature | Recommend when... |\n|---------|------------------|\n| Error Monitoring | **Always** — non-negotiable baseline |\n| Tracing | **Always** for interactive pages — page load + navigation spans are high-value |\n| Session Replay | User-facing app, support flows, or checkout pages |\n| User Feedback | Support-focused app; want in-app bug reports with screenshots |\n| Logging | Structured log search or log-to-trace correlation needed; **npm path only** |\n| Profiling | Performance-critical, Chromium-only app; `Document-Policy: js-profiling` header required |\n\n**Installation path recommendation:**\n\n| Scenario | Recommended path |\n|----------|-----------------|\n| Project has `package.json` + bundler | **Path A (npm)** — full features, source maps, tree-shaking |\n| WordPress, Shopify, Squarespace, static HTML | **Path B (Loader Script)** — zero build tooling, always up to date |\n| Static HTML without Loader Script access | **Path C (CDN bundle)** — manual `\u003Cscript>` tag |\n\nPropose: *\"I recommend setting up Error Monitoring + Tracing + Session Replay using Path A (npm). Want me to also add Logging or User Feedback?\"*\n\n---\n\n## Phase 3: Guide\n\n### Path A: npm \u002F yarn \u002F pnpm (Recommended — Bundler Projects)\n\n#### Install\n\n```bash\nnpm install @sentry\u002Fbrowser --save\n# or\nyarn add @sentry\u002Fbrowser\n# or\npnpm add @sentry\u002Fbrowser\n```\n\n#### Create `src\u002Finstrument.ts`\n\nSentry must initialize **before any other code runs**. Put `Sentry.init()` in a dedicated sidecar file:\n\n```typescript\nimport * as Sentry from \"@sentry\u002Fbrowser\";\n\nSentry.init({\n  dsn: import.meta.env.VITE_SENTRY_DSN, \u002F\u002F Adjust per build tool (see table below)\n  environment: import.meta.env.MODE,\n  release: import.meta.env.VITE_APP_VERSION, \u002F\u002F inject at build time\n\n  dataCollection: {\n    \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n    \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fconfiguration\u002Foptions\u002F#dataCollection\n    \u002F\u002F userInfo: false,\n    \u002F\u002F httpBodies: [],\n  },\n\n  integrations: [\n    Sentry.browserTracingIntegration(),\n    Sentry.replayIntegration({\n      maskAllText: true,\n      blockAllMedia: true,\n    }),\n  ],\n\n  \u002F\u002F Tracing\n  tracesSampleRate: 1.0, \u002F\u002F lower to 0.1–0.2 in production\n  tracePropagationTargets: [\"localhost\", \u002F^https:\\\u002F\\\u002Fyourapi\\.io\u002F],\n\n  \u002F\u002F Session Replay\n  replaysSessionSampleRate: 0.1,\n  replaysOnErrorSampleRate: 1.0,\n\n  enableLogs: true,\n});\n```\n\n**DSN environment variable by build tool:**\n\n| Build Tool | Variable Name | Access in code |\n|------------|--------------|----------------|\n| Vite | `VITE_SENTRY_DSN` | `import.meta.env.VITE_SENTRY_DSN` |\n| Custom webpack | `SENTRY_DSN` | `process.env.SENTRY_DSN` |\n| esbuild | `SENTRY_DSN` | `process.env.SENTRY_DSN` |\n| Rollup | `SENTRY_DSN` | `process.env.SENTRY_DSN` |\n\n#### Entry Point Setup\n\nImport `instrument.ts` as the **very first import** in your entry file:\n\n```typescript\n\u002F\u002F src\u002Fmain.ts or src\u002Findex.ts\nimport \".\u002Finstrument\";  \u002F\u002F ← MUST be first\n\n\u002F\u002F ... rest of your app\n```\n\n#### Source Maps Setup (Strongly Recommended)\n\nWithout source maps, stack traces show minified code. Set up the build plugin to upload source maps automatically:\n\n> **No dedicated browser wizard:** There is no `npx @sentry\u002Fwizard -i browser` flag. The closest is `npx @sentry\u002Fwizard@latest -i sourcemaps` which configures source map upload only for an already-initialized SDK.\n\n**Vite (`vite.config.ts`):**\n\n```typescript\nimport { defineConfig } from \"vite\";\nimport { sentryVitePlugin } from \"@sentry\u002Fvite-plugin\";\n\nexport default defineConfig({\n  build: { sourcemap: \"hidden\" },\n  plugins: [\n    \u002F\u002F sentryVitePlugin MUST be last\n    sentryVitePlugin({\n      org: process.env.SENTRY_ORG,\n      project: process.env.SENTRY_PROJECT,\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n});\n```\n\n**webpack (`webpack.config.js`):**\n\n```javascript\nconst { sentryWebpackPlugin } = require(\"@sentry\u002Fwebpack-plugin\");\n\nmodule.exports = {\n  devtool: \"hidden-source-map\",\n  plugins: [\n    sentryWebpackPlugin({\n      org: process.env.SENTRY_ORG,\n      project: process.env.SENTRY_PROJECT,\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n};\n```\n\n**Rollup (`rollup.config.js`):**\n\n```javascript\nimport { sentryRollupPlugin } from \"@sentry\u002Frollup-plugin\";\n\nexport default {\n  output: { sourcemap: \"hidden\" },\n  plugins: [\n    sentryRollupPlugin({\n      org: process.env.SENTRY_ORG,\n      project: process.env.SENTRY_PROJECT,\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n};\n```\n\n**esbuild (`build.js`):**\n\n```javascript\nconst { sentryEsbuildPlugin } = require(\"@sentry\u002Fesbuild-plugin\");\n\nrequire(\"esbuild\").build({\n  entryPoints: [\"src\u002Findex.ts\"],\n  bundle: true,\n  sourcemap: \"hidden\",\n  plugins: [\n    sentryEsbuildPlugin({\n      org: process.env.SENTRY_ORG,\n      project: process.env.SENTRY_PROJECT,\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n});\n```\n\n> ⚠️ esbuild plugin does **not** fully support `splitting: true`. Use `sentry-cli` instead if code splitting is enabled.\n\n**Using `sentry-cli` (any toolchain \u002F CI):**\n\n```bash\n# After your build step:\nnpx @sentry\u002Fcli sourcemaps inject .\u002Fdist\nnpx @sentry\u002Fcli sourcemaps upload .\u002Fdist\n```\n\nAdd `.env` for auth (never commit):\n```bash\nSENTRY_AUTH_TOKEN=sntrys_...\nSENTRY_ORG=my-org-slug\nSENTRY_PROJECT=my-project-slug\n```\n\n---\n\n### Path B: Loader Script (WordPress, Static Sites, Shopify, Squarespace)\n\n**Best for:** Sites without a build system. The Loader Script is a single `\u003Cscript>` tag that lazily loads the full SDK, always stays up to date via Sentry's CDN, and buffers errors before the SDK loads.\n\n**Get the Loader Script:**\nSentry UI → **Settings → Projects → (your project) → SDK Setup → Loader Script**\n\nCopy the generated tag and place it as the **first script on every page**:\n\n```html\n\u003C!DOCTYPE html>\n\u003Chtml>\n  \u003Chead>\n    \u003C!-- Configure BEFORE the loader tag -->\n    \u003Cscript>\n      window.sentryOnLoad = function () {\n        Sentry.init({\n          \u002F\u002F DSN is already configured in the loader URL\n          tracesSampleRate: 1.0,\n          replaysSessionSampleRate: 0.1,\n          replaysOnErrorSampleRate: 1.0,\n        });\n      };\n    \u003C\u002Fscript>\n\n    \u003C!-- Loader Script FIRST — before all other scripts -->\n    \u003Cscript\n      src=\"https:\u002F\u002Fjs.sentry-cdn.com\u002FYOUR_PUBLIC_KEY.min.js\"\n      crossorigin=\"anonymous\"\n    >\u003C\u002Fscript>\n  \u003C\u002Fhead>\n  ...\n\u003C\u002Fhtml>\n```\n\n**Loader loading modes:**\n\n| Mode | How | When SDK loads |\n|------|-----|---------------|\n| **Lazy (default)** | Nothing extra | On first error or manual Sentry call |\n| **Eager** | Add `data-lazy=\"no\"` to `\u003Cscript>` | After all page scripts finish |\n| **Manual** | Call `Sentry.forceLoad()` | Whenever you call it |\n\n**Safe to call before SDK loads (buffered):**\n- `Sentry.captureException()`\n- `Sentry.captureMessage()`\n- `Sentry.captureEvent()`\n- `Sentry.addBreadcrumb()`\n- `Sentry.withScope()`\n\n**For other methods, use `Sentry.onLoad()`:**\n```html\n\u003Cscript>\n  window.Sentry && Sentry.onLoad(function () {\n    Sentry.setUser({ id: \"123\" });\n  });\n\u003C\u002Fscript>\n```\n\n**Set release via global (optional):**\n```html\n\u003Cscript>\n  window.SENTRY_RELEASE = { id: \"my-app@1.0.0\" };\n\u003C\u002Fscript>\n```\n\n**Loader Script limitations:**\n- ❌ No `Sentry.logger.*` (logging) — npm path only\n- ❌ No framework-specific features (React ErrorBoundary, Vue Router tracking, etc.)\n- ❌ Tracing headers only added to fetch calls made after SDK loads\n- ❌ Version changes take a few minutes to propagate via CDN cache\n- ⚠️ Use `defer` (not `async`) on all other scripts when using the loader\n\n**CSP requirements:**\n```\nscript-src: https:\u002F\u002Fbrowser.sentry-cdn.com https:\u002F\u002Fjs.sentry-cdn.com\nconnect-src: *.sentry.io\n```\n\n---\n\n### Path C: CDN Bundles (Manual Script Tags)\n\n**Best for:** Pages that can't use the Loader Script but need synchronous loading.\n\nPick the bundle that matches your feature needs and place it **before all other scripts**:\n\n**Errors only (minimal footprint):**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.min.js\"\n  integrity=\"sha384-L\u002FHYBH2QCeLyXhcZ0hPTxWMnyMJburPJyVoBmRk4OoilqrOWq5kU4PNTLFYrCYPr\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Errors + Tracing:**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.tracing.min.js\"\n  integrity=\"sha384-DIqcfVcfIewrWiNWfVZcGWExO5v673hkkC5ixJnmAprAfJajpUDEAL35QgkOB5gw\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Errors + Session Replay:**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.replay.min.js\"\n  integrity=\"sha384-sbojwIJFpv9duIzsI9FRm87g7pB15s4QwJS1m1xMSOdV1CF3pwgrPPEu38Em7M9+\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Errors + Tracing + Replay (recommended full setup):**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.tracing.replay.min.js\"\n  integrity=\"sha384-oo2U4zsTxaHSPXJEnXtaQPeS4Z\u002FqbTqoBL9xFgGxvjJHKQjIrB+VRlu97\u002FiXBtzw\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Errors + Tracing + Replay + User Feedback:**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.tracing.replay.feedback.min.js\"\n  integrity=\"sha384-SmHU39Qs9cua0KLtq3A6gis1\u002FcqM1nZ6fnGzlvWAPiwhBDO5SmwFQV65BBpJnB3n\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**Full bundle (all features):**\n```html\n\u003Cscript\n  src=\"https:\u002F\u002Fbrowser.sentry-cdn.com\u002F10.42.0\u002Fbundle.tracing.replay.feedback.logs.metrics.min.js\"\n  integrity=\"sha384-gOjSzRxwpXpy0FlT6lg\u002FAVhagqrsUrOWUO7jm6TJwuZ9YVHtYK0MBA2hW2FGrIGl\"\n  crossorigin=\"anonymous\"\n>\u003C\u002Fscript>\n```\n\n**CDN bundle variants summary:**\n\n| Bundle | Features | When to use |\n|--------|----------|-------------|\n| `bundle.min.js` | Errors only | Absolute minimum footprint |\n| `bundle.tracing.min.js` | + Tracing | Performance monitoring |\n| `bundle.replay.min.js` | + Replay | Session recording |\n| `bundle.tracing.replay.min.js` | + Tracing + Replay | Full observability |\n| `bundle.tracing.replay.feedback.min.js` | + User Feedback | + in-app feedback widget |\n| `bundle.logs.metrics.min.js` | + Logs + Metrics | Structured logs (CDN) |\n| `bundle.tracing.replay.feedback.logs.metrics.min.js` | Everything | Max coverage |\n\n**Initialize after the script tag:**\n```html\n\u003Cscript>\n  Sentry.init({\n    dsn: \"https:\u002F\u002FYOUR_KEY@o0.ingest.sentry.io\u002FYOUR_PROJECT\",\n    environment: \"production\",\n    release: \"my-app@1.0.0\",\n    integrations: [\n      Sentry.browserTracingIntegration(),\n      Sentry.replayIntegration({\n        maskAllText: true,\n        blockAllMedia: true,\n      }),\n    ],\n    tracesSampleRate: 1.0,\n    tracePropagationTargets: [\"localhost\", \u002F^https:\\\u002F\\\u002Fyourapi\\.io\u002F],\n    replaysSessionSampleRate: 0.1,\n    replaysOnErrorSampleRate: 1.0,\n  });\n\u003C\u002Fscript>\n```\n\n**CDN CSP requirements:**\n```\nscript-src: https:\u002F\u002Fbrowser.sentry-cdn.com https:\u002F\u002Fjs.sentry-cdn.com\nconnect-src: *.sentry.io\n```\n\n---\n\n### For Each Agreed Feature\n\nWalk through features one at a time. Load the reference file, follow its steps, verify before moving on:\n\n| Feature | Reference | Load when... |\n|---------|-----------|-------------|\n| Error Monitoring | `${SKILL_ROOT}\u002Freferences\u002Ferror-monitoring.md` | Always (baseline) |\n| Tracing | `${SKILL_ROOT}\u002Freferences\u002Ftracing.md` | Page load \u002F API call tracing |\n| Session Replay | `${SKILL_ROOT}\u002Freferences\u002Fsession-replay.md` | User-facing app |\n| Logging | `${SKILL_ROOT}\u002Freferences\u002Flogging.md` | Structured log search; npm or CDN logs bundle (not Loader Script) |\n| Profiling | `${SKILL_ROOT}\u002Freferences\u002Fprofiling.md` | Performance-critical, Chromium-only |\n| User Feedback | `${SKILL_ROOT}\u002Freferences\u002Fuser-feedback.md` | Capture user reports after errors |\n\nFor each feature: `Read ${SKILL_ROOT}\u002Freferences\u002F\u003Cfeature>.md`, follow steps exactly, verify it works.\n\n---\n\n## Configuration Reference\n\n### Key `Sentry.init()` Options\n\n| Option | Type | Default | Notes |\n|--------|------|---------|-------|\n| `dsn` | `string` | — | **Required.** SDK disabled when empty |\n| `environment` | `string` | `\"production\"` | e.g., `\"staging\"`, `\"development\"` |\n| `release` | `string` | — | e.g., `\"my-app@1.0.0\"` or git SHA — links errors to releases |\n| `sendDefaultPii` | `boolean` | `false` | Includes IP addresses and request headers. **Will be deprecated in v11** — use `dataCollection` instead |\n| `dataCollection` | `object` | — | Fine-grained control over collected data (v10.54+). See table below |\n| `tracesSampleRate` | `number` | — | 0–1; `1.0` in dev, `0.1–0.2` in prod |\n| `tracesSampler` | `function` | — | Per-transaction sampling; overrides rate |\n| `tracePropagationTargets` | `(string\\|RegExp)[]` | same-origin | Outgoing URLs that receive distributed tracing headers |\n| `replaysSessionSampleRate` | `number` | — | Fraction of all sessions recorded |\n| `replaysOnErrorSampleRate` | `number` | — | Fraction of error sessions recorded |\n| `enableLogs` | `boolean` | `false` | Enable `Sentry.logger.*` API (npm or CDN logs bundle; not Loader Script) |\n| `attachStackTrace` | `boolean` | `false` | Stack traces on `captureMessage()` calls |\n| `maxBreadcrumbs` | `number` | `100` | Breadcrumbs stored per event |\n| `debug` | `boolean` | `false` | Verbose SDK output to console |\n| `tunnel` | `string` | — | Proxy URL to bypass ad blockers |\n| `ignoreErrors` | `(string\\|RegExp)[]` | `[]` | Drop errors matching these patterns |\n| `denyUrls` | `(string\\|RegExp)[]` | `[]` | Drop errors from scripts at these URLs |\n| `allowUrls` | `(string\\|RegExp)[]` | `[]` | Only capture errors from these script URLs |\n| `spotlight` | `boolean\\|string` | `false` | Forward events to Spotlight local dev overlay |\n\n### Browser-Specific Options\n\n| Option | Type | Default | Notes |\n|--------|------|---------|-------|\n| `cdnBaseUrl` | `string` | — | Base URL for lazy-loading integrations |\n| `skipBrowserExtensionCheck` | `boolean` | `false` | Skip check for browser extension context |\n\n### `dataCollection` Option (v10.54+)\n\nFine-grained control over what data the SDK collects. Replaces the simple `sendDefaultPii` boolean with granular settings. When omitted, falls back to `sendDefaultPii` for backwards compatibility.\n\n| Field | Type | Default | Notes |\n|-------|------|---------|-------|\n| `userInfo` | `boolean` | `true` | Auto-populate `user.*` fields from instrumentation |\n| `cookies` | `boolean \\| { allow: string[] } \\| { deny: string[] }` | `true` | Cookie collection; `true` = all (filtered), `false` = none, `allow`\u002F`deny` = specific keys |\n| `httpHeaders` | `{ request?, response? }` | `{ request: true, response: true }` | HTTP header collection; each can be `boolean` or `allow`\u002F`deny` object |\n| `httpBodies` | `string[]` | `[\"incomingRequest\", \"outgoingRequest\", \"incomingResponse\", \"outgoingResponse\"]` | HTTP body types to collect (when `dataCollection` is explicitly set) |\n| `queryParams` | `boolean \\| { allow: string[] } \\| { deny: string[] }` | `true` | Query parameter collection with sensitive value filtering |\n| `genAI` | `{ inputs?, outputs? }` | `{ inputs: true, outputs: true }` | Generative AI input\u002Foutput recording |\n| `stackFrameVariables` | `boolean` | `true` | Capture local variable values in stack frames |\n| `frameContextLines` | `number` | `5` | Source code context lines around stack frames |\n\n**Example:**\n```typescript\nSentry.init({\n  dsn: \"...\",\n  dataCollection: {\n    userInfo: true,\n    cookies: { deny: [\"session_id\", \"auth_token\"] },\n    httpHeaders: {\n      request: { deny: [\"authorization\", \"cookie\"] },\n      response: true,\n    },\n    queryParams: { allow: [\"utm_source\", \"utm_campaign\"] },\n  },\n});\n```\n\n### `window.SENTRY_RELEASE` Global (CDN \u002F Loader Path)\n\nSet the release version before the SDK loads:\n```html\n\u003Cscript>\n  window.SENTRY_RELEASE = { id: \"my-app@1.0.0\" };\n\u003C\u002Fscript>\n```\n\n---\n\n## Verification\n\nTrigger test events to confirm Sentry is receiving data:\n\n**npm \u002F CDN path:**\n```html\n\u003C!-- Add temporarily to your page -->\n\u003Cbutton onclick=\"throw new Error('Sentry Browser Test Error')\">\n  Test Error\n\u003C\u002Fbutton>\n```\n\n**Performance verification (npm path):**\n```javascript\nimport * as Sentry from \"@sentry\u002Fbrowser\";\n\nSentry.startSpan({ name: \"Test Span\", op: \"test\" }, () => {\n  \u002F\u002F your operation\n});\n```\n\n**Manual capture:**\n```javascript\nSentry.captureException(new Error(\"Manual test\"));\nSentry.captureMessage(\"Manual test message\", \"info\");\n```\n\nCheck the Sentry dashboard:\n- **Issues** → error appears within seconds\n- **Traces** → page load transaction visible\n- **Replays** → session recording visible after page interaction\n- **Logs** → structured log entries if logging enabled (npm or CDN logs bundle)\n\nSet `debug: true` in `Sentry.init()` and check the browser console if nothing appears.\n\n---\n\n## Phase 4: Cross-Link\n\nAfter completing browser setup, check for a companion backend missing Sentry coverage:\n\n```bash\nls ..\u002Fbackend ..\u002Fserver ..\u002Fapi ..\u002Fgo ..\u002Fpython 2>\u002Fdev\u002Fnull\ncat ..\u002Fgo.mod 2>\u002Fdev\u002Fnull | head -3\ncat ..\u002Frequirements.txt ..\u002Fpyproject.toml 2>\u002Fdev\u002Fnull | head -3\ncat ..\u002FGemfile 2>\u002Fdev\u002Fnull | head -3\ncat ..\u002Fpom.xml 2>\u002Fdev\u002Fnull | grep '\u003CartifactId>' | head -3\ncat ..\u002Fcomposer.json 2>\u002Fdev\u002Fnull | head -3\n```\n\nIf a backend exists without Sentry configured, suggest the matching skill:\n\n| Backend detected | Suggest skill |\n|-----------------|--------------|\n| Go (`go.mod`) | `sentry-go-sdk` |\n| Python (`requirements.txt`, `pyproject.toml`) | `sentry-python-sdk` |\n| Ruby (`Gemfile`) | `sentry-ruby-sdk` |\n| PHP (`composer.json`) | `sentry-php-sdk` |\n| .NET (`*.csproj`, `*.sln`) | `sentry-dotnet-sdk` |\n| Java (`pom.xml`, `build.gradle`) | See [docs.sentry.io\u002Fplatforms\u002Fjava\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjava\u002F) |\n| Node.js (Express, Fastify) | `sentry-node-sdk` |\n| NestJS (`@nestjs\u002Fcore`) | `sentry-nestjs-sdk` |\n\n---\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Events not appearing | Set `debug: true`, check DSN, open browser console for SDK errors |\n| Source maps not working | Build in production mode (`npm run build`); verify `SENTRY_AUTH_TOKEN` is set |\n| Minified stack traces | Source maps not uploading — check build plugin config; run `npx @sentry\u002Fwizard@latest -i sourcemaps` |\n| CDN bundle not found | Check version number in URL; see [browser.sentry-cdn.com](https:\u002F\u002Fbrowser.sentry-cdn.com\u002F) for latest |\n| SRI integrity error | Hash mismatch — re-copy the full `\u003Cscript>` tag including `integrity` attribute from this skill |\n| Loader Script not firing | Verify it's the **first** `\u003Cscript>` on the page; check for CSP errors in console |\n| Tracing not working with Loader | Fetch calls before SDK loads won't be traced — wrap early calls in `Sentry.onLoad()` |\n| `sentryOnLoad` not called | Must define `window.sentryOnLoad` **before** the loader `\u003Cscript>` tag |\n| Logging not available | `Sentry.logger.*` requires npm or a CDN bundle with `.logs.` in its name — not supported via Loader Script |\n| Profiling not working | Verify `Document-Policy: js-profiling` header on document responses; Chromium-only |\n| Ad blockers dropping events | Set `tunnel: \"\u002Fsentry-tunnel\"` and add a server-side relay endpoint |\n| Session replay not recording | Confirm `replayIntegration()` is in init; check `replaysSessionSampleRate` > 0 |\n| Replay CSP errors | Add `worker-src 'self' blob:` and `child-src 'self' blob:` to your CSP |\n| `tracePropagationTargets` not matching | Check regex escaping; default is same-origin only |\n| Events blocked by browser extension | Add `denyUrls: [\u002Fchrome-extension:\\\u002F\\\u002F\u002F]` to filter extension errors |\n| High event volume | Lower `sampleRate` (errors) and `tracesSampleRate` from `1.0` in production |\n| Source maps uploaded after deploy | Source maps must be uploaded **before** errors occur — integrate into CI\u002FCD |\n| esbuild splitting conflict | `sentryEsbuildPlugin` doesn't support `splitting: true` — use `sentry-cli` instead |\n",{"name":5,"parent":24,"license":15,"category":25,"description":7,"disable-model-invocation":26},"sentry-sdk-setup","sdk-setup",true,"main","b1e4ffadb4f933bbbcaa03a83f8b9929171ac28b",".agents\u002Fskills\u002Fsentry-browser-sdk",0,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR","https:\u002F\u002Fgithub.com\u002FHazek-dc","2026-10-22 08:36:44",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":26},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill sentry-browser-sdk",{"tool":40,"command":41},"bunx","bunx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill sentry-browser-sdk",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill sentry-browser-sdk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-browser-sdk\u002FSKILL.md",[47,53,57,61,65,69],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Ferror-monitoring.md","REFERENCE","参考文档",25334,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-browser-sdk\u002Freferences\u002Ferror-monitoring.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Flogging.md",11201,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-browser-sdk\u002Freferences\u002Flogging.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fprofiling.md",7629,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-browser-sdk\u002Freferences\u002Fprofiling.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fsession-replay.md",18788,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-browser-sdk\u002Freferences\u002Fsession-replay.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Ftracing.md",19415,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-browser-sdk\u002Freferences\u002Ftracing.md",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fuser-feedback.md",10782,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-browser-sdk\u002Freferences\u002Fuser-feedback.md",[74,82,89,96,103,110],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7DS6GGYRZAYD33PFPS8Z2T3","testing-best-practices","Laravel test design and review. Use when selecting coverage, naming or structuring tests, choosing assertions or test data, isolating dependencies, testing HTTP or security boundaries, improving suite performance, or reviewing test value. Use framework guidance or search-docs for Pest and PHPUnit syntax.","MIT","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftesting-best-practices\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7DS6BC3AW7HTPRHE2TTVKWM","tailwindcss-development","Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex\u002Fgrid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3\u002Fv4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML\u002FCSS component, CSS file audits, build tool configuration, and vanilla CSS.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftailwindcss-development\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7DS66GE6B11MYJDVC74HXM4","laravel-best-practices","Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Flaravel-best-practices\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7DS5ZW717DMS6P1E90AQCKV","infer-conventions","Use this skill to analyze how a Laravel application is actually written and record its conventions as shared rules. Trigger when the user wants to detect, infer, document, or standardize project conventions or coding style, set up or grow `.ai\u002Frules`, resolve mixed or conflicting patterns (e.g. \"are we using Form Requests or inline validation?\"), or onboard agents and teammates to \"how we do things here\". Covers: a systematic sweep of ~49 Laravel convention dimensions (validation, models, architecture, testing, frontend, database, console), open-ended house-pattern discovery, conflict reporting, and recording rules scoped to the right paths via the Boost `record-rule` MCP tool. Only run this skill when the user explicitly asks for it; never start a sweep as part of another task. Do not use for one-off code review, enforcing formatting a linter already handles, or editing `.ai\u002Frules` files by hand.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finfer-conventions\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7DS5W12RGCVJTFQJ1N0GB8E","inertia-react-development","Develops Inertia.js v2 React client-side applications. Activates when creating React pages, forms, or navigation; using \u003CLink>, \u003CForm>, useForm, or router; working with deferred props, prefetching, or polling; or when user mentions React with Inertia, React pages, React forms, or React navigation.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finertia-react-development\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7DS5PVDPMPCWSK2RXPDC9BB","deploying-to-cloud","Deploys and manages Laravel applications on Laravel Cloud using the `cloud` CLI. Use when the user wants to deploy an app, ship to Cloud, create or manage applications, environments, databases, caches, object storage, queues, domains, instances, background processes, secrets, compute, scheduled tasks, or Laravel Cloud infrastructure; or check billing, usage, or spend. Triggers on deployment, shipping, Cloud management, environment setup, database provisioning, billing or usage queries, the `cloud` CLI, and Laravel Cloud deployment troubleshooting.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Fdeploying-to-cloud\u002FSKILL.md",[],[]]