From Build Swift Apps
Benchmarks Xcode builds (clean, cached-clean, zero-change, incremental) with repeatable inputs and timing artifacts. Use before recommending build-time optimizations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/build-swift-apps:xcode-build-baselineThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Measure before recommending build-time changes. Do not edit project files while benchmarking.
Measure before recommending build-time changes. Do not edit project files while benchmarking.
.build-benchmark/.OS=latest only when Xcode accepts it.exclude: directories such as __Snapshots__ before dependency resolution, or SPM can crash.Infer or ask for workspace/project, scheme, configuration, destination, simulator/device preference, custom DerivedData needs, and a representative Swift file for incremental touch tests.
COMPILATION_CACHE_ENABLE_CACHING = YES, run 3 cached-clean builds; use --no-cached-clean only when intentionally skipped.--touch-file; this measures fixed overhead from dependency planning, scripts, codesign, validation, and related phases.--touch-file path/to/SomeFile.swift.Preferred helper:
python3 ../../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.
references/benchmarking-workflow.md../../shared/build-optimization/references/benchmark-artifacts.md../../shared/build-optimization/schemas/build-benchmark.schema.jsonnpx claudepluginhub xopoko/build-swift-apps --plugin build-swift-apps2plugins reuse this skill
First indexed Jun 4, 2026
Benchmarks Xcode clean and incremental builds with repeatable inputs, timing summaries, and timestamped artifacts. Use when measuring build performance or comparing before/after changes.
Analyzes Xcode build performance by benchmarking, running specialist diagnostics, and generating prioritized optimization plans. Use for speeding up builds or full build audits.
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.