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.
Install
npx skills add getsentry/sentry-for-ai --skill sentry-nextjs-sdknpx skills add getsentry/sentry-for-ai --skill sentry-nextjs-sdk -a claude-code -gnpx skills add getsentry/sentry-for-ai --skill sentry-nextjs-sdk -a codex -ggemini skills install https://github.com/getsentry/sentry-for-ai.git --path skills-legacy/sentry-nextjs-sdkgh skill install getsentry/sentry-for-ai sentry-nextjs-sdkgit clone --depth 1 https://github.com/getsentry/sentry-for-ai /tmp/getsentry__sentry-for-ai
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/getsentry__sentry-for-ai/skills-legacy/sentry-nextjs-sdk ~/.claude/skills/sentry-nextjs-sdk # Claude Code
cp -R /tmp/getsentry__sentry-for-ai/skills-legacy/sentry-nextjs-sdk ~/.agents/skills/sentry-nextjs-sdk # Codex, Cursor, Gemini CLI, Copilot, OpenCode