Help us improve
Share bugs, ideas, or general feedback.
From Build Swift Apps
Benchmarks Xcode builds, runs specialist analyses, prioritizes wall-clock findings, requests approval, delegates fixes, and re-benchmarks for build optimization audits.
npx claudepluginhub xopoko/build-swift-apps --plugin build-swift-appsHow this skill is triggered — by the user, by Claude, or both
Slash command
/build-swift-apps:xcode-build-strategistThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Entry point for end-to-end Xcode build optimization. Phase 1 recommends only; Phase 2 executes only after explicit approval.
Orchestrates Xcode build optimization: benchmarks baseline, analyzes with specialist skills, recommends prioritized fixes, delegates approved changes, re-benchmarks wall-clock time.
Benchmarks Xcode builds (clean, cached-clean, zero-change, incremental) with repeatable inputs and timing artifacts. Use before recommending build-time optimizations.
Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
Share bugs, ideas, or general feedback.
Entry point for end-to-end Xcode build optimization. Phase 1 recommends only; Phase 2 executes only after explicit approval.
.build-benchmark/.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
Add --touch-file path/to/File.swift for real incremental rebuilds.timing_summary_categories; cached_clean runs when COMPILATION_CACHE_ENABLE_CACHING=YES; variance noted when max-min exceeds 20% of median.xcode-compile-profilerxcode-project-auditorswiftpm-build-inspector.build-benchmark/optimization-plan.md:
python3 scripts/generate_optimization_report.py \
--benchmark .build-benchmark/<artifact>.json \
--project-path App.xcodeproj \
--diagnostics .build-benchmark/<diagnostics>.json \
--output .build-benchmark/optimization-plan.md
After approval, read checked items from .build-benchmark/optimization-plan.md, delegate to xcode-build-tuner, append verification medians/deltas to the plan, and report before/after results.
PhaseScriptExecution, CompileAssetCatalog, CodeSign, planning, or emit-module work can outrank individual Swift file hotspots.Use these impact phrases:
COMPILATION_CACHE_ENABLE_CACHING: "Measured 5-14% faster clean builds across tested projects; benefits compound with persistent DerivedData."For iOS simulator benchmarks, resolve an installed iPhone/iOS pair first and prefer OS=latest when accepted. For macOS use --destination "platform=macOS". For watchOS/tvOS use an installed simulator. If local runtime inspection fails, ask or note the fallback.
Lead with wall-clock before/after. Include baseline/post medians, absolute and percentage deltas, changes made or intentionally skipped, confidence/noise notes, and a plain warning when workload improved but wait time did not.
References: references/orchestration-report-template.md, ../../shared/build-optimization/references/benchmark-artifacts.md, recommendation-format.md, and build-settings-best-practices.md.