getsentry avatar

Sentry Cocoa Sdk

This is a comprehensive wizard that walks you through setting up Sentry's Cocoa SDK across all Apple platforms. It detects your project structure (SwiftUI vs UIKit, SPM vs CocoaPods), recommends which features to enable based on what it finds, then guides you through installation and configuration with concrete code snippets. Covers error monitoring, tracing, profiling, session replay, and logging with opinionated defaults that work out of the box. The skill is aware of platform quirks like iOS 26's Liquid Glass rendering breaking replay and Xcode 14's sandbox issues with CocoaPods. It pushes you toward the Sentry wizard for the fastest setup but includes full manual paths if you need them. Good balance of hand-holding and technical depth.

skills.sh installs
3.6K
GitHub stars
277
last updated
Aug 21, 2026

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-cocoa-sdk --agent claude-code

Installs into .claude/skills of the current project.

Files

All Skills > SDK Setup > Cocoa SDK

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, or metrics in Swift
  • 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.15.0). 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 -rEi "sentry|sentry-cocoa|SentrySPM|SentrySwiftUI" \
  --include="Package.swift" --include="Podfile" --include="Cartfile" \
  --include="Package.resolved" --include="project.pbxproj" . 2>/dev/null | head -20

Sponsors

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
DevOps & CI/CD, Debugging, Mobile Development
First seen
May 16, 2026

More from getsentry/sentry-for-ai

All 31
1trailofbits avatardebug-buttercuptrailofbits/skillsDebugs the Buttercup CRS (Cyber Reasoning System) running on Kubernetes. Use when diagnosing pod crashes, restart loops, Redis failures, resource pressure, disk3.5Kskills.sh installs
2dotnet avatarconfiguring-opentelemetry-dotnetdotnet/skillsConfigure OpenTelemetry distributed tracing, metrics, and logging in ASP.NET Core using the .NET OpenTelemetry SDK. Use when adding observability, setting up OT3.4Kskills.sh installs
3getsentry avatarsentry-node-sdkgetsentry/sentry-for-aiFull Sentry SDK setup for Node.js, Bun, and Deno. Use when asked to "add Sentry to Node.js", "add Sentry to Bun", "add Sentry to Deno", "install @sentry/node", 3.4Kskills.sh installs
4cloudflare avatarbuilding-mcp-server-on-cloudflarecloudflare/skillsBuilds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment. Generates server code, con3.4Kskills.sh installs
5nvidia avatarrag-blueprintnvidia/skillsNVIDIA RAG Blueprint — deploy, configure, troubleshoot, and manage. Handles any RAG action: deploy, install, start, enable, disable, toggle, change, configure, 3.4Kskills.sh installs
6forcedotcom avatarcreating-b2b-commerce-storeforcedotcom/sf-skillsInteractive workflow to create Commerce B2B Stores and retrieve storefront metadata. Use when users want to: create B2B Commerce stores, build Commerce storefro3.3Kskills.sh installs