Skip to content
getsentry avatar

Sentry React Router Framework Sdk

Sentry SDK setup for React Router v7 framework apps covering errors, tracing, replay, logs, and feedback.

CCM score
70 of 100
skills.sh installs
2K
GitHub stars
283
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers client and server entry points: entry.client.tsx, entry.server.tsx, and instrument.server.mjs with a wizard or manual path
  • Includes npx @sentry/wizard@latest -i reactRouter plus step-by-step manual config for Sentry.init, profiling, and request handlers
  • Provides a recommendation flow that enables error monitoring, tracing, and session replay before optional profiling, logs, and feedback
  • Designed for React Router Framework mode; non-framework routing should use sentry-react-sdk instead

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-react-router-framework-sdk -y

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

Files

All Skills > SDK Setup > React Router Framework SDK

Sentry React Router Framework SDK

Opinionated wizard that scans your React Router Framework project and guides you through complete Sentry setup across client and server entry points.

Invoke This Skill When

  • User asks to "add Sentry to React Router Framework" or "set up Sentry in React Router v7 framework mode"
  • User wants to install or configure @sentry/react-router
  • User uses React Router framework entry files (entry.client.tsx, entry.server.tsx) and wants tracing/error capture
  • User asks about reactRouterTracingIntegration, sentryOnError, createSentryHandleRequest, or React Router wizard setup

Important: This SDK is currently beta. For React Router non-framework/data/declarative mode (v5/v6/v7), use sentry-react-sdk with @sentry/react integrations instead.


Phase 1: Detect

Run these commands to understand the project before making any recommendations:

# Detect React Router Framework indicators and versions
cat package.json | grep -E '"react-router"|"@react-router/"|"react-router-dev"|"react-router-serve"'

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
Frontend & UI Code, Debugging
First seen
Jun 3, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry React Router Framework Sdk

More Frontend & UI Code