bootstrap-ios

GitHub

作为Apple平台开发的统一入口,用于发现项目结构、验证构建工具并按需加载特定技能包(如SwiftUI、测试、调试等),遵循保守策略,优先使用现代API和XcodeBuildMCP进行构建与测试。

plugins/bootstrap-ios/skills/bootstrap-ios/SKILL.md RayFernando1337/rayfernando-skills

Trigger Scenarios

用户请求引导iOS环境或安装iOS技能 需要构建、测试、调试iOS/macOS应用或模拟器

Install

npx skills add RayFernando1337/rayfernando-skills --skill bootstrap-ios -g -y
More Options

Non-standard path

npx skills add https://github.com/RayFernando1337/rayfernando-skills/tree/main/plugins/bootstrap-ios/skills/bootstrap-ios -g -y

Use without installing

npx skills use RayFernando1337/rayfernando-skills@bootstrap-ios

指定 Agent (Claude Code)

npx skills add RayFernando1337/rayfernando-skills --skill bootstrap-ios -a claude-code -g -y

安装 repo 全部 skill

npx skills add RayFernando1337/rayfernando-skills --all -g -y

预览 repo 内 skill

npx skills add RayFernando1337/rayfernando-skills --list

SKILL.md

Frontmatter
{
    "name": "bootstrap-ios",
    "description": "Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData\/Core Data, Swift Testing, Xcode build\/test\/debug, Simulator, App Intents, or XcodeBuildMCP work. Use before building, fixing, refactoring, QAing, or setting up Apple-platform repos, and when asked to load\/install Ray's iOS skills or bootstrap iOS."
}

Bootstrap iOS

Use this as the single entry point before touching an Apple-platform app. It is a router skill: discover the project, load only the references needed for the current job, verify that build/test tools exist, then act.

The default posture is conservative:

  • Build and test before judging code.
  • Prefer modern Swift, SwiftUI, Observation, Swift Concurrency, Swift Testing, SwiftData, and current Xcode APIs.
  • Avoid deprecated APIs unless the deployment target requires them.
  • Use XcodeBuildMCP or an agent-friendly build script instead of raw, unfiltered xcodebuild output when possible.
  • Load focused skill packs on demand. Do not dump every Swift rule into context.

First move

  1. Detect surfaces: iOS, iPadOS, macOS, mixed web/native, SwiftPM, Xcode project/workspace, Tuist, XcodeGen, CocoaPods, or buildable folders.
  2. Read references/workflow.md.
  3. If the task involves setup or machine bootstrap, read references/install-and-bootstrap.md.
  4. If the task involves building, running, simulator, tests, or debugging, read references/xcodebuildmcp.md.
  5. Pick only the external skill packs relevant to the current task from references/skill-map.md.

Mode picker

User asks for... Load
"Bootstrap iOS", "install my iOS skills", "one command" install-and-bootstrap.md
Build, test, simulator, logs, debug, device install xcodebuildmcp.md
SwiftUI screen, navigation, sheets, app wiring skill-map.md SwiftUI entries
Async/await, actors, Sendable, Swift 6 migration skill-map.md concurrency entries
Unit tests, Swift Testing, XCTest migration skill-map.md testing entries
SwiftData, models, queries, migrations, CloudKit skill-map.md SwiftData entries
Core Data stack, fetches, background contexts skill-map.md Core Data entries
Slow builds, compiler time, project settings SwiftLee Xcode Build Optimization in skill-map.md
Architecture/rules loader/advanced Swift discipline Merowing rules in skill-map.md
App Intents, Siri, Shortcuts, widgets Official Build iOS Apps plugin notes in skill-map.md
QA this iOS app Also use running-bug-review-board and its iOS simulator playbook

When installing external skills

Do not silently modify the user's machine. If the user asks to install or bootstrap, explain what will be installed, then use the helper script in dry-run first:

bash scripts/bootstrap-ios-skills.sh --dry-run --agent cursor

After the user confirms, run without --dry-run. The helper is idempotent and keeps optional/non-GitHub sources as instructions instead of pretending it can install them.

Verification

Before reporting an Apple-platform task done:

  • Confirm the scheme/project/workspace you used.
  • Run the smallest meaningful build or test command.
  • Capture build errors from clean output, not raw wall-of-text logs.
  • If using XcodeBuildMCP, name the tool/command used.
  • If build/test is blocked by signing, missing simulator, or missing Xcode, report the blocker with the exact next command to fix it.
  • For UI work, run in Simulator when feasible and capture enough evidence for the next agent to verify.

Sources

This skill synthesizes Paul Solt's X article "Install These Skills Before Codex Touches Your Xcode Project", the linked community skill repos, official OpenAI plugin references, Merowing rules, AppCreator notes, and getsentry/XcodeBuildMCP. See references/sources.md.

Version History

  • 3fe5a9c Current 2026-07-05 18:52

Same Skill Collection

plugins/running-bug-review-board/skills/running-bug-review-board/SKILL.md
plugins/waves-codex/skills/waves-codex/SKILL.md
plugins/waves/skills/waves/SKILL.md

Metadata

Files
0
Version
3fe5a9c
Hash
ae88210f
Indexed
2026-07-05 18:52

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 20:19
浙ICP备14020137号-1 $Гость$