Help us improve
Share bugs, ideas, or general feedback.
From Build Swift Apps
Analyzes Swift/Xcode compile hotspots from timing summaries, frontend diagnostics, and type-checking warnings to surface slow compiles, bridging header bloat, and parallelizable work.
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-compile-profilerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use when compile time, type checking, or mixed-language compilation is the bottleneck. Recommend first; do not edit source or build settings without explicit approval.
Analyzes Swift and mixed-language Xcode compile hotspots from build timings and diagnostics, recommends prioritized source optimizations. For slow builds, type-checking warnings, long CompileSwiftSources.
Benchmarks Xcode builds, runs specialist analyses, prioritizes wall-clock findings, requests approval, delegates fixes, and re-benchmarks for build optimization audits.
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.
Use when compile time, type checking, or mixed-language compilation is the bottleneck. Recommend first; do not edit source or build settings without explicit approval.
.build-benchmark/ artifacts or raw build timing output.Build Timing SummaryCompileSwiftSources, per-file compile tasks, SwiftEmitModule, and Planning Swift module-Xfrontend -warn-long-expression-type-checking=<ms>-Xfrontend -warn-long-function-bodies=<ms>-Xfrontend -debug-time-compilation-Xfrontend -debug-time-function-bodies-Xswiftc -driver-time-compilation-Xfrontend -stats-output-dir <path>Preferred script:
python3 ../../shared/build-optimization/scripts/diagnose_compilation.py \
--project App.xcodeproj \
--scheme MyApp \
--configuration Debug \
--destination "platform=iOS Simulator,name=<latest available iPhone simulator>,OS=latest" \
--threshold 100 \
--output-dir .build-benchmark
Look first for missing explicit types in expensive expressions, deeply chained expressions, delegates typed as AnyObject, oversized bridging surfaces, unqualified header imports, non-final classes, broad public/open symbols, monolithic SwiftUI body, and closures without helpful type annotations.
For each recommendation include evidence, file/module, expected wait-time impact or parallel-work caveat, confidence, and whether approval is needed. If evidence points to project configuration, read and hand off to xcode-project-auditor.
references/code-compilation-checks.md../../shared/build-optimization/references/recommendation-format.md../../shared/build-optimization/references/build-optimization-sources.md