Community研究與資料分析github.com

avdlee/spm-build-analysis

分析 Swift Package Manager 的依賴關係、套件插件、模組變體以及 CI 導向的建置負擔,這些都會拖慢 Xcode 建置速度。當開發者懷疑套件、插件或依賴圖形狀影響了乾淨或增量建置效能、提及 SPM 緩慢、套件解析時間、建置插件開銷、因配置漂移導致的重複模組建置、模組間的循環依賴、需要分割的過大模組,或模組化最佳實踐時,請使用此技能。

spm-build-analysis 是什麼?

此技能專門分析 Swift Package Manager (SPM) 的建置效能瓶頸,特別是針對 Xcode 專案。它能幫助開發者診斷因依賴圖形狀不良、套件插件、模組變體以及 CI 環境中的建置開銷所導致的建置緩慢問題。支援識別常見問題,如套件解析時間過長、建置插件開銷、因配置差異產生的重複模組建置、模組間的循環依賴以及需要分割的過大模組。此技能會根據 SKILL.md 文件中的準則,提供模組化最佳實踐的建議,從而提升整體建置效率。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/avdlee/xcode-build-optimization-agent-skill/tree/main/skills/spm-build-analysis

Installed? Explore more 研究與資料分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

spm-build-analysis 是做什麼的?

分析 Swift Package Manager 的依賴關係、套件插件、模組變體以及 CI 導向的建置負擔,這些都會拖慢 Xcode 建置速度。當開發者懷疑套件、插件或依賴圖形狀影響了乾淨或增量建置效能、提及 SPM 緩慢、套件解析時間、建置插件開銷、因配置漂移導致的重複模組建置、模組間的循環依賴、需要分割的過大模組,或模組化最佳實踐時,請使用此技能。

Individual skills in this repo

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

avdlee/xcode-build-benchmark

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.

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.

相關技能