Daniel Griesser 3449f95de9 fix(nestjs-sdk): address review findings — add ai-monitoring.md, fix API names and inconsistencies
Fixes 1 P0 and 7 P1 issues from code review:

P0: Add missing references/ai-monitoring.md — was referenced in two
dispatch tables but did not exist. Covers OpenAI, Vercel AI SDK,
Anthropic, Google GenAI, and LangChain with NestJS-specific examples.

P1 fixes:
- Remove duplicate MonitorConfig import in crons.md (would not compile)
- Fix Prisma listed as auto-enabled in tracing.md — it requires manual
  prismaIntegration() setup (consistent with SKILL.md)
- Fix anthropicIntegration → anthropicAIIntegration casing in SKILL.md
- Fix profileLifecycle default from 'manual' to 'trace' in SKILL.md
- Clarify crons.md minimum version: withMonitor() is from @sentry/node
  7.76.0+, not @sentry/nestjs (which started at 8.x)

Co-Authored-By: Claude Sonnet 4 (Anthropic)
2026-03-03 18:35:41 +01:00
2025-11-13 00:46:39 -08:00
2026-02-10 13:28:52 -08:00

Sentry for AI

Your AI coding assistant already knows how to write code. This plugin teaches it Sentry — how to set it up, how to find and fix production issues, and how to get the most out of every feature.

Whether you're adding Sentry to a new project, debugging a spike in errors, or configuring alerts, just ask. The plugin gives your assistant the context it needs to do it right.

Supports Claude Code and Cursor.

What You Can Do

Set up Sentry in any project — SDK setup wizards that detect your stack, recommend the right features, and walk through the full installation. No copy-pasting from docs.

Add Sentry to my Next.js app
Set up Sentry in my Rails project
Add error monitoring to my iOS app

Find and fix production issues — Query your Sentry environment, triage errors, and fix them in place.

/seer What are the top errors in the last 24 hours?
/seer Which issues are affecting the most users?
Fix the recent Sentry errors

Review code with Sentry context — Automatically resolve bugs that Sentry or Seer flag in pull request comments.

Review PR #118 and fix the Sentry comments

Configure monitoring — Set up alerts, instrument AI/LLM calls, connect OpenTelemetry pipelines.

Create a Slack alert for new high-priority issues
Monitor my OpenAI calls with Sentry
Set up OTel Collector with Sentry exporter

Installation

Claude Code

/install-plugin sentry

Restart Claude Code to activate, then verify:

/help           # Should show /seer command
/mcp            # Should show sentry MCP server

Cursor

Search for Sentry in Cursor Settings > Extensions and install.

From Source

git clone https://github.com/getsentry/sentry-for-ai.git

# Claude Code
/install-plugin file:///path/to/sentry-for-ai

# Cursor
# Add the plugin path in Cursor Settings > Extensions > Install from path

Skills

SDK Setup Wizards

Full platform bundles that scan your project, recommend features, and guide you through setup — error monitoring, tracing, profiling, session replay, logging, and more.

Skill Platforms
sentry-cocoa-sdk iOS, macOS, tvOS, watchOS, visionOS (Swift, UIKit, SwiftUI)
sentry-dotnet-sdk ASP.NET Core, MAUI, WPF, WinForms, Azure Functions, Blazor, gRPC
sentry-go-sdk Go (net/http, Gin, Echo, Fiber)
sentry-nestjs-sdk NestJS (Express, Fastify, GraphQL, Microservices, WebSocket)
sentry-nextjs-sdk Next.js App Router + Pages Router, Vercel
sentry-python-sdk Python (Django, Flask, FastAPI, Celery, Starlette, AIOHTTP)
sentry-react-native-sdk React Native, Expo managed/bare
sentry-react-sdk React 16+, React Router v5-v7, TanStack Router, Redux
sentry-ruby-sdk Ruby, Rails, Sinatra, Rack, Sidekiq
sentry-svelte-sdk Svelte, SvelteKit

Feature Setup

Skill Description
sentry-setup-ai-monitoring Instrument OpenAI, Anthropic, LangChain, Vercel AI, Google GenAI
sentry-otel-exporter-setup Configure OTel Collector with Sentry Exporter for multi-project routing

Workflow

Skill Description
sentry-code-review Fix bugs detected by Sentry in GitHub PR comments
sentry-pr-code-review Resolve issues flagged by Seer Bug Prediction
sentry-fix-issues Find and fix Sentry issues using MCP
sentry-create-alert Create alerts using the Sentry workflow engine API

Slash Commands

Command Description
/seer <query> Ask questions about your Sentry environment in natural language

Prerequisites

The plugin configures the Sentry MCP server automatically on install. No extra setup needed.

Some workflow skills require the GitHub CLI:

brew install gh    # macOS
gh auth login

Contributing

Skills follow the Agent Skills specification. Each skill is a directory with a SKILL.md file containing YAML frontmatter and markdown instructions. SDK bundles include a references/ directory for feature-specific deep dives.

Use the sentry-sdk-skill-creator skill to scaffold new SDK bundles — it handles research, writing, and validation.

License

MIT

S
Description
sentry-fix-issues: Find and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in…; sentry-react-native-sdk: Full Sentry SDK setup for React Native and Expo. Use when asked to "add Sentry to React Native", "install @sentry/react-native", "setup Sentry in Expo", or…; sentry-workflow: Keep Sentry SDKs up to date. Use when asked to upgrade the Sentry SDK across major versions, migrate SDK versions, or fix…
Readme MIT 37 MiB
Languages
TypeScript 63.5%
Shell 23.6%
Python 12.4%
JavaScript 0.5%