# Vendored Skills - Xcode Build Optimization

The following 6 skills under `pipeline/skills/shared/external/` are vendored from an external open-source project. They are redistributed under the same MIT license as upstream.

| Skill directory | Role |
|-----------------|------|
| `xcode-build-orchestrator/` | Entry point. Two-phase recommend-first workflow: analyze, then apply approved fixes. |
| `xcode-build-benchmark/` | Repeatable Xcode clean + incremental + zero-change baseline with timing summary. |
| `xcode-compilation-analyzer/` | Swift / mixed-language compile hotspot detection (type-check, expression complexity). |
| `xcode-project-analyzer/` | Audits build settings, script phases, scheme behavior, target dependencies, parallelism. |
| `spm-build-analysis/` | Swift Package Manager graph, plugin overhead, module variant detection, swift-syntax universal builds. |
| `xcode-build-fixer/` | Applies approved optimization changes and re-benchmarks to verify wall-clock delta. |

## Upstream

- Repository: https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill
- Author: Antoine van der Lee (contact@avanderlee.com)
- Vendored commit: `6bd7b59` (2026-05-12)
- License: MIT (see LICENSE in upstream repo)

## Vendor policy

- These skill directories are kept as-is from upstream **with one deployment tweak**: every `SKILL.md` frontmatter has `user-invocable: false` added so the 6 specialists do not clutter the `/multi-agent:*` slash autocomplete menu. The wrapper `/multi-agent:build-optimize` dispatches to them programmatically via the Skill() tool, which works regardless of the discoverability flag.
- Updates land via a single shallow re-copy of the 6 skill trees from upstream HEAD followed by re-applying the `user-invocable: false` line. Future automation could collapse this into the sync script.
- 40+ optimization checks documented in upstream `OPTIMIZATION-CHECKS.md`; refer there for the full catalog.
- Skills produce artifacts under `.build-benchmark/` in the target project. No project files (source, settings, packages) are modified without explicit developer approval.
- Python 3 standard library only; no extra pip dependencies.

## License (MIT, redistributed)

```
MIT License

Copyright (c) 2026 Antoine van der Lee

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
