ios-build-verify
ios-build-verify
A Claude Code skill bundling the build and verify halves of the iOS agentic-coding loop for SwiftUI apps. Build operations pipe xcodebuild through xcbeautify for token-cheap output with raw fallback; verify operations drive the iOS Simulator via xcrun simctl and AXe so the agent can check its own work.
Validated configuration
The skill has been validated against Claude Code (CLI) running Claude Opus 4.7. The shell scripts themselves are harness-agnostic, but the skill's use leans on agent judgment in places that have only been exercised on this configuration: reading SKILL.md after set_value.sh exit 6 and applying the documented Form-in-NavigationStack workaround; translating the Bool simctl launch -- example to a string-valued @AppStorage; recognizing when to set MAIN_TABS_COORDS versus editing the shared data/coordinates.json; running the agent-led colloquy without it derailing. Behavior on untested setups (Sonnet, Haiku, non-Anthropic models, IDE-embedded agents, MCP-driven setups, Cursor/Cline/Aider/etc.) may vary from "works fine" to "subtly wrong in ways that look like skill bugs but are actually agent-judgment shortfalls." This is scope of validation, not scope of permission — reports from other configurations welcome.
Two checks back this up:
- Harness check (script-driven).
setup_project.shwarns whenCLAUDECODE != 1— Claude Code's subprocess env marker. The script proceeds either way; the warning surfaces the validation scope at first use without blocking. - Model check (agent-driven). The active model is not propagated to subprocesses, so this check has to live in the agent — see Step 0 of the First-use setup colloquy below for the imperative form. Treating background context as a runtime checklist is unreliable (May 2026 GenericApp validation, Q8: the validator read past this section's earlier prose-only model-check on first pass), so the runtime instruction lives at the top of the colloquy where the agent is already in checklist mode.
External grounding
This skill is an applied instance of the principle Anthropic names in Best Practices for Claude Code under the heading "Give Claude a way to verify its work":
"Include tests, screenshots, or expected outputs so Claude can check itself. This is the single highest-leverage thing you can do."