.codex/skills/xcode-preview-capture/SKILL.md
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.
npx skillsauth add iron-ham/xcodepreviews xcode-preview-captureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to build SwiftUI previews and inspect screenshots.
PREVIEW_BUILD_PATH set to this repository root
export PREVIEW_BUILD_PATH=/absolute/path/to/XcodePreviewsUse the unified entry point first:
"${PREVIEW_BUILD_PATH}"/scripts/preview \
"<path-to-file.swift>" \
--output /tmp/preview.png
The script auto-detects:
#Preview -> dynamic target injection"${PREVIEW_BUILD_PATH}"/scripts/preview \
--capture \
--output /tmp/preview.png
scripts/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.development
# Xcode Preview Capture Skill <skill-definition> name: preview description: Build and capture Xcode/SwiftUI previews for visual analysis invocation: /preview </skill-definition> ## Overview This skill allows you to build SwiftUI views and capture screenshots of their rendered output for visual analysis. It supports: - Building standalone Swift files containing SwiftUI views - Building views from existing Xcode projects - Building views from SPM packages - Capturing the current simulator scre
development
Build and capture SwiftUI previews for visual analysis. Use when the user asks to preview a SwiftUI view, capture a simulator screenshot, or visually inspect iOS UI components. Supports Xcode projects, SPM packages, and standalone Swift files.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.