getsentry avatar

Sentry React Setup

Handles the full Sentry setup for React apps, from installing @sentry/react to configuring error capture, session replay, and tracing. It uses the modern instrument.js pattern and supports React 19's error hooks or the classic ErrorBoundary component for older versions. The skill also wires up browser tracing, Redux integration, and router instrumentation for React Router v4 through v7 and TanStack Router. Source map uploads via @sentry/wizard are included so your production stack traces are actually readable. If you're adding observability to a React app and want the boring setup work done correctly the first time, this gets you there without reading the docs yourself.

skills.sh installs
1.1K
GitHub stars
25
last updated
Aug 21, 2026

Install

$ npx -y skills add getsentry/sentry-agent-skills --skill sentry-react-setup --agent claude-code

Installs into .claude/skills of the current project.

Files

Handles the full Sentry setup for React apps, from installing @sentry/react to configuring error capture, session replay, and tracing. It uses the modern instrument.js pattern and supports React 19's error hooks or the classic ErrorBoundary component for older versions. The skill also wires up browser tracing, Redux integration, and router instrumentation for React Router v4 through v7 and TanStack Router. Source map uploads via @sentry/wizard are included so your production stack traces are actually readable. If you're adding observability to a React app and want the boring setup work done correctly the first time, this gets you there without reading the docs yourself.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/getsentry/sentry-agent-skills
Categories
Frontend Development, DevOps & CI/CD, AI & Agent Building, Debugging, Automation & Workflows

More from getsentry/sentry-agent-skills

All 20
1patternsdev avatarreact-server-componentspatternsdev/skillsTeaches React Server Components for zero-bundle server rendering. Use when components only need server-side data access and don't require client-side interactiv1Kskills.sh installs
2mindrally avatarui-designmindrally/skillsUI design best practices for building accessible, performant, and user-friendly interfaces with modern web standards1Kskills.sh installs
3sickn33 avatarreact-patternssickn33/antigravity-awesome-skillsreact patterns970skills.sh installs
4sickn33 avatarfrontend-developersickn33/antigravity-awesome-skillsfrontend developer964skills.sh installs
5alfredoperez avatarangular-best-practices-primengalfredoperez/angular-best-practicesangular best practices primeng951skills.sh installs
6mindrally avatarastromindrally/skillsExpert in Astro framework with static generation and partial hydration patterns912skills.sh installs