Official agent skill

Sentry Snapshots Cocoa

by getsentry in getsentry/sentry-for-ai

Full Sentry Snapshots setup for Apple/Cocoa projects. An agent skill from getsentry/sentry-for-ai.

OfficialApache-2.0Auto-check passedDevOps & Cloud

Install Sentry Snapshots Cocoa

skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install getsentry/sentry-for-ai sentry-snapshots-cocoa --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/getsentry/sentry-for-ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/skills/sentry-snapshots-cocoa .claude/skills/sentry-snapshots-cocoa && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sentry-snapshots-cocoa
GitHub stars
268
Token cost
~1.4k tokens
SKILL.md length
442 words
Files
7 (incl. references)
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0

At a glance

Full Sentry Snapshots setup for Apple/Cocoa projects. An agent skill from getsentry/sentry-for-ai.

  • Works in 4 steps: Select or create the image generator → For SnapshotPreviews, stop before… → For setup or verification → …
  • Asked to setup SnapshotPreviews
  • SKILL.md covers Scope, Detect, Route and Optional References, plus 1 more section
  • Calls swift; needs SENTRY_AUTH_TOKEN

What it does

Sentry Snapshots Cocoa is an agent skill from getsentry/sentry-for-ai, published by the product's own GitHub organization. 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".

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/github-actions-fanout.md`, `references/github-actions-simple.md` and `references/github-actions-swift-snapshot-testing.md`).

It sits in DevOps & Cloud, covering CI/CD. It works with Sentry and GitHub Actions. The repository describes itself as: Teach your AI coding assistant how to use Sentry - setup, debugging, alerts, and more. The licence is Apache-2.0.

When your agent uses it

  • Asked to setup SnapshotPreviews
  • Setup Apple snapshot testing
  • Upload Apple snapshots to Sentry
  • Setup Apple snapshot GitHub Actions

Example prompts

  • “setup SnapshotPreviews”
  • “setup Apple snapshot testing”
  • “upload Apple snapshots to Sentry”
  • “/sentry-snapshots-cocoa”

Requirements

  • A credential in SENTRY_AUTH_TOKEN

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Select or create the image generator
  2. For SnapshotPreviews, stop before setup/verification/CI if there is no .xcodeproj
  3. For setup or verification
  4. For GitHub Actions/CI only after an image generator exists

What it can do on your machine

Read from SKILL.md and the folder at commit d8fd106. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • swift

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SENTRY_AUTH_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sentry Snapshots Cocoa loads about 1.4k tokens when it runs, and up to ~9.2k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 442 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from getsentry/sentry-for-ai at commit d8fd106, republished under its Apache-2.0 licence (© getsentry). 442 words, ~1,359 tokens.

Download SKILL.mdSave it as .claude/skills/sentry-snapshots-cocoa/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
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

Sentry Snapshots for Apple/Cocoa

Scope

  • Goal: generate Apple snapshot images and upload them to Sentry Snapshots.
  • Detect existing snapshot generation first, including Point-Free swift-snapshot-testing; preserve it when it already emits or can emit PNGs or JPEGs.
  • Use the Sentry Wizard appleSnapshots flow only when setting up Sentry’s first-party SnapshotPreviews solution.
  • Use manual setup only if the wizard is unavailable, cannot resolve targets non-interactively after disambiguation, or fails after explicit disambiguation.
  • Package-only SwiftPM: stop and ask for the host app/test target; standalone swift test rendering is not supported.

Detect

Do only enough detection to route before calling the wizard:

bash
# 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.

Route

Resolve routing in this order; setup is the primary path and CI is optional follow-up.

  1. Select or create the image generator:
    • named generator wins;
    • multiple existing generators with no user choice -> ask;
    • existing non-SnapshotPreviews generator -> preserve it;
    • existing SnapshotPreviews -> use it;
    • no existing generator -> set up SnapshotPreviews by default for Sentry Snapshots or 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:
    • existing non-SnapshotPreviews generator -> read references/snapshots.md;
    • existing SnapshotPreviews -> read references/snapshot-previews.md and references/snapshots.md;
    • new SnapshotPreviews setup -> read references/wizard-setup.md;
    • wizard reports no Swift previews -> ask before adding previews or choosing another generator.
  4. For GitHub Actions/CI only after an image generator exists:
    • Point-Free swift-snapshot-testing -> read references/github-actions-swift-snapshot-testing.md and references/snapshots.md;
    • other non-SnapshotPreviews generator -> read references/snapshots.md and adapt existing CI/upload;
    • SnapshotPreviews, one simulator only, no matrix/fanout/selective CI -> read references/github-actions-simple.md;
    • SnapshotPreviews with multiple simulators, device families, matrix, or any selective CI -> read references/github-actions-fanout.md and references/snapshot-previews.md.
Show full SKILL.md (117 more words)Show less

Optional References

NeedRead
First-party SnapshotPreviews setup, disambiguation, or manual fallbackreferences/wizard-setup.md
SnapshotPreviews metadata, rendering preferences, selective rendering, or SnapshotPreviews-specific troubleshootingreferences/snapshot-previews.md
Upload any generated snapshot images to Sentry with Fastlane, sentry-cli, manifests, CI notes, or upload troubleshootingreferences/snapshots.md
One-destination GitHub Actions workflowreferences/github-actions-simple.md
Multi-destination/fan-out GitHub Actions workflowreferences/github-actions-fanout.md
Point-Free swift-snapshot-testing GitHub Actions workflowreferences/github-actions-swift-snapshot-testing.md

Completion Checks

  • The selected snapshot image generator is documented and preserved or configured according to the route above.
  • Snapshot generation appears in the relevant local or CI test logs.
  • Export directory contains .png files and any generated .json sidecars.
  • Upload succeeds and prints a Sentry URL or snapshot id.
  • Base branch upload is full; selective PR upload includes the full image-name manifest.

© getsentry, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in src/skills/sentry-snapshots-cocoa of getsentry/sentry-for-ai.

  • SKILL.md
  • references/github-actions-fanout.md
  • references/github-actions-simple.md
  • references/github-actions-swift-snapshot-testing.md
  • references/snapshot-previews.md
  • references/snapshots.md
  • references/wizard-setup.md

Open the folder on GitHubat commit d8fd106

Compare with similar skills

Sentry Snapshots Cocoa next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sentry Snapshots Cocoa compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sentry Snapshots Cocoa this skillgetsentry/sentry-for-ai268—~1.4kAutomated safety check: PassApache-2.0
Bump Sentry Dependencygetsentry/sentry46k—~815Automated safety check: PassCustom licence
Sentry CI Integrationjeremylongshore/tons-of-skills-marketplace2.8k—~4.3kAutomated safety check: PassMIT
GitHub Actionscallstackincubator/agent-skills1.7k1 repos~703Automated safety check: PassMIT
CI CD Setuprshankras/claude-code-apple-skills785—~1.5kAutomated safety check: NotesMIT
Review Dependenciestobihagemann/turbo409—~1.5kAutomated safety check: PassMIT

Similar skills

  • Bump Sentry Dependency

    getsentry/sentry

    Official

    Bumps an existing Python dependency in getsentry/sentry through the repository's self-serve GitHub Actions workflow.

    46k GitHub stars~815 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Sentry CI Integration

    jeremylongshore/tons-of-skills-marketplace

    Integrate Sentry into CI/CD pipelines for automated release creation, source map uploads, and deploy notifications.

    2.8k GitHub stars~4.3k tokensUpdated today
    DevOps & CloudAuto-check passed
  • GitHub Actions

    callstackincubator/agent-skills

    Official

    GitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts.

    1.7k GitHub starsUsed in 1 repo~703 tokens
    DevOps & CloudAuto-check passed
  • CI CD Setup

    rshankras/claude-code-apple-skills

    Generate CI/CD configuration for automated builds, tests, and distribution of iOS/macOS apps.

    785 GitHub stars~1.5k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check: notes
  • Review Dependencies

    tobihagemann/turbo

    Detect package managers and CI action pins, then discover outdated or vulnerable dependencies.

    409 GitHub stars~1.5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Update Dependencies

    tobihagemann/turbo

    Upgrade project dependencies with breaking change research for major version updates.

    409 GitHub stars~3k tokensUpdated today
    DevOps & CloudAuto-check passed

More from getsentry/sentry-for-ai

All 32 skills in this repo
  • Sentry Elixir SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Elixir. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Sentry Go SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Go. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • Sentry Nextjs SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Next.js. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~4.7k tokensUpdated today
    Auto-check: notes
  • Sentry Php SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for PHP. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.7k tokensUpdated today
    Auto-check: notes
  • Sentry Python SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Python. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Sentry React Router Framework SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for React Router Framework mode. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.8k tokensUpdated today
    Auto-check: notes

Questions about Sentry Snapshots Cocoa

What does Sentry Snapshots Cocoa do?

Full Sentry Snapshots setup for Apple/Cocoa projects. An agent skill from getsentry/sentry-for-ai. Sentry Snapshots Cocoa is an agent skill from getsentry/sentry-for-ai, published by the product's own GitHub organization. Full Sentry Snapshots setup for Apple/Cocoa projects.

When should I use Sentry Snapshots Cocoa?

Sentry Snapshots Cocoa fits situations like: asked to setup SnapshotPreviews; setup Apple snapshot testing; upload Apple snapshots to Sentry; setup Apple snapshot GitHub Actions.

How do I install Sentry Snapshots Cocoa in Claude Code?

Run `npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a claude-code`. Or copy the skill folder (src/skills/sentry-snapshots-cocoa in getsentry/sentry-for-ai) into .claude/skills/sentry-snapshots-cocoa in your project. Claude Code loads it when a task matches its description.

How do I install Sentry Snapshots Cocoa in Codex?

Run `npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a codex`. Or copy the skill folder (src/skills/sentry-snapshots-cocoa in getsentry/sentry-for-ai) into .agents/skills/sentry-snapshots-cocoa in your project. Codex loads it when a task matches its description.

Can I use Sentry Snapshots Cocoa in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add getsentry/sentry-for-ai --skill sentry-snapshots-cocoa -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sentry-snapshots-cocoa, .gemini/skills/sentry-snapshots-cocoa, .github/skills/sentry-snapshots-cocoa and .opencode/skills/sentry-snapshots-cocoa in your project.

What does Sentry Snapshots Cocoa need to run?

Going by SKILL.md and its folder, Sentry Snapshots Cocoa needs the command-line tools its instructions call (swift) and credentials named SENTRY_AUTH_TOKEN. Our summary lists: A credential in SENTRY_AUTH_TOKEN.

Does Sentry Snapshots Cocoa access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sentry Snapshots Cocoa safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sentry Snapshots Cocoa use?

Sentry Snapshots Cocoa is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sentry Snapshots Cocoa use?

About 1.4k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.8k tokens, read only when the agent opens those files.

What are the alternatives to Sentry Snapshots Cocoa?

Skills that share tags, products or a category with Sentry Snapshots Cocoa: Bump Sentry Dependency (getsentry/sentry, 46k stars), Sentry CI Integration (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), GitHub Actions (callstackincubator/agent-skills, 1.7k stars) and CI CD Setup (rshankras/claude-code-apple-skills, 785 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sentry Snapshots Cocoa?

getsentry (a GitHub organization, an official publisher) maintains it in getsentry/sentry-for-ai, which has 268 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 8, 2026.

Source: getsentry/sentry-for-ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.