Download for macOS
Skill

xcode-compilation-analyzer

@avdlee Updated 2026-08-12

Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift frontend diagnostics, then produce a recommend-first source-level optimization plan. Use when a developer reports slow compilation, type-checking warnings, expensive clean-build compile phases, long CompileSwiftSources tasks, warn-long-function-bodies output, or wants to speed up Swift type checking.

agentagent-skillsiosios-developmentskillsxcode

Install

git clone https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill /tmp/Xcode-Build-Optimization-Agent-Skill && ln -s /tmp/Xcode-Build-Optimization-Agent-Skill/skills/xcode-compilation-analyzer ~/.claude/skills/xcode-compilation-analyzer

From README

Xcode Compilation Analyzer Use this skill when compile time, not just general project configuration, looks like the bottleneck. Core Rules Start from evidence, ideally a recent .build-benchmark/ artifact or raw timing-summary output. Prefer analysis-only compiler flags over persistent project edits during investigation. Rank findings by expected wall-clock impact, not cumulative compile-time impact. When compile tasks are heavily parallelized (sum of compile categories >> wall-clock median), note that fixing individual hotspots may improve parallel efficiency without reducing build wait time. When the evidence points to parallelized work rather than serial bottlenecks, label recommendations as "Reduces compiler workload (parallel)" rather than "Reduces build time." Do not edit source or build settings without explicit developer approval.