Xcode project auditor

From Xopoko/build-swift-apps · View interactive version

Xcode project auditor is an AI agent skill from the GitHub repository Xopoko/build-swift-apps. Audit Xcode project and target overhead across schemes, settings, dependencies, run scripts, module maps, and explicit modules; require approval before changes.

How to use this skill

Skill file

Xcode Project Auditor

Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.

Use for project- and target-level build inefficiencies. Recommend first and require explicit approval before changing projects, schemes, or build settings.

Review

and avoid speculative Podfile or generated Pods-project tuning

When a finding depends on a setting, check the effective value for the affected target, configuration, and destination with xcodebuild -showBuildSettings. Read the project or xcconfig to locate its source before proposing an edit.

Typical Wins

Skip debug-time scripts that only matter in release, add script guards and dependency metadata, remove accidental serial bottlenecks, align settings that create extra module variants, stop formatters/linters from touching unchanged files, split huge asset catalogs into resource bundles, and use Task Backtraces to find the input that triggers invalidation.

Output

For each issue include evidence, scope, whether it affects clean/incremental/both, estimated impact, and approval requirement. If evidence points to package graph or build plugins, read and hand off to swiftpm-build-inspector.

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.