1. Habit
  2. Skills
  3. Xcode Build Fixer skill
AvdLee · 4K installs

Xcode Build Fixer skill
Runs by itself, plan approved.

Approved build fixes proven by benchmark.

Install the Xcode Build Fixer skill and make it a habit: follow https://gethabit.dev/skills/avdlee/xcode-build-fixer.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

4K installs1K starsMIT licenceSource on GitHub ↗

Xcode Build Fixer

by AvdLee · 4K installs

The skill

Xcode Build Fixer applies approved Xcode build optimizations, build settings, script phase guards, source fixes and SPM restructuring, then re-benchmarks to prove the gain.

Only when you ask.

The habit

Approved build fixes proven by benchmark.

↻ Runs by itselfplan approved

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one approved plan per run, with at most one re-benchmark retry.

  1. 01

    Read approvals

    Your agent reads the plan or your instruction and implements only the checked items.

  2. 02

    Apply one fix

    It applies one logical change, a build setting, script phase, source fix or SPM change, at a time.

  3. 03

    Verify compile

    It runs a quick xcodebuild build to confirm no errors were introduced.

  4. 04

    Re-benchmark

    After all approved changes it reruns benchmark_builds.py with the original baseline inputs.

  5. 05

    Compare

    It compares post-change medians to the baseline for clean, cached clean and incremental builds.

  6. 06

    Report

    It leads with the wall-clock result, lists files changed and flags any regression.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Xcode Build Fixer skill helps.

Use it when

  • ✓ applying an approved build optimization plan
  • ✓ implementing specific Xcode build fixes
  • ✓ verifying a fix with a benchmark

Skip it when

  • – you have no approved plan yet
  • – the project is not an Xcode project

Questions

Xcode Build Fixer skill, answered.

Does it apply changes without approval?

No. It applies only items with explicit developer approval, one at a time so each is reversible.

When does it recommend a revert?

For speculative changes that regress all build types; recommended Apple-default settings are kept even without an immediate gain.

How do I install the Xcode Build Fixer skill?

Copy the prompt at the top into your agent. It installs the skill from avdlee/xcode-build-optimization-agent-skill and sets up the habit. Or run npx skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-build-fixer.

Is the Xcode Build Fixer skill free?

Yes. It is published under MIT. Habit is free too.

Xcode Build Fixer. Now as a habit.

Install the Xcode Build Fixer skill and make it a habit: follow https://gethabit.dev/skills/avdlee/xcode-build-fixer.md

  • Free
  • No account
  • Undo in one line

All AvdLee skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by AvdLee, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.