Skip to content

Commit ddea433

Browse files
committed
Improve skills docs
1 parent 9b9af8d commit ddea433

3 files changed

Lines changed: 32 additions & 7 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,17 @@ For other clients see: [Smithery XcodeBuildMCP](https://smithery.ai/server/camer
8686
- Xcode 16.x or later
8787
- Node.js 18.x or later
8888

89+
## Skill
90+
91+
XcodeBuildMCP now includes an optional agent skill. Some clients (e.g., Cursor, Claude Code) hide MCP tool schemas behind search/progressive disclosure, which can reduce tool discovery and usage. The skill provides a concise overview of available tools to counter that. If your client already exposes tools up front, you likely don’t need it; only use it if your agent isn’t reaching for XcodeBuildMCP tools.
92+
93+
To install, replace `<client-name>` with your client (cursor, claude, codex):
94+
```bash
95+
curl -fsSL https://raw.githubusercontent.com/cameroncooke/XcodeBuildMCP/main/scripts/install-skill.sh | bash -s -- --<client-name>
96+
```
97+
98+
For further information on how to install the skill, see: [docs/SKILLS.md](docs/SKILLS.md)
99+
89100
## Notes
90101

91102
- XcodeBuildMCP requests xcodebuild to skip macro validation to avoid errors when building projects that use Swift Macros.

docs/SKILLS.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@
22

33
This repository bundles a minimal skill that summarizes XcodeBuildMCP workflows and tools to help steer clients to use MCP tools, this is espeically important for clients that progressively load or hide MCP tools behind search interfaces (i.e. Cursor, Claude Code).
44

5-
## Install (Codex CLI)
5+
## Install (Claude Code)
66

77
```bash
8-
curl -fsSL https://raw.githubusercontent.com/cameroncooke/XcodeBuildMCP/main/scripts/install-skill.sh | bash -s -- --codex
8+
curl -fsSL https://raw.githubusercontent.com/cameroncooke/XcodeBuildMCP/main/scripts/install-skill.sh | bash -s -- --claude
99
```
1010

11-
## Install (Claude Code)
11+
## Install (Cursor)
1212

1313
```bash
14-
curl -fsSL https://raw.githubusercontent.com/cameroncooke/XcodeBuildMCP/main/scripts/install-skill.sh | bash -s -- --claude
14+
curl -fsSL https://raw.githubusercontent.com/cameroncooke/XcodeBuildMCP/main/scripts/install-skill.sh | bash -s -- --cursor
15+
```
16+
17+
## Install (Codex CLI)
18+
19+
```bash
20+
curl -fsSL https://raw.githubusercontent.com/cameroncooke/XcodeBuildMCP/main/scripts/install-skill.sh | bash -s -- --codex
1521
```
1622

1723
## Install (Other Clients)
@@ -20,4 +26,8 @@ Some MCP clients do not yet support skills. Use the skill content as a concise,
2026

2127
1. Open `skills/xcodebuildmcp/SKILL.md`.
2228
2. Copy the body (everything below the YAML frontmatter).
23-
3. Paste it into the client’s global or project-level instructions/rules area.
29+
3. Paste it into the client’s global or project-level instructions/rules area.
30+
31+
## Skills
32+
33+
To learn more about skills see: [https://agentskills.io/home](https://agentskills.io/home).

scripts/install-skill.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ set -euo pipefail
33

44
usage() {
55
cat <<'EOF'
6-
Usage: install-skill.sh --codex|--claude|--dest <path>
6+
Usage: install-skill.sh --codex|--claude|--cursor|--dest <path>
77
88
Installs (or replaces) the XcodeBuildMCP skill.
99
10-
You must choose a destination with --codex, --claude, or --dest.
10+
You must choose a destination with --codex, --claude, --cursor, or --dest.
1111
EOF
1212
}
1313

@@ -23,6 +23,10 @@ while [[ $# -gt 0 ]]; do
2323
destination="${HOME}/.claude/skills"
2424
shift
2525
;;
26+
--cursor)
27+
destination="${HOME}/.cursor/skills"
28+
shift
29+
;;
2630
--dest)
2731
if [[ $# -lt 2 ]]; then
2832
echo "Missing value for --dest" >&2

0 commit comments

Comments
 (0)