Skills for Real Engineers. Straight from my .agents directory.
xcode-compilation-analyzer
Agent skill fromAvdLee/Xcode-Build-Optimization-Agent-Skill
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.
How to install xcode-compilation-analyzer
npx skills add AvdLee/Xcode-Build-Optimization-Agent-Skill# or add only this skill to Claude Code: copy the folder
skills/xcode-compilation-analyzer/
# into
~/.claude/skills/xcode-compilation-analyzer/ (all projects)
.claude/skills/xcode-compilation-analyzer/ (one project)
1# Xcode Compilation Analyzer23Use this skill when compile time, not just general project configuration, looks like the bottleneck.45## Core Rules67- Start from evidence, ideally a recent `.build-benchmark/` artifact or raw timing-summary output.8- Prefer analysis-only compiler flags over persistent project edits during investigation.9- 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.10- When the evidence points to parallelized work rather than serial bottlenecks, label recommendations as "Reduces compiler workload (parallel)" rather than "Reduces build time."11- Do not edit source or build settings without explicit developer approval.1213## What To Inspect1415- `Build Timing Summary` output from clean and incremental builds16- long-running `CompileSwiftSources` or per-file compilation tasks17- `SwiftEmitModule` time -- can reach 60s+ after a single-line change in large modules; if it dominates incremental builds, the module is likely too large or macro-heavy18- `Planning Swift module` time -- if this category is disproportionately large in incremental builds (up to 30s per module), it signals unexpected input invalidation or macro-related rebuild cascading19- ad hoc runs with:20 - `-Xfrontend -warn-long-expression-type-checking=<ms>`21…
Excerpt shown under the repository's MIT license.
More skills in Xcode-Build-Optimization-Agent-Skill
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
