
Sentry Cocoa Sdk
This is a comprehensive wizard that walks you through adding Sentry's iOS/macOS SDK to Apple projects. It detects your existing setup (SwiftUI vs UIKit, package manager, platform targets), recommends which features to enable (error monitoring, tracing, profiling, session replay, logging), then generates the complete initialization code with sensible defaults. The opinionated approach is refreshing: it scans your project first, tells you what you should do rather than asking open-ended questions, and includes specific version notes and gotchas like the iOS 26 session replay caveat and the Xcode sandbox rsync bug. If you have a backend in the same repo, it even offers to link distributed tracing across services.
- skills.sh installs
- 334
- GitHub stars
- 25
- last updated
- Aug 21, 2026
Install
$ npx -y skills add getsentry/sentry-agent-skills --skill sentry-cocoa-sdk --agent claude-codeInstalls into .claude/skills of the current project.
Files
Sentry Cocoa SDK
Opinionated wizard that scans your Apple project and guides you through complete Sentry setup.
Invoke This Skill When
- User asks to "add Sentry to iOS/macOS/tvOS" or "set up Sentry" in an Apple app
- User wants error monitoring, tracing, profiling, session replay, or logging in Swift/ObjC
- User mentions
sentry-cocoa,SentrySDK, or the Apple/iOS Sentry SDK - User wants to monitor crashes, app hangs, watchdog terminations, or performance
Note: SDK versions and APIs below reflect Sentry docs at time of writing (sentry-cocoa 9.5.1). Always verify against docs.sentry.io/platforms/apple/ before implementing.
Phase 1: Detect
Run these commands to understand the project before making any recommendations:
# Check existing Sentry dependency
grep -i sentry Package.swift Podfile Cartfile 2>/dev/null
# Detect UI framework (SwiftUI vs UIKit)
grep -rE "@main|struct.*App.*:.*App" --include="*.swift" . 2>/dev/null | head -5
grep -rE "AppDelegate|UIApplicationMain" --include="*.swift" . 2>/dev/null | head -5
Sponsors
Details
- Repository
- github.com/getsentry/sentry-agent-skills
- Categories
- DevOps & CI/CD, AI & Agent Building, Debugging, Mobile Development
- First seen
- Jun 3, 2026
More from getsentry/sentry-agent-skills
All 20- Sentry Go Sdk321
- Sentry Svelte Sdk319
- Sentry Ruby Sdk311
- Sentry Otel Exporter Setup304
- Sentry Dotnet Sdk303
- Sentry Setup Logging289
- Sentry Setup Tracing253
- Sentry Setup Metrics209
- Sentry React Native Setup150
- Sentry Fix Issues2.6K
- Sentry React Setup1.1K
- Sentry Setup Ai Monitoring900
- Sentry Nextjs Sdk665
- Sentry Pr Code Review637
- Sentry Create Alert596
- Sentry React Sdk586
- Sentry React Native Sdk549
- Sentry Sdk Skill Creator422
- Sentry Python Sdk384