xcode-build-fixer
Skill by AvdLee
Applies approved Xcode build optimization changes, then re-benchmarks the project to measure the result. Built for developers who already have an optimization plan from an analysis skill.
Install xcode-build-fixer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill /tmp/Xcode-Build-Optimization-Agent-Skill && mkdir -p ~/.claude/skills && cp -r /tmp/Xcode-Build-Optimization-Agent-Skill/skills/xcode-build-fixer ~/.claude/skills/xcode-build-fixerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill /tmp/Xcode-Build-Optimization-Agent-Skill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Xcode-Build-Optimization-Agent-Skill/skills/xcode-build-fixer ~/.gemini/antigravity-cli/skills/xcode-build-fixerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
xcode-build-fixer applies build optimization changes that a developer has approved. It covers build settings in project.pbxproj, run script phases, source-level compilation fixes, and Swift Package Manager restructuring. Each logical fix is applied one at a time so changes stay reviewable and reversible.
After the changes are made, the skill runs a quick build to check for new errors, then re-benchmarks the project with the same inputs as the original baseline. It compares post-change medians to the baseline, reports wall-clock deltas and touched files, and flags changes that show no improvement or a regression. Best-practice build settings are kept even when the immediate benchmark shows no gain. It is aimed at developers working on Xcode projects who want to implement and verify an existing plan.
Written from the project's SKILL.md and checked against it.
What it can do
- Build settings fixesChanges project.pbxproj values such as DEBUG_INFORMATION_FORMAT and EAGER_LINKING for Debug.
- Script phase fixesAdds input and output declarations and configuration guards to run script phases.
- Source-level compilation fixesAdds explicit type annotations, marks unsubclassed classes final, and splits long expressions.
- SPM restructuringMoves shared types, splits oversized modules, and pins branch-tracked dependencies to tags or hashes.
- Re-benchmarkingRuns benchmark_builds.py and reports clean and incremental wall-clock deltas against the baseline.
- Execution reportProduces a table of applied changes with status Kept, Reverted, Blocked or No improvement.
What you need
- Xcode with xcodebuild
- Python 3
- git, for checking upstream package tags
Try asking
- Apply the approved items in my .build-benchmark/optimization-plan.md
- Set DEBUG_INFORMATION_FORMAT to dwarf for Debug and re-benchmark the build
- Add input and output files to my release-only run script phase
Good to know
- Applies only changes with explicit developer approval.
- Compilation caching was measured at 5-14% faster clean builds across tested projects of 87 to 1,991 Swift files.
- Best-practice settings should not be reverted based on a single benchmark result.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/xcode-build-fixer/SKILL.md, skills/xcode-build-fixer/scripts/benchmark_builds.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/build-settings-best-practices.md8 KB -
references/fix-patterns.md6 KB -
references/recommendation-format.md3 KB -
scripts/benchmark_builds.py12 KB
Alternatives to xcode-build-fixer
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
xcode-build-fixer: common questions
Does it apply changes without approval?
No. The skill only applies changes with explicit developer approval, either checked items in an optimization plan or a direct instruction.
How does it check that a change worked?
It runs a quick xcodebuild build to confirm no errors, then re-benchmarks with benchmark_builds.py and compares post-change medians to the baseline.
Will it revert a build setting after one slow result?
Best-practice settings such as COMPILATION_CACHE_ENABLE_CACHING should be kept and not reverted based on a single benchmark result.
How do I install xcode-build-fixer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is xcode-build-fixer free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is xcode-build-fixer safe to use?
It scores 86 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to xcode-build-fixer?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
