/xcrew:setupfrom Xcrew
Set up xcrew for this iOS project — write MobileBuildMCP's config with the right workspace, schemes and simulators, then check the Mac. Use when the person runs /xcrew:setup, when Xcrew says MobileBuildMCP "has no scheme to build this project with yet", or when they ask to change which scheme or simulator Claude builds and tests with.
Ships in Xcrew. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
In a git worktree whose main checkout is set up, run xcrew setup --worktree instead of the steps below: it writes this worktree's config from the main checkout's, with simulators of its own, and prints the calls that give this session's MobileBuildMCP its profiles. Offer --finished-test-bundles drop as in step 2, and add it to that command when the person agrees: it holds for every checkout of the repository. Then do steps 4 and 5.
xcrew project --setup. Its JSON names the container setup will build. When it has a containerProblem instead, explain it to the person in your own words and ask: which of the folders it lists to use, or to generate the workspace first, then run xcrew project --setup again.list_schemes on that container. Pick the app scheme and, if there is one, the UI-test scheme. Leave the unit-test scheme to xcrew setup.get_app_bundle_id, or the app target's PRODUCT_BUNDLE_IDENTIFIER from show_build_settings.list_sims. For one that isn't installed, ask the person whether to create it or use an installed one, and name the installed ones. Offer to create it only when xcrun simctl list runtimes --json lists its device type under an installed runtime's supportedDeviceTypes, and give the exact command, xcrun simctl create "<name>" <device type identifier> <runtime identifier>, from the newest such runtime. Pass only simulators that exist to xcrew setup.--finished-test-bundles drop deletes each checkout's older finished MobileBuildMCP test bundles after every test run, keeping the newest, which saves gigabytes per run on a large app; --debugger-backend lldb-cli lets the debugger run LLDB commands such as expr. A setup run without an opt-in keeps what an earlier run chose.xcrew setup [--container <name>] [--app-scheme <scheme>] [--bundle-id <id>] [--ui-scheme <scheme>] [--test-scheme <scheme>] [--test-simulator <name>] [--app-simulator <name>] [--debugger-backend lldb-cli] [--finished-test-bundles drop] on its own, not chained to another command. Pass --container only when the person named or chose one. Tell the person which scheme it chose for unit tests; when it lists several, or couldn't tell, ask which one runs them and re-run with --test-scheme. Setup keeps what the config's profiles hold for the same container unless an option names another: to drop the UI-test profile, pass --ui-scheme ''. When it reports a config xcrew didn't write, ask before re-running with --force (it keeps a backup). --debugger-backend lldb-cli sets MobileBuildMCP's CLI debugger backend, which runs LLDB commands such as expr that its default DAP backend doesn't; setup keeps it on later runs. --finished-test-bundles drop keeps only the newest finished test run's own MobileBuildMCP test products, deleting the older ones after each run, for every checkout of the repository; deleting is the person's call, so pass it only when they agreed to it in step 2, and keep turns it off.xcrew doctor on its own and report each line that isn't ok with the command it names. It exits non-zero when a check failed or warned, or when every check skipped: that's the doctor's verdict, not a failed setup. Two fixes need the person once per Mac: sudo xcrun mcp-server enable on Xcode 27 or later, and approving Claude Code in Xcode's dialog (call XcodeOpenWorkspace on the container to raise it).session_set_defaults calls xcrew setup printed, one each, in its order: they give this session's MobileBuildMCP the new profiles. When it printed a restart line, tell the person a restart of Claude Code loads the rest; builds and tests don't wait for it.Done when xcrew setup reported "wrote" and every doctor line is ok or explained to the person.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub breferrari/xcrew --plugin xcrewOther plugins' skills for the same job
2 skills in this plugin