getsentry avatar

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-code

Installs 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
1casper-studios avatardata-analysiscasper-studios/casper-marketplaceData analysis, visualization, and storytelling skill for financial and RevOps contexts. Use when: analyzing revenue data, building forecasts, cohort analysis, c333skills.sh installs
2davila7 avatarllm-app-patternsdavila7/claude-code-templatesProduction-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI ap326skills.sh installs
3getsentry avatarsentry-go-sdkgetsentry/sentry-agent-skillsFull Sentry SDK setup for Go. Use when asked to "add Sentry to Go", "install sentry-go", "setup Sentry in Go", or configure error monitoring, tracing, logging, 321skills.sh installs
4jezweb avatarstreamlit-snowflakejezweb/claude-skillsBuild and deploy Streamlit apps natively in Snowflake. Covers snowflake.yml scaffolding, Snowpark sessions, multi-page structure, Marketplace publishing as Nati320skills.sh installs
5getsentry avatarsentry-svelte-sdkgetsentry/sentry-agent-skillsFull Sentry SDK setup for Svelte and SvelteKit. Use when asked to "add Sentry to Svelte", "add Sentry to SvelteKit", "install @sentry/sveltekit", or configure e319skills.sh installs
6sattva2020 avatardokploy-api-mcpsattva2020/skillsDeploy and manage applications on Dokploy (self-hosted PaaS). Use when deploying apps, managing Docker Compose services, databases (PostgreSQL, MySQL, MariaDB, 312skills.sh installs