error-tracking

Configure Sentry error tracking for React and Node.js applications.

Updated Dec 13, 2025
One-click install
npx skills add https://github.com/imehr/vet --skill error-tracking-imehr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-tracking
Source: https://github.com/imehr/vet/tree/main/.claude/skills/error-tracking
Command: npx skills add https://github.com/imehr/vet --skill error-tracking-imehr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides structured error-tracking patterns for React and Node.js applications using Sentry, enabling teams to consistently capture and analyze runtime errors.

Core Features & Use Cases

  • Context enrichment: attach user, session, and other contextual data to errors.
  • Tags and breadcrumbs: add metadata and navigation trails to help diagnose issues.
  • Performance monitoring: measure transaction timing and traces to spot regressions.
  • Use cases: frontend errors, backend API failures, and production incident triage.

Quick Start

Install the Sentry libraries and integrate them into your project. Then initialize Sentry in your backend and frontend and start capturing errors with captureException.

Frequently Asked Questions about error-tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Sentry error tracking into my React and Node.js applications?

To integrate Sentry error tracking, you must install the standard @sentry/react and @sentry/node npm packages, then initialize the SDK in both environments to capture runtime errors using captureException.

How do breadcrumbs and context enrichment help diagnose frontend errors and backend API failures?

Breadcrumbs and context enrichment help diagnose frontend errors and backend API failures by attaching user session data, metadata tags, and navigation trails to errors, providing a clearer trail of events leading to the issue.

Can I measure transaction timing and performance traces in a Node.js backend using Sentry?

Yes, you can measure transaction timing and performance traces in a Node.js backend using Sentry's performance monitoring features to spot regressions and measure transaction timing across your APIs.

Do I need any specific dependencies to start capturing production incidents with Sentry?

You need to install the standard @sentry/node and @sentry/react npm packages to start capturing production incidents, as no other external dependencies are required to implement these structured error-tracking patterns.

What is the best way to capture user context during a production incident triage?

The best way to capture user context during production incident triage is to apply context enrichment patterns, attaching user, session, and other contextual data directly to the captured errors for analysis.