avdlee/xcode-compilation-analyzer

Analise pontos críticos de compilação Swift e de linguagens mistas usando resumos de tempo de compilação e diagnósticos do frontend Swift, gerando um plano de otimização em nível de código-fonte com recomendações.

O que é xcode-compilation-analyzer?

Esta habilidade ajuda desenvolvedores a identificar e resolver gargalos de compilação em projetos Xcode que usam Swift e linguagens mistas. Ela analisa resumos de tempo de compilação, diagnósticos do frontend Swift e logs de tarefas como CompileSwiftSources para detectar funções com corpo longo, type-checking lento e fases de compilação limpa caras. Com base nessa análise, a habilidade gera um plano de otimização prático focado em mudanças no código-fonte, como refatorar expressões complexas, otimizar tipos e reduzir a carga de type-checking. A habilidade é útil para qualquer desenvolvedor que enfrenta compilações lentas no Xcode, independentemente do tamanho do projeto, e pode ser integrada a assistentes de IA que suportam execução de comandos e acesso a arquivos de log.

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

Installed? Explore more Produtividade e Colaboração skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

O que xcode-compilation-analyzer faz?

Analise pontos críticos de compilação Swift e de linguagens mistas usando resumos de tempo de compilação e diagnósticos do frontend Swift, gerando um plano de otimização em nível de código-fonte com recomendações. Use quando um desenvolvedor relatar compilação lenta, avisos de type-checking, fases de compilação limpa caras, tarefas CompileSwiftSources demoradas, saída de warn-long-function-bodies ou quiser acelerar o type-checking do Swift.

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

Habilidades Relacionadas