This is the implementation companion to xcode-build-orchestrator. Once you've got an approved optimization plan, this skill applies the changes one at a time, then re-benchmarks to verify the delta. It handles build settings (like switching to dwarf debug symbols or enabling compilation caching), script phase guards, source-level compilation fixes (type annotations, breaking up complex expressions), and SPM restructuring. The revert logic is nuanced: it knows that certain Apple-recommended settings like COMPILATION_CACHE_ENABLE_CACHING should stay even if the initial benchmark shows no win, because they compound over real workflows. Speculative changes get reverted if they regress. Good if you want to stop guessing at build fixes and actually measure what works.

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

Install

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

Installs into .claude/skills of the current project.

Files

Xcode Build Fixer

Use this skill to implement approved build optimization changes and verify them with a benchmark.

Core Rules

  • Only apply changes that have explicit developer approval.
  • Apply one logical fix at a time so changes are reviewable and reversible.
  • Re-benchmark after applying changes to verify improvement.
  • Report exactly what changed, which files were touched, and the measured delta.
  • If a change produces no improvement or causes a regression, flag it immediately.

Inputs

The fixer expects one of:

  • An approved optimization plan at .build-benchmark/optimization-plan.md with checked approval boxes.
  • An explicit developer instruction describing the fix to apply (e.g., "set DEBUG_INFORMATION_FORMAT to dwarf for Debug").

When working from an optimization plan, read the approval checklist and implement only the checked items.

Fix Categories

Build Settings

Change project.pbxproj values to match the recommendations in build-settings-best-practices.md.

Typical fixes:

Sponsors

Details

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

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

All 6
1avdlee avatarxcode-build-orchestratoravdlee/xcode-build-optimization-agent-skillOrchestrate Xcode build optimization by benchmarking first, running the specialist analysis skills, prioritizing findings, requesting explicit approval, delegat3.7Kskills.sh installs
2giuseppe-trisciuoglio avatarwiremock-standalone-dockergiuseppe-trisciuoglio/developer-kitProvides patterns and configurations for running WireMock as a standalone Docker container. Generates mock HTTP endpoints, creates stub mappings for testing, va3.5Kskills.sh installs
3wshobson avatarbefore-you-buildwshobson/agentsPre-build product and feature risk review for founders, product managers, and AI-assisted builders. Use this skill when the user is about to build a landing pag3.5Kskills.sh installs
4avdlee avatarxcode-build-benchmarkavdlee/xcode-build-optimization-agent-skillBenchmark Xcode clean and incremental builds with repeatable inputs, timing summaries, and timestamped `.build-benchmark/` artifacts. Use when a developer wants3.5Kskills.sh installs
5tradermonty avataredge-pipeline-orchestratortradermonty/claude-trading-skillsOrchestrate the full edge research pipeline from candidate detection through strategy design, review, revision, and export. Use when coordinating multi-stage ed3.4Kskills.sh installs
6elastic avatarobservability-logs-searchelastic/agent-skillsSearch and filter Observability logs using ES|QL. Use when investigating log spikes, errors, or anomalies; getting volume and trends; or drilling into services 3.2Kskills.sh installs