一键导入
ios-build-device-selection
Prefer device 00008150-001A69800138401C for xcodebuild. If that device is unavailable, fall back to an available iPhone 17 simulator.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prefer device 00008150-001A69800138401C for xcodebuild. If that device is unavailable, fall back to an available iPhone 17 simulator.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when designing, reviewing, or refactoring code architecture and engineering structure, especially when logic is leaking into the wrong layer, UI components contain business rules, orchestration services do data parsing, one bug hints at a reusable abstraction, or a feature needs clear boundaries between data source, transformation, state management, extension points, and rendering. Use for separation of concerns, layered design, parser/adapter/pipeline decisions, reusable contracts, and preventing narrow fixes from becoming hardcoded architecture.
智能分析工作区变更,自动生成符合 Conventional Commits 规范的精炼提交信息并执行提交。
Review staged, unstaged, and untracked local code changes in the current project. Use when the user asks to review uncommitted changes, check the working tree, inspect local diffs, or perform a pre-commit code review.
Generate or update Ninebot iOS VApp native methods and services. Use when adding a Swift VApp API, creating a VApp-backed pod under ios/Modules, exposing native methods through NBVAppManager/NBUnifiedAPIRegistry, wiring registrations in RootVCService+vapp.swift, or converting RN/callnative methods to the VApp service pattern.
Git commit workflow with conventional format and comprehensive summaries
Harlan 的通用架构设计哲学 — 指导 AI 在任何架构任务中遵循 Harlan 的设计偏好、决策风格和输出格式。适用于系统设计、重构、模块拆分、API 设计等所有架构级别的任务。
| name | ios-build-device-selection |
| description | Prefer device 00008150-001A69800138401C for xcodebuild. If that device is unavailable, fall back to an available iPhone 17 simulator. |
Use this skill when building the RNContainer iOS app with xcodebuild.
Always choose the build destination in this order:
Run:
xcrun xctrace list devices
If the output contains 00008150-001A69800138401C, build with:
cd ios && xcodebuild -workspace RNContainer.xcworkspace -scheme RNContainer -configuration Debug -destination 'id=00008150-001A69800138401C' build
If the preferred device id is missing, run:
xcrun simctl list devices available
Choose a simulator whose displayed name is exactly iPhone 17.
Selection rules:
Then build with that simulator id:
cd ios && xcodebuild -workspace RNContainer.xcworkspace -scheme RNContainer -configuration Debug -sdk iphonesimulator -destination 'id=<IPHONE_17_SIMULATOR_ID>' build
Do not silently switch to another simulator family.
Report that no iPhone 17 simulator is available and suggest creating one in Xcode or with simctl.
When reporting the build attempt, include:
If the user asks where to change the minimum iOS version, explain these control points:
In this repository specifically, changing only one of those locations can leave the project in an inconsistent state.