This does one thing well: it runs repeatable Xcode build benchmarks so you have numbers before you start optimizing. It measures clean builds, cached clean builds (when compilation cache is on), zero-change builds to find fixed overhead, and optional incremental builds with a file touch. Everything gets run three times and saved to timestamped JSON in `.build-benchmark/` so you can compare before and after. The workflow is opinionated about consistency, it won't modify your project files, and it explicitly stops after measuring unless you ask for optimization help. If your build times feel slow but you don't have a baseline, start here.

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-build-benchmark --agent claude-code

Installs into .claude/skills of the current project.

Files

Xcode Build Benchmark

Use this skill to produce a repeatable Xcode build baseline before anyone tries to optimize build times.

Core Rules

  • Measure before recommending changes.
  • Capture clean and incremental builds separately.
  • Keep the command, destination, configuration, scheme, and warm-up rules consistent across runs.
  • Write a timestamped JSON artifact to .build-benchmark/.
  • Do not change project files as part of benchmarking.

Inputs To Collect

Confirm or infer:

  • workspace or project path
  • scheme
  • configuration
  • destination
  • whether the user wants simulator or device numbers
  • whether a custom DerivedData path is needed

If the project has both clean-build and incremental-build pain, benchmark both. That is the default.

Worktree Considerations

When benchmarking inside a git worktree, SPM packages with exclude: paths that reference gitignored directories (e.g., __Snapshots__) will cause xcodebuild -resolvePackageDependencies to crash. Create those missing directories before running any builds.

Default Workflow

Sponsors

Details

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

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

All 6
1tradermonty 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
2elastic 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
3anthropics avatarpipeline-reviewanthropics/knowledge-work-pluginsAnalyze pipeline health — prioritize deals, flag risks, get a weekly action plan. Use when running a weekly pipeline review, deciding which deals to focus on th2.9Kskills.sh installs
4elastic avatarobservability-manage-sloselastic/agent-skillsCreate and manage SLOs in Elastic Observability using the Kibana API. Use when defining SLIs, setting error budgets, or managing SLO lifecycle.2.8Kskills.sh installs
5juliusbrussee avatarbuildjuliusbrussee/cavekitPlan-then-execute implementation against SPEC.md. Native single-thread loop, no sub-agents. On test or build failure, auto-invokes the backprop skill before ret2.7Kskills.sh installs
6github avatargithub-actions-hardeninggithub/awesome-copilotSecurity hardening reviewer for GitHub Actions workflow files (.github/workflows/*.yml). Reasons about the Actions threat model that pattern matchers and genera2.6Kskills.sh installs