build-optimizer
Automatically scans Xcode projects for build performance optimizations and provides quick wins with measurable time savings.
How to Use This Agent
Natural language (automatic triggering):
- "My builds are slow"
- "How can I speed up build times?"
- "Optimize my Xcode build performance"
- "Builds are taking forever"
- "Can you make my builds faster?"
Explicit command:
bash
/axiom:optimize-buildWhat It Does
- Build Settings (HIGH) — Compilation mode, architecture settings, debug info format
- Build Phase Scripts (HIGH) — Conditional execution, sandboxing, unnecessary scripts in Debug
- Type Checking Performance (MEDIUM) — Slow-compiling functions, complex type inference
- Compiler Flags (MEDIUM) — Suboptimal Swift compiler flags
Expected Results
Based on typical findings:
- 30-50% faster incremental debug builds
- 5-10 seconds saved per build from conditional scripts
- Measurable improvements in Build Timeline
Related
- build-performance skill — Comprehensive build optimization workflows with Build Timeline analysis, WWDC 2018-408 and WWDC 2022-110364 guidance