sentry-node-sdk

Automate Sentry integration for Node.js, Bun, and Deno runtimes.

246|29|Updated Nov 10, 2025
One-click install
npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-node-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-node-sdk
Source: https://github.com/getsentry/sentry-for-ai/tree/main/skills/sentry-node-sdk
Command: npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-node-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates Sentry integration for server-side JavaScript runtimes (Node.js, Bun, and Deno) by guiding installation, instrumentation, and error-monitoring setup.

Core Features & Use Cases

  • Phase-based setup workflow: Detect, Recommend, Guide, and Cross-Link to ensure end-to-end coverage.
  • Runtime-specific instrument creation: generates instrument.js, instrument.mjs, or instrument.ts and wires up startup hooks per runtime.
  • Framework-aware error handling: provides runtime- and framework-appropriate error-handler placement and verification steps.
  • Cross-runtime validation: leverages a set of reference materials to verify error monitoring, tracing, logging, profiling, metrics, and crons across Node.js, Bun, and Deno.
  • Use Case: Initialize a backend service with a unified Sentry config across environments and runtimes.

Quick Start

Ask the wizard to set up Sentry for a Node.js project by answering prompts.

Frequently Asked Questions about sentry-node-sdk

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

FAQPage Schema
How do I set up Sentry error tracking for a Node.js backend service?

Sentry error tracking setup for Node.js is automated by detecting your runtime, installing the appropriate @sentry/node SDK, generating instrument files, and configuring framework-specific error handlers to capture exceptions, traces, and logs.

Can I use Sentry for error monitoring in Bun and Deno server-side applications?

Yes, Sentry error monitoring supports Bun and Deno by installing the specific @sentry/bun or @sentry/deno SDK packages, creating runtime-appropriate startup hooks, and wiring unified error tracking across all server-side JavaScript environments.

What is the process for instrumenting a JavaScript backend with Sentry?

Instrumenting a JavaScript backend with Sentry involves detecting the runtime, generating instrument.js, instrument.mjs, or instrument.ts files, and wiring up startup hooks to capture error monitoring, tracing, logging, and profiling data across environments.

Does Sentry SDK setup provide framework-aware error handling for backend applications?

Sentry SDK setup provides framework-aware error handling by placing runtime- and framework-appropriate error handlers within your application architecture, followed by verification steps to ensure backend exceptions are correctly captured and reported.

How do I verify that Sentry tracing and logging are working across Node.js, Bun, and Deno?

Cross-runtime validation for Sentry tracing and logging is achieved by leveraging reference materials to verify error monitoring, profiling, metrics, and crons across Node.js, Bun, and Deno after applying the guided Phase-based setup workflow.

What's the best way to unify Sentry configuration across multiple server-side JavaScript runtimes?

Unifying Sentry configuration across multiple runtimes is best achieved by using a Phase-based setup workflow that detects the environment, recommends the correct SDK, guides instrument file creation, and cross-links verification steps for consistent error tracking.