Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
avdlee avatar

Xcode Project Analyzer

  • 2.9k installs
  • 1.2k repo stars
  • Updated April 15, 2026
  • avdlee/xcode-build-optimization-agent-skill

xcode-project-analyzer is an agent skill that audits Xcode projects, schemes, and build settings to find measured build-time improvements with approval-gated recommendations.

About

xcode-project-analyzer is an agent skill for project- and target-level Xcode build inefficiencies that source edits alone cannot fix. It reviews scheme build order, target dependencies, debug versus release settings against build settings best practices, run script phases, derived-data churn, parallelization opportunities, module-map readiness, and timing evidence such as Planning Swift module or ExtractAppIntentsMetadata phases. Recommendation-first workflow requires explicit approval before changing project files, schemes, or build settings and distinguishes debug-only pain from release-only pain. Apple-derived checks cover dependency order schemes, script input and output declarations, xcfilelist usage, DEFINES_MODULE alignment, and Task Backtraces on Xcode 16.4 plus for unexpected incremental invalidation. Typical wins include skipping debug-only scripts, adding dependency-analysis metadata, removing serial bottlenecks, splitting large asset catalogs, and flagging CocoaPods projects for SPM migration without Pods-specific tuning. Reporting requires evidence, scope, clean versus incremental impact, estimated benefit, and approval requirements per issue.

  • Recommendation-first audits with explicit approval before editing Xcode projects or schemes.
  • Compares Debug and Release settings against build-settings-best-practices reference checklists.
  • Investigates run scripts, scheme order, module maps, asset catalogs, and Build Timing Summary phases.
  • Uses Task Backtraces on Xcode 16.4 plus to trace unexpected incremental rebuild triggers.
  • Hands off package graph or plugin issues to the spm-build-analysis skill when evidence points there.

Xcode Project Analyzer by the numbers

  • 2,905 all-time installs (skills.sh)
  • +65 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #51 of 1,048 Mobile Development skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

xcode-project-analyzer capabilities & compatibility

Capabilities
scheme and dependency review · build settings checklist audit · run script phase analysis · timing summary interpretation · approval gated recommendations
Use cases
devops · ci cd
Platforms
macOS
From the docs

What xcode-project-analyzer says it does

Require explicit approval before changing project files, schemes, or build settings.
SKILL.md
npx skills add https://github.com/avdlee/xcode-build-optimization-agent-skill --skill xcode-project-analyzer

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.9k
repo stars1.2k
Security audit3 / 3 scanners passed
Last updatedApril 15, 2026
Repositoryavdlee/xcode-build-optimization-agent-skill

Why are my Xcode clean or incremental builds slow at the project, scheme, or script phase level instead of in source files alone?

Audit Xcode project configuration, schemes, build settings, and run script phases to find build-time improvements with explicit approval gates.

Who is it for?

iOS and macOS developers diagnosing slow incremental builds, script invalidation, or project-level configuration bottlenecks in Xcode.

Skip if: Skip when the problem is pure Swift source refactoring without project configuration or timing evidence.

When should I use this skill?

User requests Xcode project build analysis, slow incremental builds, scheme dependency review, or run script phase optimization.

What you get

Evidence-backed recommendations on schemes, build settings, scripts, and module configuration with impact scope and approval requirements.

  • Build optimization recommendation report
  • Run script input/output fix list
  • Timing summary measurement plan

By the numbers

  • References Apple's official incremental build optimization documentation on developer.apple.com
  • Covers 4 optimization areas: timing measurement, target dependencies, run script I/O, and module maps

Files

SKILL.mdMarkdownGitHub ↗

Xcode Project Analyzer

Use this skill for project- and target-level build inefficiencies that are unlikely to be solved by source edits alone.

Core Rules

  • Recommendation-first by default.
  • Require explicit approval before changing project files, schemes, or build settings.
  • Prefer measured findings tied to timing summaries, build logs, or project configuration evidence.
  • Distinguish debug-only pain from release-only pain.

What To Review

  • scheme build order and target dependencies
  • debug vs release build settings against the build settings best practices
  • run script phases and dependency-analysis settings
  • derived-data churn or obviously invalidating custom steps
  • opportunities for parallelization
  • explicit module dependency settings and module-map readiness
  • "Planning Swift module" time in the Build Timing Summary -- if it dominates incremental builds, suspect unexpected input modification or macro-related invalidation
  • asset catalog compilation time, especially in targets with large or numerous catalogs
  • 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)
  • zero-change build overhead -- if a no-op rebuild exceeds a few seconds, investigate fixed-cost phases (script execution, codesign, validation, CopySwiftLibs)
  • CocoaPods usage -- if a Podfile or Pods.xcodeproj exists, CocoaPods is deprecated; recommend migrating to SPM and do not attempt CocoaPods-specific optimizations (see project-audit-checks.md)
  • Task Backtraces (Xcode 16.4+: Scheme Editor > Build > Build Debugging) to diagnose why tasks re-run unexpectedly in incremental builds

Build Settings Best Practices Audit

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_*.

Apple-Derived Checks

Review these items in every audit:

  • target dependencies are accurate and not missing or inflated
  • schemes build in Dependency Order
  • run scripts declare inputs and outputs
  • .xcfilelist files are used when scripts have many inputs or outputs
  • DEFINES_MODULE is enabled where custom frameworks or libraries should expose module maps
  • headers are self-contained enough for module-map use
  • explicit module dependency settings are consistent for targets that should share modules

Typical Wins

  • skip debug-time scripts that only matter in release
  • add missing script guards or dependency-analysis metadata
  • remove accidental serial bottlenecks in schemes
  • align build settings that cause unnecessary module variants
  • fix stale project structure that forces broader rebuilds than necessary
  • identify linters or formatters that touch file timestamps without changing content, silently invalidating build inputs and forcing module replanning
  • split large asset catalogs into separate resource bundles across targets to parallelize compilation
  • use Task Backtraces to pinpoint the exact input change that triggers unnecessary incremental work

Reporting Format

For each issue, include:

  • evidence
  • likely scope
  • why it affects clean builds, incremental builds, or both
  • estimated impact
  • approval requirement

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.

Additional Resources

  • For the detailed audit checklist, see references/project-audit-checks.md
  • For build settings best practices, see references/build-settings-best-practices.md
  • For the shared recommendation structure, see references/recommendation-format.md
  • For Apple-aligned source summaries, see references/build-optimization-sources.md

Related skills

How it compares

Use xcode-project-analyzer for Apple-specific Xcode build tuning rather than general CI pipeline optimization skills.

FAQ

Will this skill edit my Xcode project automatically?

No. It is recommendation-first and requires explicit approval before changing project files, schemes, or build settings.

What should I check when Planning Swift module dominates timing?

Suspect unexpected input modification, macro-related invalidation, or linters touching timestamps without content changes.

How does it handle CocoaPods projects?

It recommends migrating to SPM and does not attempt CocoaPods-specific optimizations when a Podfile exists.

Is Xcode Project Analyzer safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.