
Sentry React Sdk
getsentry/sentry-for-aiOfficial
Official Sentry SDK setup for React apps covering errors, tracing, session replay, profiling, and logging.
- skills.sh installs
- 3.3K
- GitHub stars
- 280
- last updated
- Aug 21, 2026
What it does
- Covers Sentry initialization for React, from
src/instrument.tsthrough entry-point wiring and router-aware tracing - Includes React 19
reactErrorHandler()and React 16 to 18Sentry.ErrorBoundarypatterns, plus Redux and Vite source map setup - Recommends error monitoring, tracing, and session replay by default, with logging and profiling as optional additions
- Designed for React projects on React Router v5 to v7 non-framework mode, TanStack Router, Redux, Vite, or webpack
Install
$ npx -y skills add getsentry/sentry-for-ai --skill sentry-react-sdk -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
All Skills > SDK Setup > React SDK
Sentry React SDK
Opinionated wizard that scans your React project and guides you through complete Sentry setup.
Invoke This Skill When
- User asks to "add Sentry to React" or "set up Sentry" in a React app
- User wants error monitoring, tracing, session replay, profiling, or logging in React
- User mentions
@sentry/react, React Sentry SDK, or Sentry error boundaries - User wants to monitor React Router v5/v6/v7 non-framework navigation, Redux state, or component performance
If project is React Router Framework mode using @sentry/react-router, use sentry-react-router-framework-sdk instead of this skill.
Note: SDK versions and APIs below reflect current Sentry docs at time of writing (
@sentry/react≥8.0.0). Always verify against docs.sentry.io/platforms/javascript/guides/react/ before implementing.
Phase 1: Detect
Run these commands to understand the project before making any recommendations:
# Detect React version
cat package.json | grep -E '"react"|"react-dom"'
Details
- Repository
- github.com/getsentry/sentry-for-ai
- Categories
- Frontend & UI Code, Debugging
- First seen
- Apr 16, 2026
More from getsentry/sentry-for-ai
All 27- Sentry Sdk Upgrade3.2K
- Sentry Setup Ai Monitoring3.1K
- Sentry Browser Sdk3.1K
- Sentry Cloudflare Sdk2.8K
- Sentry Python Sdk2.7K
- Sentry Nestjs Sdk2.6K
- Sentry Sdk Skill Creator2.5K
- Sentry Otel Exporter Setup2.5K
- Sentry Android Sdk2.4K
- Sentry Dotnet Sdk2.4K
- Sentry Php Sdk2.4K
- Sentry Flutter Sdk2.3K
- Sentry Go Sdk2.3K
- Sentry Svelte Sdk2.3K
- Sentry Ruby Sdk2.2K
- Sentry Elixir Sdk2.1K
- Sentry Tanstack Start Sdk2K
- Sentry React Router Framework Sdk2K
- Sentry Instrumentation Guide1.3K
- Sentry Fix Issues10.7K
- Sentry Create Alert4.4K
- Sentry React Native Sdk4.2K
- Sentry Nextjs Sdk3.8K
- Sentry Sdk Setup3.8K
Similar to Sentry React Sdk
More Frontend & UI Code
sentry-react-router-framework-sdkSkillgetsentry/sentry-for-ai2K installsSentry SDK setup for React Router v7 framework apps covering errors, tracing, replay, logs, and feedback.
sentry-tanstack-start-sdkSkillgetsentry/sentry-for-ai2K installsSentry SDK setup for TanStack Start React covering browser and server error monitoring, tracing, and replay.
sentryPluginTheBushidoCollective/han201 starsBest practices and patterns for Sentry error monitoring and observability.
error-trackingSkillaj-geddes/useful-ai-prompts465 installsSentry-based error tracking that captures exceptions, releases, and performance issues in production.
apollo-clientSkillapollographql/skills5.8K installsGuide for building React apps with Apollo Client 4.x covering queries, mutations, caching, and local state.