sentry-create-alert
Create Sentry alerts using the workflow engine API. Use when asked to create alerts, set up notifications, configure issue…
Full Sentry Snapshots setup for Apple/Cocoa projects. Use when asked to "setup SnapshotPreviews", "setup Apple snapshot testing", "upload Apple snapshots to Sentry", "setup Apple snapshot GitHub Actions", or "setup Apple selective snapshot testing".
Claude Code
$ npx -y skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa --agent claude-code
Codex
$ npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a codex -y
Cursor
$ npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a cursor -y
Gemini CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a gemini-cli -y
GitHub Copilot
$ npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a github-copilot -y
OpenCode
$ npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a opencode -y
Windsurf
$ npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a windsurf -y
name: sentry-snapshots-cocoa description: Full Sentry Snapshots setup for Apple/Cocoa projects. Use when asked to "setup SnapshotPreviews", "setup Apple snapshot testing", "upload Apple snapshots to Sentry", "setup Apple snapshot GitHub Actions", or "setup Apple selective snapshot testing". license: Apache-2.0
`swift-snapshot-testing`; preserve it when it already emits or can emit PNGs or JPEGs.
SnapshotPreviews solution.
non-interactively after disambiguation, or fails after explicit disambiguation.
`swift test` rendering is not supported.
Snapshot uploads send generated images and metadata to Sentry. Confirm the target organization/project and export directory, and check whether the images contain customer data or other sensitive content before uploading. Upload only the selected snapshot output within the user’s requested scope.
Do only enough detection to route before calling the wizard:
# SnapshotPreviews (Sentry first-party) -> prefer wizard / SnapshotPreviews routing find . \( -name Package.swift -o -name Package.resolved -o -path '*/project.pbxproj' \) -print0 2>/dev/null | xargs -0 grep -lE "SnapshotPreviews" 2>/dev/null # Point-Free swift-snapshot-testing -> preserve generator, swift-snapshot-testing CI path find . \( -name Package.swift -o -name Package.resolved -o -path '*/project.pbxproj' \) -print0 2>/dev/null | xargs -0 grep -lE "swift-snapshot-testing|SnapshotTesting|assertSnapshot|__Snapshots__|TEST_RUNNER_SNAPSHOT_TESTING_RECORD" 2>/dev/null # Required wizard input find . -name '*.xcodeproj' -print 2>/dev/null | head -20 # Workflow shape ls fastlane/Fastfile Gemfile 2>/dev/null # Sentry auth presence only -> never print secret values [ -n "$SENTRY_AUTH_TOKEN" ] && echo "SENTRY_AUTH_TOKEN=set" || echo "SENTRY_AUTH_TOKEN=unset" [ -n "$SENTRY_ORG" ] && echo "SENTRY_ORG=set" || echo "SENTRY_ORG=unset" [ -n "$SENTRY_PROJECT" ] && echo "SENTRY_PROJECT=set" || echo "SENTRY_PROJECT=unset"
Record: existing SnapshotPreviews setup, existing snapshot generator/library, output directory if known, Xcode project directory, CI provider, Fastlane, and Sentry auth. For each `.xcodeproj` match, record the containing directory for `--xcode-project-dir`; if `find` prints `./MyApp/MyApp.xcodeproj`, pass `./MyApp`, not the bundle path. Let the wizard detect app targets, hosted XCTest targets, and Swift previews only when no existing generator is present.
Resolve routing in this order; setup is the primary path and CI is optional follow-up.
1. Select or create the image generator:
Apple snapshot testing. 2. For SnapshotPreviews, stop before setup/verification/CI if there is no `.xcodeproj` host app or no hosted XCTest target. These stops do not apply when preserving another generator. 3. For setup or verification:
`references/snapshots.md`;
generator. 4. For GitHub Actions/CI only after an image generator exists:
`references/github-actions-swift-snapshot-testing.md` and `references/snapshots.md`;
existing CI/upload;
`references/github-actions-simple.md`;
selective CI -> read `references/github-actions-fanout.md` and `references/snapshot-previews.md`.
| Need | Read | | --- | --- | | First-party SnapshotPreviews setup, disambiguation, or manual fallback | `references/wizard-setup.md` | | SnapshotPreviews metadata, rendering preferences, selective rendering, or SnapshotPreviews-specific troubleshooting | `references/snapshot-previews.md` | | Upload any generated snapshot images to Sentry with Fastlane, `sentry-cli`, manifests, CI notes, or upload troubleshooting | `references/snapshots.md` | | One-destination GitHub Actions workflow | `references/github-actions-simple.md` | | Multi-destination/fan-out GitHub Actions workflow | `references/github-actions-fanout.md` | | Point-Free `swift-snapshot-testing` GitHub Actions workflow | `references/github-actions-swift-snapshot-testing.md` |
according to the route above.
Your AI coding assistant already knows how to write code. This plugin teaches it Sentry — how to set it up, how to find and fix production issues, and how to get the most out of every feature.
Create Sentry alerts using the workflow engine API. Use when asked to create alerts, set up notifications, configure issue…
Debug and fix a Sentry issue — find it (by link, ID, or search), pull full context (stack trace, breadcrumbs, trace, logs),…
Make Sentry stack traces readable — upload source maps for JavaScript/TypeScript, or debug files for native and mobile (dSYM,…
Guided entry point for using Sentry through your agent. Orients you to your current setup and, for a new project, sets up Sentry…
Instrument an application with Sentry — detect the platform, install and initialize the SDK if needed, and wire up any signal —…
Configure the OpenTelemetry Collector with Sentry Exporter for multi-project routing and automatic project creation. Use when…
Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a…
Call the user on the phone for real-time voice conversations. Use this when you need input, want to report on completed work, or…