跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Sentry Next.js SDK Setup

技能 已验证 活跃
属于:Sentry

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.

目的

To provide a complete and guided setup for Sentry SDK in any Next.js application, ensuring robust error monitoring, tracing, and other observability features.

功能

  • Full Sentry SDK setup for Next.js (App and Pages Router)
  • Configuration for browser, Node.js server, and Edge runtimes
  • Guidance on error monitoring, tracing, session replay, logging, profiling, AI monitoring, and crons
  • Automatic detection of project specifics (version, router type)
  • Detailed troubleshooting and verification steps

使用场景

  • When asked to add Sentry to a Next.js project
  • When configuring error monitoring, tracing, or session replay for Next.js
  • When needing to set up AI monitoring or cron job tracking in a Next.js app
  • When troubleshooting Sentry integration issues in a Next.js environment

非目标

  • Configuring Sentry for frameworks other than Next.js
  • General Next.js development or debugging outside of Sentry integration
  • Providing Sentry SDK runtime support (this is a setup skill)

工作流

  1. Detect project specifics (Next.js version, router type, existing Sentry config)
  2. Recommend Sentry features based on detection results
  3. Guide through installation (wizard or manual)
  4. Configure SDK for browser, server, and edge runtimes
  5. Set up source maps for production
  6. Guide through feature-specific setups (error monitoring, tracing, etc.)
  7. Provide verification steps
  8. Suggest cross-linking with backend services
  9. Offer troubleshooting assistance

安装

请先添加 Marketplace

/plugin marketplace add getsentry/sentry-for-ai
/plugin install sentry-for-ai@sentry-plugin-marketplace

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标170
许可证MIT
状态
查看源代码

类似扩展

Sentry React SDK

100

Full Sentry SDK setup for React. Use when asked to "add Sentry to React", "install @sentry/react", or configure error monitoring, tracing, session replay, profiling, or logging for React applications. Supports React 16+, React Router v5-v7 non-framework mode, TanStack Router, Redux, Vite, and webpack.

技能
getsentry

Sentry React Router Framework Sdk

100

Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.

技能
getsentry

Sentry Svelte Sdk

99

Full Sentry SDK setup for Svelte and SvelteKit. Use when asked to "add Sentry to Svelte", "add Sentry to SvelteKit", "install @sentry/sveltekit", or configure error monitoring, tracing, session replay, or logging for Svelte or SvelteKit applications.

技能
getsentry

Sentry .NET SDK

99

Full Sentry SDK setup for .NET. Use when asked to "add Sentry to .NET", "install Sentry for C#", or configure error monitoring, tracing, profiling, logging, or crons for ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions, or any other .NET application.

技能
getsentry

Sentry Browser SDK Setup

99

Full Sentry SDK setup for browser JavaScript. Use when asked to "add Sentry to a website", "install @sentry/browser", or configure error monitoring, tracing, session replay, or logging for vanilla JavaScript, jQuery, static sites, or WordPress.

技能
getsentry

Sentry Tanstack Start Sdk

100

Full Sentry SDK setup for TanStack Start React. Use when asked to "add Sentry to TanStack Start", "install @sentry/tanstackstart-react", or configure error monitoring, tracing, session replay, logs, or user feedback in a TanStack Start React app.

技能
getsentry