一键导入
ios-unit-test
Run iOS unit/UI tests, report results, and optionally fix failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run iOS unit/UI tests, report results, and optionally fix failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scaffold a pnpm + Turborepo MERN monorepo with Next.js, tooling, tests, CI, and optional GitHub repo creation.
Configure GitHub repository security with branch protection, Dependabot, security scanning, and CI workflows. Integrates with mern-scaffold, nean-scaffold, and iOS projects.
Harden a Vercel deployment with security headers, CSP, bot protection, and deployment configuration
Add authentication to an iOS app with Sign in with Apple, biometrics, and Keychain storage.
Scaffold a new feature with View, ViewModel, and tests following ios-std conventions.
Review iOS code for compliance with standards, NFRs, and security policy.
| name | ios-unit-test |
| description | Run iOS unit/UI tests, report results, and optionally fix failures. |
| argument-hint | [--scheme <name>] [--project <path>] [--configuration NonProd|Prod] [--no-fix] |
| allowed-tools | Bash, Read, Glob, Grep, Write |
Run iOS tests, report failures with enough detail to debug, then (with approval) fix issues and re-run to confirm.
--scheme <name> — Xcode scheme (inferred from xcodebuild -list if omitted)--project <path> — Path to .xcodeproj or .xcworkspace (auto-detected if omitted)--configuration <config> — Build configuration (default: NonProd)--no-fix — Report only, don't offer to fixxcodebuild \
-project MyApp.xcodeproj \
-scheme MyApp \
-configuration NonProd \
-destination 'platform=iOS Simulator,name=iPhone 17 Pro' \
test
Use xcodebuild -list to discover schemes if not specified. Simulator names vary by Xcode version — use xcrun simctl list devices available to find available simulators.
Note: Tests use Swift Testing framework (import Testing, @Test, #expect), not XCTest.
Include:
See /shared-review-workflow for approval gate protocol, fix constraints, and severity definitions. Group iOS failures by area (view model, persistence, notifications, UI).
For xcodebuild patterns and common fixes, see reference/ios-unit-test-reference.md