Bootstrap iOS
RayFernando1337/rayfernando-skills
Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work.
Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots.
$ npx skills add microsoft/SwiftStreamingMarkdown --skill snapshot-tests -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/SwiftStreamingMarkdown snapshot-tests --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/microsoft/SwiftStreamingMarkdown.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/snapshot-tests .claude/skills/snapshot-tests && rm -rf skills-srcUse ~/.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/
Install the "snapshot-tests" agent skill from https://github.com/microsoft/SwiftStreamingMarkdown/tree/main/.agents/skills/snapshot-tests into .claude/skills/snapshot-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "snapshot-tests", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microsoft/SwiftStreamingMarkdown/tree/main/.agents/skills/snapshot-testsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microsoft/SwiftStreamingMarkdown --skill snapshot-tests -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/SwiftStreamingMarkdown snapshot-tests --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/SwiftStreamingMarkdown.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/snapshot-tests .agents/skills/snapshot-tests && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "snapshot-tests" agent skill from https://github.com/microsoft/SwiftStreamingMarkdown/tree/main/.agents/skills/snapshot-tests into .agents/skills/snapshot-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "snapshot-tests", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/SwiftStreamingMarkdown --skill snapshot-tests -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/SwiftStreamingMarkdown snapshot-tests --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/SwiftStreamingMarkdown.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/snapshot-tests .cursor/skills/snapshot-tests && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "snapshot-tests" agent skill from https://github.com/microsoft/SwiftStreamingMarkdown/tree/main/.agents/skills/snapshot-tests into .cursor/skills/snapshot-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "snapshot-tests", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microsoft/SwiftStreamingMarkdown.git --path .agents/skills/snapshot-tests--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microsoft/SwiftStreamingMarkdown --skill snapshot-tests -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/SwiftStreamingMarkdown snapshot-tests --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/SwiftStreamingMarkdown.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/snapshot-tests .gemini/skills/snapshot-tests && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "snapshot-tests" agent skill from https://github.com/microsoft/SwiftStreamingMarkdown/tree/main/.agents/skills/snapshot-tests into .gemini/skills/snapshot-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "snapshot-tests", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microsoft/SwiftStreamingMarkdown snapshot-testsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microsoft/SwiftStreamingMarkdown --skill snapshot-tests -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/SwiftStreamingMarkdown.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/snapshot-tests .github/skills/snapshot-tests && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "snapshot-tests" agent skill from https://github.com/microsoft/SwiftStreamingMarkdown/tree/main/.agents/skills/snapshot-tests into .github/skills/snapshot-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "snapshot-tests", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/SwiftStreamingMarkdown --skill snapshot-tests -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/SwiftStreamingMarkdown snapshot-tests --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/SwiftStreamingMarkdown.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/snapshot-tests .opencode/skills/snapshot-tests && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "snapshot-tests" agent skill from https://github.com/microsoft/SwiftStreamingMarkdown/tree/main/.agents/skills/snapshot-tests into .opencode/skills/snapshot-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "snapshot-tests", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
snapshot-testsRecord and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots.
Snapshot Tests is an agent skill from microsoft/SwiftStreamingMarkdown, published by the product's own GitHub organization. Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering iOS development. It works with iOS, macOS, SwiftUI and Swift. The repository describes itself as: A performant markdown library for iOS & macOS that supports streaming. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 95bb755. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
ghxcodebuildgitxcrunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh and git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Snapshot Tests loads about 2.2k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 945 words of instructions outside code blocks.
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.
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.
The full file from microsoft/SwiftStreamingMarkdown at commit 95bb755, republished under its MIT licence (© microsoft). 945 words, ~2,212 tokens.
.claude/skills/snapshot-tests/SKILL.md (or your agent's skills folder).Workflow for recording and validating swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package.
Trigger when the user asks anything that resolves to one of:
If the request is ambiguous (e.g. "fix the snapshot tests"), validate first (Mode 2) and only re-record after the user confirms the visual changes are intentional.
| Thing | Location |
|---|---|
| Base class for every snapshot test | Tests/MarkdownTextTests/SnapshotTestFoundation/SnapshotTestCase.swift |
| Recording toggle (committed commented out) | line 18 of that file: // isRecording = true |
| Diff-tool configuration | SnapshotTesting.diffTool = "diff-image" in setUp() (line 17) |
| Reference PNGs | Tests/MarkdownTextTests/__Snapshots__/<TestClass>/ |
| Failed PNGs (written by the test run) | DerivedData; their absolute paths show up in failure messages |
Because diffTool is the string "diff-image", swift-snapshot-testing
formats every failure message with a literal line shaped exactly like:
diff-image <reference-png-path> <failed-png-path>That is the hook this skill keys off of.
xcodebuild test \
-scheme SwiftStreamingMarkdown \
-destination "platform=iOS Simulator,OS=26.4.1,name=iPhone 17" \
-skipMacroValidation 2>&1 | tee /tmp/snapshot-tests.logAlways tee to a log file — the Mode 2 grep below depends on it.
If the iPhone 17 / iOS 26.4.1 destination is unavailable on the
developer's machine, list installed simulators with
xcrun simctl list devices available | head -30 and substitute an
equivalent iOS Simulator destination.
sed -i '' 's|// isRecording = true|isRecording = true|' \
Tests/MarkdownTextTests/SnapshotTestFoundation/SnapshotTestCase.swiftgrep -n "isRecording" Tests/MarkdownTextTests/SnapshotTestFoundation/SnapshotTestCase.swiftisRecording = true and no leading //.sed -i '' 's|^\([[:space:]]*\)isRecording = true|\1// isRecording = true|' \
Tests/MarkdownTextTests/SnapshotTestFoundation/SnapshotTestCase.swiftgrep -n "isRecording" Tests/MarkdownTextTests/SnapshotTestFoundation/SnapshotTestCase.swift// isRecording = true.git status Tests/MarkdownTextTests/__Snapshots__/A local xcodebuild ... -destination "platform=iOS Simulator,..." run only
regenerates the iOS variants (iPhone16-*, iPadPro11-*,
iPadPro11Landscape-*). The macOS variants (macOS-standard-light,
macOS-standard-dark) are not produced by that run.
Do not record macOS references on a developer machine. The macOS
variants use a strict perceptualPrecision: 1.0, so even a one-off
subpixel/font-rendering difference between a local macOS version and the CI
runner's macOS version fails validation. Locally-recorded macOS PNGs will
almost always mismatch CI.
macOS references are recorded by the dedicated Record macOS Snapshots
workflow (.github/workflows/record-macos-snapshots.yml), a
workflow_dispatch job on runs-on: macos-26. It flips isRecording on,
deletes the existing *macOS*.png references, re-records them with
-destination "platform=macOS", and uploads the fresh PNGs as the
macos-snapshots artifact. (The record step's continue-on-error: true
means the run reports success even though xcodebuild test exits non-zero in
record mode.)
Note the workflow re-records the entire macOS suite, so the artifact
contains every *.macOS-standard-*.png — copy back only the files your
change actually affects, so you don't churn unrelated references against a
possibly-different runner rendering.
microsoft/SwiftStreamingMarkdownorigin.gh workflow run "Record macOS Snapshots" --ref <branch>
gh run watch "$(gh run list --workflow 'Record macOS Snapshots' \
--branch <branch> --limit 1 --json databaseId -q '.[0].databaseId')" \
--exit-statusgh run download <run-id> -n macos-snapshots -D /tmp/macos-snaps
cp /tmp/macos-snaps/<TestMethod>.macOS-standard-*.png \
Tests/MarkdownTextTests/__Snapshots__/<TestClass>/workflow_dispatch only lists branches that exist in
microsoft/SwiftStreamingMarkdown; a fork PR's head branch is not
selectable, and the base repo cannot dispatch a workflow against a fork
branch. Mirror the branch onto origin first (requires write access to the
base repo — e.g. a maintainer updating a contributor's PR):
gh pr checkout <pr-number>) and push a
temporary mirror to origin:git push origin <local-branch>:pr-<n>-macos-recordRecord macOS Snapshots against pr-<n>-macos-record (same
gh workflow run / gh run watch as above). The mirror carries the same
code state, so the recorded PNGs match the PR's rendering.macos-snapshots artifact and copy only the affected PNGs
over the references in your local PR-branch working tree.git push to the fork PR branch (the local
branch already tracks the fork via gh pr checkout).git push origin --delete pr-<n>-macos-recordSo the normal flow for a rendering change is: record iOS locally, push, then
backfill the affected macOS references from the Record macOS Snapshots
workflow artifact in a follow-up commit.
| tee /tmp/snapshot-tests.log).** TEST SUCCEEDED **, report success and stop.grep -E "^diff-image " /tmp/snapshot-tests.log | sort -udiff-image <reference-png> <failed-png>. Reference
paths sit under …/__Snapshots__/<TestClass>/<testMethod>.<variant>.png;
failed paths sit under DerivedData.grep -E "Test Case .* failed" /tmp/snapshot-tests.log | sort -uview tool to open both PNGs inline so the user sees them
in the chat.diff-image … command verbatim so the user can
reproduce the side-by-side comparison locally.SnapshotTestCase.swift with isRecording = true
uncommented. Make the post-Mode-1 grep mandatory; if the working
tree contains the uncommented form, restore it before any commit.xcodebuild test exits non-zero in recording mode. That is not a
build failure; do not retry or escalate.grep / shell tokenisation is safe; do not introduce paths with
spaces in Tests/MarkdownTextTests/__Snapshots__/.© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/snapshot-tests of microsoft/SwiftStreamingMarkdown.
Open the folder on GitHubat commit 95bb755
Snapshot Tests 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Snapshot Tests this skillmicrosoft/SwiftStreamingMarkdown | 377 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Bootstrap iOSRayFernando1337/rayfernando-skills | 130 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Swift Developmentaiskillstore/marketplace | 430 | — | ~1.8k | Automated safety check: Pass | None | |
| Swiftui Expert SkillAvdLee/SwiftUI-Agent-Skill | 3.7k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Swiftui Expert SkillEslzzyl/Pixiv-SwiftUI | 111 | 5 repos | ~3.1k | Automated safety check: Pass | AGPL-3.0 | |
| Hig Project Contextraintree-technology/hig-doctor | 142 | 5 repos | ~1.2k | Automated safety check: Pass | MIT |
RayFernando1337/rayfernando-skills
Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work.
aiskillstore/marketplace
Comprehensive Swift development for building, testing, and deploying iOS/macOS applications.
AvdLee/SwiftUI-Agent-Skill
A skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state and @Observable data flow, view composition, resizable layouts, safe areas, display…
Eslzzyl/Pixiv-SwiftUI
A skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management and @Observable data flow, view composition and invalidation/performance…
raintree-technology/hig-doctor
Create or update a shared Apple design context document that other HIG skills use to tailor guidance.
raintree-technology/hig-doctor
Apple Human Interface Guidelines for content display components.
microsoft/SwiftStreamingMarkdown
Prepare and publish SwiftStreamingMarkdown pull requests end-to-end: generate PR description, commit changes, create/push branch, and open a PR when needed.
Categories
Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots. Snapshot Tests is an agent skill from microsoft/SwiftStreamingMarkdown, published by the product's own GitHub organization. Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots.
Snapshot Tests fits situations like: tasks that involve iOS development.
Run `npx skills add microsoft/SwiftStreamingMarkdown --skill snapshot-tests -a claude-code`. Or copy the skill folder (.agents/skills/snapshot-tests in microsoft/SwiftStreamingMarkdown) into .claude/skills/snapshot-tests in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microsoft/SwiftStreamingMarkdown --skill snapshot-tests -a codex`. Or copy the skill folder (.agents/skills/snapshot-tests in microsoft/SwiftStreamingMarkdown) into .agents/skills/snapshot-tests in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/SwiftStreamingMarkdown --skill snapshot-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/snapshot-tests, .gemini/skills/snapshot-tests, .github/skills/snapshot-tests and .opencode/skills/snapshot-tests in your project.
Going by SKILL.md and its folder, Snapshot Tests needs the command-line tools its instructions call (gh, xcodebuild, git and xcrun).
SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Snapshot Tests is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Snapshot Tests: Bootstrap iOS (RayFernando1337/rayfernando-skills, 130 stars), Swift Development (aiskillstore/marketplace, 430 stars), Swiftui Expert Skill (AvdLee/SwiftUI-Agent-Skill, 3.7k stars) and Swiftui Expert Skill (Eslzzyl/Pixiv-SwiftUI, 111 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microsoft (a GitHub organization, an official publisher) maintains it in microsoft/SwiftStreamingMarkdown, which has 377 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 25, 2026.
Source: microsoft/SwiftStreamingMarkdown on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.