bootstrap-ios

GitHub

iOS/macOS开发入口技能,用于检测项目结构、验证构建工具并按需加载Swift/SwiftUI等特定参考文档。支持构建测试、模拟器调试及环境初始化,优先采用现代Swift实践。

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

Trigger Scenarios

需要初始化或引导Apple平台项目时 涉及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
Animation, motion, "make it feel alive", loaders, delight Also use swiftui-animation-match (interaction-to-animation matcher)
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. After a real install it verifies every expected skill actually landed and is complete (every references/, scripts/, and assets/ file cited by each SKILL.md exists on disk) and fails loudly with reinstall instructions if any skill is missing entirely or installed shallow. See references/install-and-bootstrap.md.

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

  • 952eaaa Current 2026-07-23 05:09

    新增swiftui-animation-match技能以匹配UX动画,并在模式选择器中集成该技能的调用路由。

  • cf54b51 2026-07-19 23:17

    修复macOS bash 3.2环境下的安装脚本崩溃问题;增强安装后验证机制,若缺少预期技能文件则报错而非静默失败;增加相关测试用例。

  • 3fe5a9c 2026-07-05 18:52

Same Skill Collection

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

Metadata

Files
0
Version
952eaaa
Hash
f48715c7
Indexed
2026-07-05 18:52

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