·sentry-ios-swift-setup
</>

sentry-ios-swift-setup

getsentry/sentry-agent-skills

在 iOS/Swift 應用程序中設置 Sentry。當系統要求將 Sentry 添加到 iOS、安裝sentry-cocoa SDK 或使用 Swift 和 SwiftUI 為 iOS 應用程序配置錯誤監控時使用。

42安裝·3熱度·@getsentry

安裝

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

SKILL.md

Install and configure Sentry in iOS projects using Swift and SwiftUI.

| dsn | Sentry DSN | Required | | tracesSampleRate | % of transactions traced | 0 | | sessionReplay.sessionSampleRate | % of sessions replayed | 0 | | sessionReplay.onErrorSampleRate | % of error sessions replayed | 0 | | enableLogs | Send logs to Sentry | false | | attachScreenshot | Attach screenshot on error | false |

| attachViewHierarchy | Attach view hierarchy on error | false |

在 iOS/Swift 應用程序中設置 Sentry。當系統要求將 Sentry 添加到 iOS、安裝sentry-cocoa SDK 或使用 Swift 和 SwiftUI 為 iOS 應用程序配置錯誤監控時使用。 來源:getsentry/sentry-agent-skills。

查看原文

可引用資訊

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

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

快速解答

什麼是 sentry-ios-swift-setup?

在 iOS/Swift 應用程序中設置 Sentry。當系統要求將 Sentry 添加到 iOS、安裝sentry-cocoa SDK 或使用 Swift 和 SwiftUI 為 iOS 應用程序配置錯誤監控時使用。 來源:getsentry/sentry-agent-skills。

如何安裝 sentry-ios-swift-setup?

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

這個 Skill 的原始碼在哪?

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