Thanks to visit codestin.com
Credit goes to officialskills.sh

Back to skills

sentry-nextjs-sdk

Full Sentry SDK setup for Next.js 13+ — App Router and Pages Router, with tracing, replay, and AI monitoring.

Setup & Installation

npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-nextjs-sdk
or paste the link and ask your coding assistant to install it
https://github.com/getsentry/sentry-for-ai/tree/main/skills/sentry-nextjs-sdk
View on GitHub

What This Skill Does

Full Sentry SDK setup for Next.js. Use when asked to add Sentry to Next.js, install @sentry/nextjs, or configure error monitoring, tracing, session replay, logging, profiling, AI monitoring, or crons for Next.js applications. Supports Next.js 13+ with App Router and Pages Router.

Covers both App and Pages Routers in a single, up-to-date flow so teams do not ship subtly broken instrumentation after a Next.js upgrade.

When to use it

  • Adding @sentry/nextjs to an App Router project
  • Enabling session replay on a Pages Router app
  • Wiring AI monitoring into a Next.js LLM feature
  • Configuring tracing for API routes and server actions
  • Standardizing Sentry across a multi-app Next.js monorepo