avdlee/xcode-build-benchmark

Xcodeのクリーンビルドおよびインクリメンタルビルドをベンチマークし、再現可能な入力、時間サマリー、タイムスタンプ付きの`.build-benchmark/`アーティファクトを生成します。開発者がベースラインを求めている場合、変更前後の比較をしたい場合、ビルドパフォーマンスの測定を依頼した場合、ビルド時間やビルド期間、ビルドの所要時間について言及した場合、あるいはビルドが高速化または低速化したかを知りたい場合に使用します。

xcode-build-benchmark とは?

このスキルは、Xcodeプロジェクトのクリーンビルドとインクリメンタルビルドのパフォーマンスを測定・記録するためのものです。開発者がビルド時間のベースラインを取得したり、コード変更前後のビルド速度を比較したりする際に役立ちます。スキルは、再現可能なビルド入力を使用して一貫した測定を保証し、各ベンチマーク実行の結果をタイムスタンプ付きの`.build-benchmark/`ディレクトリに保存します。これにより、ビルド時間の変化を追跡し、パフォーマンスの改善や劣化を特定できます。主にClaude CodeやCursorなどのAIエージェント環境で動作し、開発ワークフローに統合してビルドパフォーマンスの継続的な監視を実現します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/avdlee/xcode-build-optimization-agent-skill/tree/main/skills/xcode-build-benchmark

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

xcode-build-benchmark は何をしますか?

Xcodeのクリーンビルドおよびインクリメンタルビルドをベンチマークし、再現可能な入力、時間サマリー、タイムスタンプ付きの.build-benchmark/アーティファクトを生成します。開発者がベースラインを求めている場合、変更前後の比較をしたい場合、ビルドパフォーマンスの測定を依頼した場合、ビルド時間やビルド期間、ビルドの所要時間について言及した場合、あるいはビルドが高速化または低速化したかを知りたい場合に使用します。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

avdlee/spm-build-analysis

Analyze 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.

avdlee/xcode-build-fixer

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.

avdlee/xcode-build-orchestrator

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.

avdlee/xcode-compilation-analyzer

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.

avdlee/xcode-project-analyzer

Audit Xcode project configuration, build settings, scheme behavior, and script phases to find build-time improvements with explicit approval gates. Use when a developer wants project-level build analysis, slow incremental builds, guidance on target dependencies, build settings review, run script phase analysis, parallelization improvements, or module-map and DEFINES_MODULE configuration.

関連スキル