Builds the current Xcode project for a physical iOS device using a generic destination. Handles xcodebuild, scheme selection, and code-signing errors.
Ships in emacs-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build the Xcode workspace or project under the current working directory for a physical iOS device. Uses a generic device destination (no specific UDID). Requires a configured signing team in the project — otherwise xcodebuild will fail with a code-signing error.
The shared agent-skill-xcode.el lives in the sibling xcode-shared directory at skills/xcode-shared/agent-skill-xcode.el in the emacs-skills plugin. All four /xcode-* skills load it from there.
emacsclient --eval "(progn (load \"/path/to/skills/xcode-shared/agent-skill-xcode.el\" nil t) (agent-skill-xcode-build-device :project-dir \"$(pwd)\"))"
The function:
.xcworkspace (preferred) or .xcodeproj in :project-dir.xcodebuild -list -json.xcodebuild build -destination 'generic/platform=iOS'."Build succeeded: ..." on success, or "Build FAILED: ...\n--- last 40 lines ---\n..." on failure.:project-dir via $(pwd). Do not assume a hard-coded path.xcode-shared/agent-skill-xcode.el — load it from there, not from this skill's directory.emacsclient --eval invocation./xcode-run-device.What SKILL.md sets; muted values are Claude Code's defaults
/emacs-skills:xcode-build-devicefrom emacs-skills
npx claudepluginhub xenodium/emacs-skills --plugin emacs-skills19 skills in this plugin
/d2This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the resulting image path./describeThis skill should be used when the user invokes "/describe" to look up Emacs documentation via emacsclient./diredThis skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via emacsclient./emacsclientAlways use emacsclient instead of emacs. This applies to all Emacs operations: user requests, byte compilation, check-parens, running ERT tests, and any other elisp evaluation.Other plugins' skills for the same job