Agent Skillsgetsentry/XcodeBuildMCP › xcodebuildmcp-cli

xcodebuildmcp-cli

GitHub

提供XcodeBuildMCP CLI的使用指南,覆盖iOS/macOS等平台的构建、测试、运行及调试。指导安装验证、命令发现及最小化执行策略,提升Apple生态开发效率。

skills/xcodebuildmcp-cli/SKILL.md getsentry/XcodeBuildMCP

Trigger Scenarios

需要构建或测试iOS/macOS应用 需要在模拟器或真机上运行应用 需要捕获日志或进行UI自动化测试 涉及Apple平台项目的调试工作

Install

npx skills add getsentry/XcodeBuildMCP --skill xcodebuildmcp-cli -g -y
More Options

Use without installing

npx skills use getsentry/XcodeBuildMCP@xcodebuildmcp-cli

指定 Agent (Claude Code)

npx skills add getsentry/XcodeBuildMCP --skill xcodebuildmcp-cli -a claude-code -g -y

安装 repo 全部 skill

npx skills add getsentry/XcodeBuildMCP --all -g -y

预览 repo 内 skill

npx skills add getsentry/XcodeBuildMCP --list

SKILL.md

Frontmatter
{
    "name": "xcodebuildmcp-cli",
    "description": "Official skill for the XcodeBuildMCP CLI. Use when doing iOS\/macOS\/watchOS\/tvOS\/visionOS work (build, test, run, debug, log, UI automation)."
}

XcodeBuildMCP CLI

Use XcodeBuildMCP tools via the xcodebuildmcp executable instead of raw xcodebuild, xcrun, or simctl.

Step 1: Ensure the CLI Exists

Check availability:

xcodebuildmcp --help

If missing, install with one of:

brew tap getsentry/xcodebuildmcp
brew install xcodebuildmcp
npm install -g xcodebuildmcp@latest

Re-check after install:

xcodebuildmcp --help

Step 2: Use Help-First Discovery

Discover workflows and arguments from the CLI itself:

xcodebuildmcp --help
xcodebuildmcp tools
xcodebuildmcp <workflow> --help
xcodebuildmcp <workflow> <tool> --help

Use this discovery path instead of memorizing static tool lists.

Step 3: Keep Execution Minimal

  • Choose the smallest command sequence that satisfies the request.
  • Prefer direct workflow commands over manual multi-step chains unless explicitly requested.
  • For simulator run intent, prefer the combined build-and-run command.
  • Do not chain build then build-and-run unless explicitly requested.

Capability Overview

xcodebuildmcp supports:

  • simulator and device build/test/run
  • debugging and log capture
  • UI automation
  • project discovery and scaffolding
  • session defaults and workflow configuration

Exit Criteria

  • CLI presence is verified or installation steps are provided.
  • Commands are discovered via --help / tools.
  • Session defaults are checked before first build/run/test action.

Version History

  • c79f4eb Current 2026-07-25 11:09

Same Skill Collection

.agents/skills/warden-sweep/SKILL.md
.agents/skills/warden/SKILL.md
.agents/skills/xcodebuildmcp-docs-command-review/SKILL.md
.agents/skills/xcodebuildmcp-docs-release-review/SKILL.md
.agents/skills/xcodebuildmcp-packaging-resource-review/SKILL.md
.agents/skills/xcodebuildmcp-rendering-streaming-review/SKILL.md
.agents/skills/xcodebuildmcp-runtime-boundary-review/SKILL.md
.agents/skills/xcodebuildmcp-snapshot-fixture-review/SKILL.md
.agents/skills/xcodebuildmcp-structured-output-review/SKILL.md
.agents/skills/xcodebuildmcp-test-boundary-review/SKILL.md
.agents/skills/xcodebuildmcp-tool-contract-review/SKILL.md
skills/xcodebuildmcp/SKILL.md

Metadata

Files
0
Version
e6ef59b
Hash
afeaf4d0
Indexed
2026-07-25 11:09

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 11:04
浙ICP备14020137号-1 $mapa de visitantes$