|
1 | 1 | # XcodeBuildMCP Skill |
2 | 2 |
|
3 | | -XcodeBuildMCP now includes two optional agent skills: |
| 3 | +XcodeBuildMCP includes two optional agent skills: |
4 | 4 |
|
5 | 5 | - **MCP Skill**: Primes the agent with instructions on how to use the MCP server's tools (optional when using the MCP server). |
6 | 6 |
|
7 | 7 | - **CLI Skill**: Primes the agent with instructions on how to navigate the CLI (recommended when using the CLI). |
8 | 8 |
|
9 | | -## Easiest way to install |
10 | | - |
11 | | -Install via the interactive installer and follow the on-screen instructions. |
| 9 | +## Install |
12 | 10 |
|
13 | 11 | ```bash |
14 | | -curl -fsSL https://raw.githubusercontent.com/getsentry/XcodeBuildMCP/v2.0.7/scripts/install-skill.sh -o install-skill.sh && bash install-skill.sh |
| 12 | +xcodebuildmcp init |
15 | 13 | ``` |
16 | 14 |
|
17 | | -## Automated installation |
18 | | - |
19 | | -Useful for CI/CD pipelines or for agentic installation. `--skill` should be set to either `mcp` or `cli` to install the appropriate skill. |
| 15 | +This auto-detects installed AI clients (Claude Code, Cursor, Codex) and installs the CLI skill. |
20 | 16 |
|
21 | | -### Install (Claude Code) |
| 17 | +### Options |
22 | 18 |
|
23 | 19 | ```bash |
24 | | -curl -fsSL https://raw.githubusercontent.com/getsentry/XcodeBuildMCP/v2.0.7/scripts/install-skill.sh -o install-skill.sh && bash install-skill.sh --claude --remove-conflict --skill <mcp|cli> |
| 20 | +xcodebuildmcp init --skill cli # Install CLI skill (default) |
| 21 | +xcodebuildmcp init --skill mcp # Install MCP skill |
| 22 | +xcodebuildmcp init --client claude # Install to Claude only |
| 23 | +xcodebuildmcp init --dest /path/to/dir # Install to custom directory |
| 24 | +xcodebuildmcp init --force # Overwrite existing |
| 25 | +xcodebuildmcp init --remove-conflict # Auto-remove conflicting variant |
| 26 | +xcodebuildmcp init --uninstall # Remove installed skill |
25 | 27 | ``` |
26 | 28 |
|
27 | | -### Install (Cursor) |
| 29 | +## Unsupported Clients |
28 | 30 |
|
29 | | -```bash |
30 | | -curl -fsSL https://raw.githubusercontent.com/getsentry/XcodeBuildMCP/v2.0.7/scripts/install-skill.sh -o install-skill.sh && bash install-skill.sh --cursor --remove-conflict --skill <mcp|cli> |
31 | | -``` |
32 | | - |
33 | | -### Install (Codex CLI) |
| 31 | +For clients without a skills directory, print the skill content and pipe it to a file or paste it into your client's instructions area: |
34 | 32 |
|
35 | 33 | ```bash |
36 | | -curl -fsSL https://raw.githubusercontent.com/getsentry/XcodeBuildMCP/v2.0.7/scripts/install-skill.sh -o install-skill.sh && bash install-skill.sh --codex --remove-conflict --skill <mcp|cli> |
| 34 | +xcodebuildmcp init --print |
| 35 | +xcodebuildmcp init --print --skill mcp > my-skill.md |
37 | 36 | ``` |
38 | 37 |
|
39 | | -### Install (Other Clients) |
40 | | - |
41 | | -For other clients if you know the path to the skills directory you can pass the `--dest` flag. |
42 | | - |
43 | | -```bash |
44 | | -curl -fsSL https://raw.githubusercontent.com/getsentry/XcodeBuildMCP/v2.0.7/scripts/install-skill.sh -o install-skill.sh && bash install-skill.sh --dest /path/to/skills --remove-conflict --skill <mcp|cli> |
45 | | -``` |
46 | | - |
47 | | -## Unsupporting Clients |
48 | | - |
49 | | -Some MCP clients that do not yet support skills. Use the skill content as a concise, static instruction prompt: |
50 | | - |
51 | | -1. Open `skills/xcodebuildmcp[-cli]/SKILL.md`. |
52 | | -2. Copy the body (everything below the YAML frontmatter). |
53 | | -3. Paste it into the client’s global or project-level instructions/rules area. |
54 | | - |
55 | 38 | ## Skills |
56 | 39 |
|
57 | | -To learn more about skills see: [https://agentskills.io/home](https://agentskills.io/home). |
| 40 | +To learn more about skills see: [https://agentskills.io/home](https://agentskills.io/home). |
0 commit comments