Update Swiftui APIs
AvdLee/SwiftUI-Agent-Skill
Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.
Build and capture SwiftUI previews for visual analysis in Codex.
$ npx skills add Iron-Ham/XcodePreviews --skill xcode-preview-capture -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Iron-Ham/XcodePreviews xcode-preview-capture --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/Iron-Ham/XcodePreviews.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/xcode-preview-capture .claude/skills/xcode-preview-capture && 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 "xcode-preview-capture" agent skill from https://github.com/Iron-Ham/XcodePreviews/tree/main/.codex/skills/xcode-preview-capture into .claude/skills/xcode-preview-capture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-preview-capture", 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/Iron-Ham/XcodePreviews/tree/main/.codex/skills/xcode-preview-captureType 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 Iron-Ham/XcodePreviews --skill xcode-preview-capture -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Iron-Ham/XcodePreviews xcode-preview-capture --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Iron-Ham/XcodePreviews.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/xcode-preview-capture .agents/skills/xcode-preview-capture && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xcode-preview-capture" agent skill from https://github.com/Iron-Ham/XcodePreviews/tree/main/.codex/skills/xcode-preview-capture into .agents/skills/xcode-preview-capture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-preview-capture", 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 Iron-Ham/XcodePreviews --skill xcode-preview-capture -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Iron-Ham/XcodePreviews xcode-preview-capture --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Iron-Ham/XcodePreviews.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/xcode-preview-capture .cursor/skills/xcode-preview-capture && 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 "xcode-preview-capture" agent skill from https://github.com/Iron-Ham/XcodePreviews/tree/main/.codex/skills/xcode-preview-capture into .cursor/skills/xcode-preview-capture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-preview-capture", 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/Iron-Ham/XcodePreviews.git --path .codex/skills/xcode-preview-capture--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 Iron-Ham/XcodePreviews --skill xcode-preview-capture -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Iron-Ham/XcodePreviews xcode-preview-capture --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Iron-Ham/XcodePreviews.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/xcode-preview-capture .gemini/skills/xcode-preview-capture && 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 "xcode-preview-capture" agent skill from https://github.com/Iron-Ham/XcodePreviews/tree/main/.codex/skills/xcode-preview-capture into .gemini/skills/xcode-preview-capture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-preview-capture", 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 Iron-Ham/XcodePreviews xcode-preview-captureInstalls 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 Iron-Ham/XcodePreviews --skill xcode-preview-capture -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Iron-Ham/XcodePreviews.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/xcode-preview-capture .github/skills/xcode-preview-capture && 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 "xcode-preview-capture" agent skill from https://github.com/Iron-Ham/XcodePreviews/tree/main/.codex/skills/xcode-preview-capture into .github/skills/xcode-preview-capture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-preview-capture", 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 Iron-Ham/XcodePreviews --skill xcode-preview-capture -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Iron-Ham/XcodePreviews xcode-preview-capture --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Iron-Ham/XcodePreviews.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/xcode-preview-capture .opencode/skills/xcode-preview-capture && 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 "xcode-preview-capture" agent skill from https://github.com/Iron-Ham/XcodePreviews/tree/main/.codex/skills/xcode-preview-capture into .opencode/skills/xcode-preview-capture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xcode-preview-capture", 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.
xcode-preview-captureBuild and capture SwiftUI previews for visual analysis in Codex.
Xcode Preview Capture is an agent skill from Iron-Ham/XcodePreviews. Build and capture SwiftUI previews for visual analysis in Codex. Use when asked to preview a Swift file, capture simulator UI, or inspect visual output from SwiftUI views.
Its SKILL.md is about 380 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 Xcode and SwiftUI. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a44a29c. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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.
Xcode Preview Capture loads about 376 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 129 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 Iron-Ham/XcodePreviews at commit a44a29c, republished under its MIT licence (© Iron-Ham). 129 words, ~376 tokens.
.claude/skills/xcode-preview-capture/SKILL.md (or your agent's skills folder).Use this skill to build SwiftUI previews and inspect screenshots.
PREVIEW_BUILD_PATH set to this repository rootexport PREVIEW_BUILD_PATH=/absolute/path/to/XcodePreviewsUse the unified entry point first:
"${PREVIEW_BUILD_PATH}"/scripts/preview \
"<path-to-file.swift>" \
--output /tmp/preview.pngThe script auto-detects:
#Preview -> dynamic target injection"${PREVIEW_BUILD_PATH}"/scripts/preview \
--capture \
--output /tmp/preview.pngscripts/preview with the requested file or --capture./tmp/preview*.png and analyze the rendered UI.sim-manager.sh boot "iPhone 17 Pro".--project or --workspace explicitly.© Iron-Ham, 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 .codex/skills/xcode-preview-capture of Iron-Ham/XcodePreviews.
Open the folder on GitHubat commit a44a29c
Xcode Preview Capture 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 |
|---|---|---|---|---|---|---|
| Xcode Preview Capture this skillIron-Ham/XcodePreviews | 152 | — | ~376 | Automated safety check: Pass | MIT | |
| Update Swiftui APIsAvdLee/SwiftUI-Agent-Skill | 3.7k | — | ~1.2k | Automated safety check: Pass | MIT | |
| SetupShpigford/chops | 1.9k | — | ~980 | Automated safety check: Pass | Custom licence | |
| SwiftUI Design SkillWholiver/swiftui-design-skill | 210 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Audit Xcode Security Settingssuperagents-lab/xcode27-skills | 338 | — | ~4.6k | Automated safety check: Pass | None | |
| iOS Marketing CaptureParthJadhav/ios-marketing-capture | 262 | — | ~6.1k | Automated safety check: Pass | MIT |
AvdLee/SwiftUI-Agent-Skill
Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.
Shpigford/chops
Get a new developer up and running with the Chops codebase — prerequisites, build, architecture, and common tasks.
Wholiver/swiftui-design-skill
Guides the agent to design distinctive SwiftUI interfaces for iOS and macOS, with six anti-generic rules, a design direction workflow and a five-dimension review.
superagents-lab/xcode27-skills
Audit and enable security-oriented Xcode build settings. An agent skill from superagents-lab/xcode27-skills.
ParthJadhav/ios-marketing-capture
A skill your agent uses when the user wants to automate capture of marketing screenshots for a SwiftUI iOS app across multiple locales, devices, or appearances.
samuelhe52/AniShelf
Create and maintain curated AniShelf docs-ai/ records for substantial features and non-trivial, decision-shaping fixes (numbered entries with 000-plan.md before implementation and 001-action.md…
Iron-Ham/XcodePreviews
Build and capture SwiftUI previews for visual analysis. An agent skill from Iron-Ham/XcodePreviews.
Categories
Build and capture SwiftUI previews for visual analysis in Codex. Xcode Preview Capture is an agent skill from Iron-Ham/XcodePreviews. Build and capture SwiftUI previews for visual analysis in Codex.
Xcode Preview Capture fits situations like: asked to preview a Swift file; capture simulator UI; inspect visual output from SwiftUI views.
Run `npx skills add Iron-Ham/XcodePreviews --skill xcode-preview-capture -a claude-code`. Or copy the skill folder (.codex/skills/xcode-preview-capture in Iron-Ham/XcodePreviews) into .claude/skills/xcode-preview-capture in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Iron-Ham/XcodePreviews --skill xcode-preview-capture -a codex`. Or copy the skill folder (.codex/skills/xcode-preview-capture in Iron-Ham/XcodePreviews) into .agents/skills/xcode-preview-capture 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 Iron-Ham/XcodePreviews --skill xcode-preview-capture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xcode-preview-capture, .gemini/skills/xcode-preview-capture, .github/skills/xcode-preview-capture and .opencode/skills/xcode-preview-capture in your project.
SKILL.md names no scripts, command-line tools or credentials: Xcode Preview Capture is instructions for the agent only.
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.
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.
Xcode Preview Capture is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 376 tokens (SKILL.md is roughly 1.5k 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 Xcode Preview Capture: Update Swiftui APIs (AvdLee/SwiftUI-Agent-Skill, 3.7k stars), Setup (Shpigford/chops, 1.9k stars), SwiftUI Design Skill (Wholiver/swiftui-design-skill, 210 stars) and Audit Xcode Security Settings (superagents-lab/xcode27-skills, 338 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Iron-Ham (a GitHub user) maintains it in Iron-Ham/XcodePreviews, which has 152 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on July 6, 2026.
Source: Iron-Ham/XcodePreviews on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.