New advertisers: 50% off your first month with code FIRSTMONTHSee slots
getsentry avatar

Sentry Browser Sdk

Full Sentry browser SDK setup wizard for vanilla JavaScript, jQuery, static sites, and WordPress.

skills.sh installs
3.1K
GitHub stars
280
last updated
Aug 21, 2026
View on GitHub

What it does

  • Scans the project for frameworks first, redirecting to framework-specific Sentry SDKs when one is detected
  • Covers three install paths: npm for bundler projects, Loader Script for WordPress and Shopify, and CDN bundle for static HTML
  • Recommends Error Monitoring, Tracing, and Session Replay, with optional User Feedback, Logging, and Profiling
  • Requires @sentry/browser version 10.0.0 or later and verifies APIs against the Sentry docs before implementing

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-browser-sdk -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

All Skills > SDK Setup > Browser SDK

Sentry Browser SDK

Opinionated 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.

Invoke This Skill When

  • User asks to "add Sentry to a website" or set up Sentry for plain JavaScript
  • User wants to install @sentry/browser or configure the Loader Script
  • User has a WordPress, Shopify, Squarespace, or static HTML site
  • User wants error monitoring, tracing, session replay, or logging without a framework
  • No framework-specific SDK applies

Note: SDK versions and APIs below reflect @sentry/browser ≥10.0.0. Always verify against docs.sentry.io/platforms/javascript/ before implementing.


Phase 1: Detect

CRITICAL — Check for frameworks first. Framework-specific SDKs provide significantly better coverage and must be recommended before proceeding with @sentry/browser.

Step 1A: Framework Detection (Redirect If Found)

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
Frontend & UI Code, DevOps & Cloud, Debugging
First seen
Apr 16, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry Browser Sdk

More Frontend & UI Code