/build-swift-apps:xcode-build-baselinefrom Build Swift Apps
Benchmarks Xcode clean, cached-clean, zero-change, and incremental builds with fixed inputs, timing summaries, and .build-benchmark/ artifacts.
Ships in Build Swift Apps. 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.
Read when SKILL.md points to them.
Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.
Bundled commands use $PLUGIN_ROOT for the plugin root. Use the host's plugin-root variable when defined; otherwise set it to the absolute path of this plugin before running a helper from the app repository.
Measure before recommending build-time changes. Do not edit project files while benchmarking.
DEVELOPER_DIR for the benchmark process when the project needs a different Xcode installation..build-benchmark/.OS=latest only when Xcode accepts it.Infer or ask for workspace/project, scheme, configuration, destination, simulator/device preference, custom DerivedData needs, and a representative Swift file for incremental touch tests.
--skip-warmup if validation is already complete.--touch-file path/to/SomeFile.swift to measure rebuilds after touching a source file. Run the helper with each input separately if you need both results.COMPILATION_CACHE_ENABLE_CACHING = YES is detected, run 3 cached-clean builds using temporary DerivedData. Use --no-cached-clean to omit that phase.Preferred helper:
python3 "$PLUGIN_ROOT/shared/build-optimization/scripts/benchmark_builds.py" \
--workspace App.xcworkspace \
--scheme MyApp \
--configuration Debug \
--destination "platform=iOS Simulator,name=<latest available iPhone simulator>,OS=latest" \
--output-dir .build-benchmark
If the helper is unavailable, run equivalent xcodebuild commands with -showBuildTimingSummary and keep raw output.
Return clean, cached-clean when enabled, zero-change, and touched-incremental medians/min/max; biggest timing categories; environment details; artifact path; and noise caveats.
If the user only requested measurement, stop there. For optimization, hand the artifact to the relevant skill: xcode-compile-profiler, xcode-project-auditor, swiftpm-build-inspector, or xcode-build-strategist.
../../shared/build-optimization/references/benchmark-artifacts.md../../shared/build-optimization/schemas/build-benchmark.schema.jsonWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub xopoko/build-swift-apps --plugin build-swift-apps61 skills in this plugin
/app-icon-studioApple app icons: create, generate, evaluate, export, install, or debug iOS AppIcon.appiconset and macOS .icns assets for small-size clarity./apple-dev-researchApple developer articles: search Swift, SwiftUI, Xcode, iOS, and macOS community blogs, tutorials, and write-ups, not official docs./apple-firmware-inspectorApple firmware: inspect and reverse-engineer IPSWs, kernelcaches, dyld shared caches, private headers, entitlements, Mach-O binaries, KEXTs, and security internals with `ipsw`./appstore-ads-operatorApple Ads campaigns: inspect and manage separate auth, orgs, ad groups, creatives, keywords, reports, and API calls; approve live mutations first./appstore-archive-uploaderApp Store IPA/PKG archives: set version/build numbers, archive, export, upload, or publish with `asc xcode` before TestFlight/App Store submission./appstore-aso-auditorApp Store ASO audit: analyze canonical `./metadata` offline after `asc metadata pull`; add Astro MCP keyword gaps and Apple app-tag context when available.Other plugins' skills for the same job