spm-构建分析 是做什么的?
分析Swift Package Manager依赖、包插件、模块变体以及面向CI的构建开销,这些会导致Xcode构建变慢。当开发者怀疑包、插件或依赖图结构影响了干净构建或增量构建性能,提及SPM缓慢、包解析时间、构建插件开销、配置漂移引起的重复模块构建、模块间的循环依赖、需要拆分的超大模块或模块化最佳实践时使用。
分析Swift Package Manager依赖、包插件、模块变体以及面向CI的构建开销,这些会导致Xcode构建变慢。当开发者怀疑包、插件或依赖图结构影响了干净构建或增量构建性能,提及SPM缓慢、包解析时间、构建插件开销、配置漂移引起的重复模块构建、模块间的循环依赖、需要拆分的超大模块或模块化最佳实践时使用。
该技能旨在帮助开发者精确诊断由Swift Package Manager(SPM)引发的构建性能问题。它通过深度分析依赖关系图、包插件、模块变体以及CI环境下的构建开销,定位导致Xcode构建缓慢的根源。例如,它可以识别配置漂移导致的重复模块构建、模块间的循环依赖、超大模块需要拆分以及包解析时间过长等问题。该技能支持在Claude Code等AI代理中作为调试助手使用,通过读取项目中的Package.swift和构建配置文件,提供针对性的优化建议。其核心优势在于将复杂的SPM构建性能问题系统化、可操作化,帮助开发者从依赖管理的角度提升构建效率。
npx skills add https://github.com/avdlee/xcode-build-optimization-agent-skill/tree/main/skills/spm-build-analysisInstalled? Explore more 研究与数据分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →
分析Swift Package Manager依赖、包插件、模块变体以及面向CI的构建开销,这些会导致Xcode构建变慢。当开发者怀疑包、插件或依赖图结构影响了干净构建或增量构建性能,提及SPM缓慢、包解析时间、构建插件开销、配置漂移引起的重复模块构建、模块间的循环依赖、需要拆分的超大模块或模块化最佳实践时使用。
This repo contains 5 individual skills — each has its own dedicated page.
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.
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.
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.
USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.
Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.
Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Agent skill repository discovered by 10x-chat research.
Review backend code for quality, security, maintainability, and best practices based on established checklist rules. Use when the user requests a review, analysis, or improvement of backend files (e.g., `.py`) under the `api/` directory. Do NOT use for frontend files (e.g., `.tsx`, `.ts`, `.js`). Supports pending-change review, code snippets review, and file-focused review.