npx skills add https://github.com/pzep1/xcode-build-skill --skill xcode-buildInstallez cette compétence avec la CLI et commencez à utiliser le flux de travail SKILL.md dans votre espace de travail.
An agent plugin that teaches your agent to build and manage iOS/macOS projects using native Xcode CLI tools (xcodebuild, xcrun simctl) instead of MCP servers.
npx skills add pzep1/xcode-build-skill
This plugin provides agents with comprehensive guidance for:
xcodebuildxcrun simctl (boot, install, launch, logs)Instead of relying on external MCP servers like XcodeBuildMCP, this plugin teaches Claude to use Apple's native CLI tools directly.
| Aspect | MCP Approach | This Plugin |
|---|---|---|
| Dependencies | External MCP server | None (native tools) |
| Flexibility | Limited to MCP tools | Full CLI capabilities |
| UI Automation | Coordinate-based | Semantic element targeting |
| Learning | Abstracts away details | Teaches actual commands |
Once installed, the skill auto-activates when you ask Claude about:
Example prompts:
xcode-build-skill/
├── .claude-plugin/
│ ├── plugin.json # Plugin manifest
│ └── marketplace.json # Marketplace manifest
├── skills/
│ └── xcode-build/
│ ├── SKILL.md # Main skill definition
│ ├── CLI_REFERENCE.md # xcodebuild + simctl reference
│ └── XCUITEST_GUIDE.md # UI automation guide
├── README.md
└── LICENSE
# Get simulator UUID
UDID=$(xcrun simctl list devices --json | jq -r '.devices | .[].[] | select(.name=="iPhone 16 Pro") | .udid' | head -1)
# Build
xcodebuild -workspace App.xcworkspace -scheme App \
-destination "platform=iOS Simulator,id=$UDID" build
xcrun simctl list devices # List simulators
xcrun simctl boot $UDID # Boot simulator
xcrun simctl install $UDID App.app # Install app
xcrun simctl launch $UDID com.id # Launch app
xcrun simctl io $UDID screenshot /tmp/screenshot.png
let app = XCUIApplication()
app.launch()
app.textFields["email"].tap()
app.textFields["email"].typeText("[email protected]")
app.buttons["Login"].tap()
XCTAssertTrue(app.staticTexts["Welcome"].exists)
jq (optional, for parsing JSON output)MIT License - see LICENSE
Contributions welcome! Please feel free to submit issues and pull requests.