
Point this at your Xcode project when incremental builds feel slower than they should or you suspect build settings are fighting you. It audits scheme configuration, target dependencies, run script phases, and build settings against Apple's recommendations, then gives you measured findings with explicit approval gates before touching anything. The checklist approach is thorough, covering everything from debug versus release config mismatches to script phases that invalidate derived data. Honest take: if you've never compared your build settings to best practices or don't know whether your scripts declare inputs and outputs, this will find low-hanging fruit fast.
$ npx -y skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-project-analyzer --agent claude-codeInstalls into .claude/skills of the current project.
Use this skill for project- and target-level build inefficiencies that are unlikely to be solved by source edits alone.
ExtractAppIntentsMetadata time in the Build Timing Summary -- if this phase consumes significant time, record it as xcode-behavior (report the cost and impact, but do not suggest a repo-local optimization unless there is explicit Apple guidance)Podfile or Pods.xcodeproj exists, CocoaPods is deprecated; recommend migrating to SPM and do not attempt CocoaPods-specific optimizations (see project-audit-checks.md)Every project audit should include a build settings checklist comparing the project's Debug and Release configurations against the recommended values in build-settings-best-practices.md. Present results using checkmark/cross indicators ([x]/[ ]). The scope is strictly build performance -- do not flag language-migration settings like SWIFT_STRICT_CONCURRENCY or SWIFT_UPCOMING_FEATURE_*.
Review these items in every audit:
Dependency Order.xcfilelist files are used when scripts have many inputs or outputsDEFINES_MODULE is enabled where custom frameworks or libraries should expose module mapsFor each issue, include:
If the evidence points to package graph or build plugins, hand off to spm-build-analysis by reading its SKILL.md and applying its workflow to the same project context.
Sponsors