/build-swift-apps:xcode-compile-profilerfrom Build Swift Apps
Profiles Swift and mixed-language compile bottlenecks from timing summaries, frontend diagnostics, and type-check warnings. Recommends changes without editing source or build settings.
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.
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-function-bodies-driver-time-compilation for Swift driver job timing-Xfrontend -stats-output-dir <path>Preferred script:
python3 "$PLUGIN_ROOT/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
Investigate the code and modules the diagnostics identify. Try explicit types or simpler expressions for measured type-check hot spots. Check imports, bridging headers, and module options when the timing points to dependency or module work.
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.mdWhat SKILL.md sets; muted values are Claude Code's defaults
61 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.npx claudepluginhub xopoko/build-swift-apps --plugin build-swift-appsOther plugins' skills for the same job