LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

sentry-tanstack-start-sdk

Full Sentry SDK setup for TanStack Start React. Use when asked to "add Sentry to TanStack Start", "install @sentry/tanstackstart-react", or configure error monitoring, tracing, session replay, logs, or user feedback in a TanStack Start React app.

249stars30forksUpdated 8/16/2026
Web Development#tanstack#sdk-setup#react#observability#sentry#error-monitoring

Security Assessment

Safe(92/100)
Security Score92/100

About sentry-tanstack-start-sdk

sentry-tanstack-start-sdk is an opinionated setup wizard for adding the Sentry SDK to a TanStack Start React application, covering both browser and server runtimes. It solves the fiddly, error-prone task of wiring Sentry correctly across TanStack Start's client entry, server entry, middleware, and build tooling, guiding the user through error monitoring, tracing, session replay, logs, and user feedback.

The skill runs in three phases. Detect inspects the project (grepping package.json for TanStack and Sentry packages, checking for router/server entry files and vite config, and detecting whether a source-map-upload token is configured) to understand the setup before recommending anything. Recommend leads with a concrete proposal — error monitoring, tracing, and session replay as the core, with logs and user feedback as optional add-ons — rather than open-ended questions. Guide then walks through installing @sentry/tanstackstart-react and configuring the required server error hooks, the Vite plugin, instrument.server.mjs runtime startup, and enrichment APIs. Reference files detail error monitoring, tracing, session replay, logging, user feedback, and framework-specific features.

It is aimed at React developers using TanStack Start who want production-grade error and performance monitoring. Its credential handling follows standard, safe practice: it detects whether SENTRY_AUTH_TOKEN is present by grepping local env files for source-map upload, and reads the token from an environment variable in the Vite config rather than hardcoding or exfiltrating it. The skill notes the SDK is currently alpha and advises verifying against official docs.

FAQ

What does this skill set up?

A complete Sentry SDK installation for TanStack Start React, including error monitoring, tracing, session replay, logs, and user feedback across both browser and server runtimes.

What are the prerequisites?

A TanStack Start React project (documented as compatible with TanStack Start 1.0 RC) and, for source-map upload, a SENTRY_AUTH_TOKEN available in the environment or CI.

How is the auth token handled?

It is read from the SENTRY_AUTH_TOKEN environment variable in the Vite config (optionally via loadEnv or .env.sentry-build-plugin) and used only for Sentry source-map upload. The skill detects its presence by grepping local env files but does not transmit it elsewhere.

Is the SDK production-ready?

The SKILL.md notes the @sentry/tanstackstart-react SDK is currently alpha and documented as compatible with TanStack Start 1.0 RC, and advises verifying against the official Sentry docs before implementing.

What server-side coverage does it configure?

It sets up instrument.server.mjs with server-side Sentry.init, wraps the handler with wrapFetchWithSentry in src/server.ts, and adds sentryGlobalRequestMiddleware and sentryGlobalFunctionMiddleware in src/start.ts.

All Files

7 files
references/error-monitoring.md3.6 KB
View
references/tanstackstart-features.md3.0 KB
View
SKILL.md13.6 KB
View
references/logging.md1.7 KB
View
references/tracing.md3.0 KB
View
references/session-replay.md2.0 KB
View
references/user-feedback.md1.8 KB
View

Install sentry-tanstack-start-sdk

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

getsentry/sentry-for-ai

Related Skills

ccf-idea-reviewer

2,958

ccf-integrity-auditor

2,958

finance-sentiment

3,382

ccf-humanization

2,958