Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By AvdLee
Benchmark Xcode clean and incremental builds for iOS/macOS apps, analyze SPM dependencies, compile hotspots, and project settings to pinpoint slowdowns, then apply prioritized fixes like settings tweaks and source optimizations, re-benchmarking to confirm wall-clock gains.
npx claudepluginhub avdlee/xcode-build-optimization-agent-skill --plugin xcode-build-skillsAnalyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode builds. Use when a developer suspects packages, plugins, or dependency graph shape are hurting clean or incremental build performance, mentions SPM slowness, package resolution time, build plugin overhead, duplicate module builds from configuration drift, circular dependencies between modules, oversized modules needing splitting, or modularization best practices.
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.
Apply approved Xcode build optimization changes following best practices, then re-benchmark to verify improvement. Use when a developer has an approved optimization plan from xcode-build-orchestrator, wants to apply specific build fixes, needs help implementing build setting changes, script phase guards, source-level compilation fixes, or SPM restructuring that was recommended by an analysis skill.
Orchestrate Xcode build optimization by benchmarking first, running the specialist analysis skills, prioritizing findings, requesting explicit approval, delegating approved fixes to xcode-build-fixer, and re-benchmarking after changes. Use when a developer wants an end-to-end build optimization workflow, asks to speed up Xcode builds, wants a full build audit, or needs a recommend-first optimization pass covering compilation, project settings, and packages.
Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift frontend diagnostics, then produce a recommend-first source-level optimization plan. Use when a developer reports slow compilation, type-checking warnings, expensive clean-build compile phases, long CompileSwiftSources tasks, warn-long-function-bodies output, or wants to speed up Swift type checking.
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Agent skills for building, debugging, profiling, testing, refactoring, and shipping Swift apps across Apple platforms.
Automatically pipe xcodebuild and swift build output through xcsift for structured TOON format optimized for LLM consumption
iOS development validation with Xcode build hooks.
macOS notifications for xcodebuild commands, mimicking Xcode's build notifications
Modular iOS development automation suite. 8 workflow-specific MCP servers (600-3500 tokens) with 23 tools across Xcode, Simulator, and IDB. Enable only what you need!
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Expert SwiftUI guidance for state management, view composition, performance, and iOS 26+ Liquid Glass adoption.
Expert guidance on Swift Concurrency best practices, patterns, and implementation. Covers async/await, actors, tasks, Sendable conformance, data race prevention, and Swift 6 migration strategies.
Expert Swift Testing guidance for test structure, #expect/#require usage, traits and tags, parameterized tests, async waiting patterns, parallel execution, and XCTest migration.
Expert guidance on Core Data persistence, data modeling, and performance. Covers NSPersistentContainer, fetch optimization, threading with NSManagedObjectID, batch operations, schema migration, and NSPersistentCloudKitContainer integration.
Open-source Agent Skills for benchmarking and optimizing Xcode build performance across clean builds, incremental builds, compile hotspots, project settings, and Swift Package Manager overhead.
Install all six skills (the orchestrator needs the specialist skills to work):
npx skills add https://github.com/avdlee/xcode-build-optimization-agent-skill
Then open your Xcode project in your AI coding tool and say:
Use the /xcode-build-orchestrator skill to analyze build performance and come up with a plan for improvements.
The agent will benchmark your clean and incremental builds, audit build settings, find compile hotspots, and produce an optimization plan at .build-benchmark/optimization-plan.md. No project files are modified until you explicitly approve changes.
For long-term monitoring across days, machines, Xcode versions, and teams, use RocketSim Build Insights and Team Build Insights.
A 1-second improvement on a 30-second incremental build sounds small. At 50 builds a day, that adds up to 3.5 hours per developer per year -- or 35 hours across a team of ten.
Most projects have several seconds of easy wins hiding in build settings, script phases, and compiler flags. This skill finds them.
The orchestrator coordinates five specialist skills in a recommend-first workflow. Nothing is modified until you approve.
flowchart LR
Orchestrator --> Benchmark["Benchmark\n(clean + incremental)"]
Benchmark --> Compilation["Compilation\nAnalyzer"]
Benchmark --> Project["Project\nAnalyzer"]
Benchmark --> SPM["SPM\nAnalyzer"]
Compilation --> Plan["Optimization\nPlan"]
Project --> Plan
SPM --> Plan
Plan --> You{{"You review\n& approve"}}
You --> Fixer["Build\nFixer"]
Fixer --> ReBenchmark["Re-benchmark\n& verify"]
Phase 1 -- Analyze. The orchestrator benchmarks your project, runs the three specialist analyzers, and produces a prioritized optimization plan at .build-benchmark/optimization-plan.md. No project files are modified.
Use the Xcode build orchestrator to analyze build performance and come up with a plan for improvements.
Phase 2 -- Fix. Review the plan, check the approval boxes for the items you want, and ask the agent to apply them. The fixer implements only approved changes and re-benchmarks to verify.
Implement the approved items from the optimization plan at .build-benchmark/optimization-plan.md, then re-benchmark to verify the improvements.
The plan file is your evidence trail -- shareable with teammates, reviewable in PRs, and diffable over time.
The agent runs over 40 individual checks across build settings, project configuration, source code, and package dependencies.