New advertisers: 50% off your first month with code FIRSTMONTHSee slots
getsentry avatar

Sentry Nestjs Sdk

Guided Sentry SDK setup for NestJS that detects project state and recommends error monitoring, tracing, and more.

skills.sh installs
2.6K
GitHub stars
280
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers a scan-then-recommend workflow: detect the NestJS version, existing Sentry setup, and adapters, then propose features
  • Includes a three-file instrument.ts initialization pattern plus reference guides for profiling, logging, crons, metrics, and AI monitoring
  • Enforces a rule to modify an existing instrument.ts rather than create a duplicate, and avoids installing @sentry/node alongside @sentry/nestjs
  • Designed for NestJS projects on Express or Fastify that need error monitoring, tracing, or crons added

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-nestjs-sdk -y

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

Files

All Skills > SDK Setup > NestJS SDK

Sentry NestJS SDK

Opinionated wizard that scans your NestJS project and guides you through complete Sentry setup.

Invoke This Skill When

  • User asks to "add Sentry to NestJS" or "setup Sentry" in a NestJS app
  • User wants error monitoring, tracing, profiling, logging, metrics, or crons in NestJS
  • User mentions @sentry/nestjs or Sentry + NestJS
  • User wants to monitor NestJS controllers, services, guards, microservices, or background jobs

Note: SDK versions and APIs below reflect @sentry/nestjs 10.x (NestJS 8–11 supported). Always verify against docs.sentry.io/platforms/node/guides/nestjs/ before implementing.


Phase 1: Detect

Run these commands to understand the project before making recommendations:

# Confirm NestJS project
grep -E '"@nestjs/core"' package.json 2>/dev/null

# Check NestJS version
node -e "console.log(require('./node_modules/@nestjs/core/package.json').version)" 2>/dev/null

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
Backend & APIs, DevOps & Cloud
First seen
May 16, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry Nestjs Sdk

More Backend & APIs