xcode-build-benchmark
Benchmark Xcode clean and incremental builds with repeatable inputs, timing summaries, and timestamped `.build-benchmark/` artifacts. Use when a developer wants a baseline, wants to compare before and after changes, asks to measure build performance, mentions build times, build duration, how long builds take, or wants to know if builds got faster or slower.
Install
Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.
git clone https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill /tmp/Xcode-Build-Optimization-Agent-Skill && ln -s /tmp/Xcode-Build-Optimization-Agent-Skill/skills/xcode-build-benchmark ~/.claude/skills/xcode-build-benchmark
From README
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.
More from this repo
spm-build-analysis
Used to analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead...
xcode-build-fixer
Apply approved Xcode build optimization changes following best practices, then re-benchmark to verify improvement.
xcode-build-orchestrator
Orchestrate Xcode build optimization by benchmarking first, running the specialist analysis skills, prioritizing...