·sentry-nextjs-sdk
</>

sentry-nextjs-sdk

Next.js 的完整 Sentry SDK 設定。當系統要求「將 Sentry 新增至 Next.js」、「安裝 @sentry/nextjs」或為 Next.js 應用程式設定錯誤監控、追蹤、會話重播、日誌記錄、分析、AI 監控或 cron 時使用。透過 App Router 和 Pages Router 支援 Next.js 13+。

116安裝·7熱度·@getsentry

安裝

$npx skills add https://github.com/getsentry/sentry-agent-skills --skill sentry-nextjs-sdk

如何安裝 sentry-nextjs-sdk

透過命令列快速安裝 sentry-nextjs-sdk AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/getsentry/sentry-agent-skills --skill sentry-nextjs-sdk
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:getsentry/sentry-agent-skills。

SKILL.md

查看原文

Opinionated wizard that scans your Next.js project and guides you through complete Sentry setup across all three runtimes: browser, Node.js server, and Edge.

Note: SDK versions and APIs below reflect current Sentry docs at time of writing (@sentry/nextjs ≥8.28.0). Always verify against docs.sentry.io/platforms/javascript/guides/nextjs/ before implementing.

Run these commands to understand the project before making any recommendations:

Next.js 的完整 Sentry SDK 設定。當系統要求「將 Sentry 新增至 Next.js」、「安裝 @sentry/nextjs」或為 Next.js 應用程式設定錯誤監控、追蹤、會話重播、日誌記錄、分析、AI 監控或 cron 時使用。透過 App Router 和 Pages Router 支援 Next.js 13+。 來源:getsentry/sentry-agent-skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/getsentry/sentry-agent-skills --skill sentry-nextjs-sdk
分類
</>開發工具
認證
收錄時間
2026-02-28
更新時間
2026-03-10

Browse more skills from getsentry/sentry-agent-skills

快速解答

什麼是 sentry-nextjs-sdk?

Next.js 的完整 Sentry SDK 設定。當系統要求「將 Sentry 新增至 Next.js」、「安裝 @sentry/nextjs」或為 Next.js 應用程式設定錯誤監控、追蹤、會話重播、日誌記錄、分析、AI 監控或 cron 時使用。透過 App Router 和 Pages Router 支援 Next.js 13+。 來源:getsentry/sentry-agent-skills。

如何安裝 sentry-nextjs-sdk?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/getsentry/sentry-agent-skills --skill sentry-nextjs-sdk 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/getsentry/sentry-agent-skills