xcode-compilation-analyzer 是做什么的?
通过构建时间摘要和Swift前端诊断信息,分析Swift及混合语言编译热点,并生成以建议优先的源码级优化方案。当开发者报告编译缓慢、类型检查警告、清空构建耗时过长、CompileSwiftSources任务执行超时、warn-long-function-bodies输出,或希望加速Swift类型检查时使用。
通过构建时间摘要和Swift前端诊断信息,分析Swift及混合语言编译热点,并生成以建议优先的源码级优化方案。
该技能专为开发者设计,用于诊断和优化Xcode项目的编译性能,特别针对Swift及混合语言场景。当开发者遇到编译缓慢、类型检查警告、清空构建耗时过长、CompileSwiftSources任务执行超时或warn-long-function-bodies输出等问题时,它能自动分析构建时间摘要和Swift前端诊断数据,识别出编译瓶颈。技能支持主流AI开发平台(如Claude Code、Cursor、Codex),通过解析Xcode日志和编译器输出,生成一份以建议优先的源码级优化方案。该方案会列出具体的修改建议,例如优化复杂表达式、拆分长函数或调整泛型约束,从而显著缩短编译周期,提升开发效率。
npx skills add https://github.com/avdlee/xcode-build-optimization-agent-skill/tree/main/skills/xcode-compilation-analyzerInstalled? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
通过构建时间摘要和Swift前端诊断信息,分析Swift及混合语言编译热点,并生成以建议优先的源码级优化方案。当开发者报告编译缓慢、类型检查警告、清空构建耗时过长、CompileSwiftSources任务执行超时、warn-long-function-bodies输出,或希望加速Swift类型检查时使用。
This repo contains 5 individual skills — each has its own dedicated page.
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.
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.
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.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.