用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnalbertini14-glitch/openclaw-skills --skill ios命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | iOS |
| description | Build, test, and ship iOS apps with Swift, Xcode, and App Store best practices. |
| metadata | {"clawdbot":{"emoji":"📱","requires":{"bins":["xcodebuild"]},"os":["darwin"]}} |
xcodebuild -showsdks lists available SDKs — useful when builds fail with "SDK not found"@State for view-local data, @StateObject for owned ObservableObjects, @ObservedObject for passed-in objects — mixing them wrong causes crashes or lost stateList with id: \.self on non-Hashable types causes silent failures — always use explicit id parameter with stable identifierstask modifier cancels automatically on view disappear — no manual cancellation needed, but check Task.isCancelled in loops@Environment values are nil in previews unless explicitly provided — wrap previews in container with environment setITSAppUsesNonExemptEncryption = NO avoids export compliance questions for most apps — add it to skip the daily annoyanceLSApplicationQueriesSchemes must list URL schemes before canOpenURL works — iOS 9+ security requirementUIRequiresFullScreen = YES on iPad opts out of multitasking — use only if your app truly can't support split viewInstruments > Time Profiler reveals actual bottlenecks — don't guess, measure@MainActor annotation ensures UI updates happen on main thread — missing it causes random crashes under load[weak self] in escaping closures that reference selfList with thousands of items is fast, ForEach in ScrollView is not — List uses cell reuse, ScrollView loads everythingpo in LLDB prints object description, p prints raw value — use po for most debugging-com.apple.CoreData.SQLDebug 1 in launch arguments shows all Core Data queries — essential for debugging fetch performance