omgskills Get the Mac app
Skill

xcode-compilation-analyzer

@avdlee 1.2k stars Updated 2026-04-15 Author match: High

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

Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.

Install command
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

View on GitHub

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.

More from this repo