·sentry-react-sdk
</>

sentry-react-sdk

React 的完整 Sentry SDK 設定。當要求「將 Sentry 新增至 React」、「安裝 @sentry/react」或為 React 應用程式設定錯誤監視、追蹤、會話重播、分析或日誌記錄時使用。支援 React 16+、React Router v5-v7、TanStack Router、Redux、Vite 和 webpack。

95安裝·32熱度·@getsentry

安裝

$npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-react-sdk

如何安裝 sentry-react-sdk

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

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

來源:getsentry/sentry-for-ai。

SKILL.md

查看原文

Opinionated wizard that scans your React project and guides you through complete Sentry setup.

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

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

React 的完整 Sentry SDK 設定。當要求「將 Sentry 新增至 React」、「安裝 @sentry/react」或為 React 應用程式設定錯誤監視、追蹤、會話重播、分析或日誌記錄時使用。支援 React 16+、React Router v5-v7、TanStack Router、Redux、Vite 和 webpack。 來源:getsentry/sentry-for-ai。

可引用資訊

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

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

Browse more skills from getsentry/sentry-for-ai

快速解答

什麼是 sentry-react-sdk?

React 的完整 Sentry SDK 設定。當要求「將 Sentry 新增至 React」、「安裝 @sentry/react」或為 React 應用程式設定錯誤監視、追蹤、會話重播、分析或日誌記錄時使用。支援 React 16+、React Router v5-v7、TanStack Router、Redux、Vite 和 webpack。 來源:getsentry/sentry-for-ai。

如何安裝 sentry-react-sdk?

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

這個 Skill 的原始碼在哪?

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