When your Swift build takes forever or Xcode spits out type-checking warnings, this skill digs into build timing summaries and frontend diagnostics to find the actual bottlenecks. It runs analysis flags like warn-long-function-bodies, parses CompileSwiftSources tasks, and checks if your incremental builds are getting wrecked by module emission or planning overhead. The output is a ranked list of fixes with expected wall-clock impact, which matters because heavily parallelized builds won't always get faster just by optimizing individual files. It knows the difference between reducing compiler work and actually cutting your wait time, and it won't touch your code without asking first.

skills.sh installs
3.5K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-compilation-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

What To Inspect

Sponsors

Details

Repository
github.com/avdlee/xcode-build-optimization-agent-skill
Categories
Frontend Development, DevOps & CI/CD, AI & Agent Building, Productivity & Planning, Mobile Development
First seen
Apr 16, 2026

More from avdlee/xcode-build-optimization-agent-skill

All 6
1bencium avatarhuman-architect-mindsetbencium/bencium-marketplaceSystematic architectural thinking for irreplaceable human capabilities - domain modeling, systems thinking, constraint navigation, and AI-aware problem decompos3.5Kskills.sh installs
2actionbook avatarunsafe-checkeractionbook/rust-skillsCRITICAL: Use for unsafe Rust code review and FFI. Triggers on: unsafe, raw pointer, FFI, extern, transmute, *mut, *const, union, #[repr(C)], libc, std::ffi, Ma3.5Kskills.sh installs
3openai avatarchatgpt-appsopenai/skillsBuild, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, regist3.5Kskills.sh installs
4enzed avatarr3f-interactionenzed/r3f-skillsReact Three Fiber interaction - pointer events, controls, gestures, selection. Use when handling user input, implementing click detection, adding camera control3.4Kskills.sh installs
5freshtechbro avatarweb3d-integration-patternsfreshtechbro/claudedesignskillsMeta-skill for combining Three.js, GSAP ScrollTrigger, React Three Fiber, Motion, and React Spring for complex 3D web experiences. Use when building application3.4Kskills.sh installs
6markdown-viewer avatargraphvizmarkdown-viewer/skillsCreate directed/undirected graphs using DOT language with automatic layout. Best for dependency trees, call graphs, package hierarchies, and module relationship3.4Kskills.sh installs