adding-error-tracking

Installation
SKILL.md

Add Error Tracking (Sentry)

Use this skill when the user asks to add error tracking, crash reporting, exception monitoring, or performance tracing.

Steps

  1. Detect the framework — check package.json, config files, and directory structure to determine the stack (Next.js, React, Node.js, Python/Django/Flask, etc.).

  2. Install the SDK

    • Next.js: npx @sentry/wizard@latest -i nextjs
    • React (Vite): npm install @sentry/react
    • Node.js: npm install @sentry/node
    • Python: pip install sentry-sdk
  3. Initialize Sentry

    • For Next.js, the wizard creates sentry.client.config.ts, sentry.server.config.ts, and sentry.edge.config.ts. Verify they exist and contain the DSN.
Related skills
Installs
21
GitHub Stars
271
First Seen
Apr 12, 2026