Help us improve
Share bugs, ideas, or general feedback.
From claude-utilities
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.
npx claudepluginhub carloshpdoc/ios-workflow-claude --plugin xcode-build-suiteHow this skill is triggered — by the user, by Claude, or both
Slash command
/claude-utilities:xcode-build-benchmarkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to produce a repeatable Xcode build baseline before anyone tries to optimize build times.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Breaks plans, specs, or PRDs into thin vertical-slice issues on the project issue tracker using tracer bullets. Useful for converting high-level work into grabbable implementation tickets.
Share bugs, ideas, or general feedback.
Use this skill to produce a repeatable Xcode build baseline before anyone tries to optimize build times.
.build-benchmark/.Confirm or infer:
DerivedData path is neededIf the project has both clean-build and incremental-build pain, benchmark both. That is the default.
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.
COMPILATION_CACHING = YES is detected, run 3 cached clean builds. These measure clean build time with a warm compilation cache -- the realistic scenario for branch switching, pulling changes, or Clean Build Folder. The script handles this automatically by building once to warm the cache, then deleting DerivedData (but not the compilation cache) before each measured run. Pass --no-cached-clean to skip.benchmark_builds.py invocation (no --touch-file flag).--touch-file path/to/SomeFile.swift to touch a representative source file before each build..build-benchmark/.Use the shared helper when possible:
python3 .claude/skills/scripts/benchmark_builds.py \
--workspace App.xcworkspace \
--scheme MyApp \
--configuration Debug \
--destination "platform=iOS Simulator,name=iPhone 16" \
--output-dir .build-benchmark
If you cannot use the helper script, run equivalent xcodebuild commands with -showBuildTimingSummary and preserve the raw output.
Return:
--touch-file was used)If results are noisy, say so and recommend rerunning under calmer conditions.
Stop after measurement if the user only asked for benchmarking. If they want optimization guidance, hand off the artifact to the relevant specialist by reading its SKILL.md and applying its workflow to the same project context:
xcode-compilation-analyzerxcode-project-analyzerspm-build-analysisxcode-build-orchestrator for full orchestration