Community生產力與協作github.com

avdlee/xcode-build-benchmark

透過可重複的輸入、時間摘要以及帶時間戳記的 `.build-benchmark/` 成品,對 Xcode 的乾淨建置與增量建置進行基準測試。適用在開發者需要建立基準線、想在變更前後進行比較、要求衡量建置效能、提到建置時間、建置時長、建置花費多久時間,或想知道建置變快或變慢時。

xcode-build-benchmark 是什麼?

這個技能提供了一個自動化工具,用於對 Xcode 專案進行建置效能基準測試。它能夠以可重複且可靠的方式執行乾淨建置和增量建置,並產生詳細的建置時間摘要,包括各個階段的耗時。結果會儲存到帶有時間戳記的 `.build-benchmark/` 目錄中,方便開發者追蹤和分析建置效能的變化。這在以下場景特別有用:建立初始效能基準線、比較程式碼或設定變更前後的建置時間、診斷建置速度問題,以及驗證最佳化措施的實際成效。支援在 Xcode 專案和 Swift Package Manager 方案中使用。

相容平台~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 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

xcode-build-benchmark 是做什麼的?

透過可重複的輸入、時間摘要以及帶時間戳記的 .build-benchmark/ 成品,對 Xcode 的乾淨建置與增量建置進行基準測試。適用在開發者需要建立基準線、想在變更前後進行比較、要求衡量建置效能、提到建置時間、建置時長、建置花費多久時間,或想知道建置變快或變慢時。

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.

相關技能