·sentry-react-native-setup
</>

sentry-react-native-setup

getsentry/agent-skills

使用嚮導 CLI 在 React Native 中設置 Sentry。當要求將 Sentry 添加到 React Native、安裝 @sentry/react-native 或為 React Native 或 Expo 應用程序配置錯誤監控時使用。

18安裝·1熱度·@getsentry

安裝

$npx skills add https://github.com/getsentry/agent-skills --skill sentry-react-native-setup

SKILL.md

Install and configure Sentry in React Native projects using the official wizard CLI.

| Install SDK | Adds @sentry/react-native package | | Metro config | Adds @sentry/react-native/metro to metro.config.js | | Expo config | Adds @sentry/react-native/expo to app.json | | Android setup | Enables Gradle build step for source maps | | iOS setup | Wraps Xcode build phase, adds debug symbol upload | | Pod install | Runs pod install for iOS |

| Credentials | Stores in ios/sentry.properties, android/sentry.properties, .env.local | | Init code | Configures Sentry in App.tsx or layout.tsx |

使用嚮導 CLI 在 React Native 中設置 Sentry。當要求將 Sentry 添加到 React Native、安裝 @sentry/react-native 或為 React Native 或 Expo 應用程序配置錯誤監控時使用。 來源:getsentry/agent-skills。

查看原文

可引用資訊

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

安裝指令
npx skills add https://github.com/getsentry/agent-skills --skill sentry-react-native-setup
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 sentry-react-native-setup?

使用嚮導 CLI 在 React Native 中設置 Sentry。當要求將 Sentry 添加到 React Native、安裝 @sentry/react-native 或為 React Native 或 Expo 應用程序配置錯誤監控時使用。 來源:getsentry/agent-skills。

如何安裝 sentry-react-native-setup?

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

這個 Skill 的原始碼在哪?

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