From Build Swift Apps
Implements approved Xcode build optimizations including build settings, script phases, Swift compilation patterns, and SwiftPM graph fixes, with re-benchmarking to verify performance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/build-swift-apps:xcode-build-tunerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Implement only approved build optimization changes, verify compilation, and prove the result with the same benchmark contract.
Implement only approved build optimization changes, verify compilation, and prove the result with the same benchmark contract.
.build-benchmark/optimization-plan.md or an explicit user instruction.DEBUG_INFORMATION_FORMAT=dwarf for Debug, SWIFT_COMPILATION_MODE=singlefile, COMPILATION_CACHE_ENABLE_CACHING=YES, EAGER_LINKING=YES, SWIFT_USE_INTEGRATED_DRIVER=YES, ONLY_ACTIVE_ARCH=YES, and cross-target setting alignment. Verify with xcodebuild -showBuildSettings..xcfilelist, and enable dependency analysis when possible.final, tighten access control, extract huge SwiftUI builders, and add explicit closure return types. Read references/fix-patterns.md for examples.@_exported import, align options, and pin branch dependencies to tags or revisions. Confirm tags with git ls-remote --tags; verify with xcodebuild -resolvePackageDependencies.python3 ../../shared/build-optimization/scripts/benchmark_builds.py \
--project App.xcodeproj --scheme MyApp --configuration Debug \
--destination "platform=iOS Simulator,name=<latest available iPhone simulator>,OS=latest" \
--output-dir .build-benchmark
Lead with plain wall-clock impact:
Clean build: X.Xs (was Y.Ys) - Z.Zs faster/slower.
Incremental build: X.Xs (was Y.Ys) - Z.Zs faster/slower.
Then include files changed, status per fix (Kept, Kept (best practice), Reverted, Blocked, No improvement), confidence/noise notes, and any deviation from the approved plan. If task work decreased but wall-clock did not, say that parallel Xcode work hid the improvement.
references/fix-patterns.md../../shared/build-optimization/references/build-settings-best-practices.md../../shared/build-optimization/references/recommendation-format.mdnpx claudepluginhub xopoko/build-swift-apps --plugin build-swift-apps2plugins reuse this skill
First indexed Jun 4, 2026
Implements approved Xcode build optimization changes (build settings, script phases, source-level fixes) and re-benchmarks to verify improvement.
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.