xcode-compilation-analyzer
AvdLee/Xcode-Build-Optimization-Agent-SkillFrontend & design
xcode-compilation-analyzer is a skill in AvdLee/Xcode-Build-Optimization-Agent-Skill, last changed 1 Apr 2026. It can run shell commands, name web addresses and bundle scripts.
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.
At a glance
What it can touch
How much a skill can do, not whether it is risky.
Pattern check
Nothing flagged
That isn't proof the skill is harmless.
Commit 6bd7b59 · 29 Oct 2026
How the check worksPattern check: nothing flagged
That isn't proof the skill is harmless.
Install
Each tab says whether it installs commit 6bd7b59, the one we checked, or the latest version.
OpenCode also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Goose also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Windsurf (Devin Desktop) also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Zed also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Roo Code also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Factory Droid also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Junie also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Amp also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
No install command here reaches Kiro. Copy the skill's folder into .kiro/skills/ in your project, or ~/.kiro/skills/ for all your projects. AvdLee/Xcode-Build-Optimization-Agent-Skill/skills/xcode-compilation-analyzer (opens in a new tab)
Antigravity also looks in .agents/skills/, so the Any agent steps reach it with This project. For All projects, see where Antigravity looks.
Cline also looks in .claude/skills/, so the Claude Code steps reach it with This project. For All projects, see where Cline looks.
Claude Code
Pinned to commit 6bd7b59, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&git -C "$tmp" sparse-checkout set -- skills/xcode-compilation-analyzer &&git -C "$tmp" checkout -q 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&mkdir -p .claude/skills &&mkdir .claude/skills/xcode-compilation-analyzer &&cp -R "$tmp"/skills/xcode-compilation-analyzer/. .claude/skills/xcode-compilation-analyzer/ &&rm -rf "$tmp"If Claude Code was already running and this created the skills folder, run /reload-skills.
Or install the xcode-build-skills plugin it ships in. Installs the latest version, not the one we checked. Installs everything in the plugin, including any hooks, MCP servers and scripts our check doesn't cover.
claude plugin marketplace add AvdLee/Xcode-Build-Optimization-Agent-Skill --scope project &&claude plugin install xcode-build-skills@xcode-build-skills --scope projectClaude apps
Pinned to commit 6bd7b59, the one we checked.
Skills in the Claude apps belong to your account rather than to a project.
Make xcode-compilation-analyzer.zip, with the skill folder at the top level:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&git -C "$tmp" sparse-checkout set -- skills/xcode-compilation-analyzer &&git -C "$tmp" checkout -q 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&out="$(mktemp -d)" &&cp -R "$tmp"/skills/xcode-compilation-analyzer "$out"/xcode-compilation-analyzer &&(cd "$out" && zip -qr - xcode-compilation-analyzer) > xcode-compilation-analyzer.zip &&rm -rf "$tmp" "$out"In Claude, open Customize > Skills, select +, then + Create skill > Upload a skill, and choose xcode-compilation-analyzer.zip.
On Free, Pro and Max plans, turn on Code execution and file creation (Create and edit files in newer settings) under Settings > Capabilities.
Codex
Pinned to commit 6bd7b59, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&git -C "$tmp" sparse-checkout set -- skills/xcode-compilation-analyzer &&git -C "$tmp" checkout -q 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&mkdir -p .agents/skills &&mkdir .agents/skills/xcode-compilation-analyzer &&cp -R "$tmp"/skills/xcode-compilation-analyzer/. .agents/skills/xcode-compilation-analyzer/ &&rm -rf "$tmp"Codex picks up new skills on its own; restart it if this one does not appear.
Cursor
Pinned to commit 6bd7b59, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&git -C "$tmp" sparse-checkout set -- skills/xcode-compilation-analyzer &&git -C "$tmp" checkout -q 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&mkdir -p .cursor/skills &&mkdir .cursor/skills/xcode-compilation-analyzer &&cp -R "$tmp"/skills/xcode-compilation-analyzer/. .cursor/skills/xcode-compilation-analyzer/ &&rm -rf "$tmp"Copilot & VS Code
Pinned to commit 6bd7b59, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&git -C "$tmp" sparse-checkout set -- skills/xcode-compilation-analyzer &&git -C "$tmp" checkout -q 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&mkdir -p .github/skills &&mkdir .github/skills/xcode-compilation-analyzer &&cp -R "$tmp"/skills/xcode-compilation-analyzer/. .github/skills/xcode-compilation-analyzer/ &&rm -rf "$tmp"In a running Copilot CLI session, run /skills reload.
Or install it with gh skill, which also installs the commit we checked. Needs GitHub CLI 2.90 or later.
gh skill install AvdLee/Xcode-Build-Optimization-Agent-Skill skills/xcode-compilation-analyzer/SKILL.md@6bd7b596cd688b1127ded00e812b1b6937ec35d6 --agent github-copilot --scope projectGemini CLI
Pinned to commit 6bd7b59, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&git -C "$tmp" sparse-checkout set -- skills/xcode-compilation-analyzer &&git -C "$tmp" checkout -q 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&mkdir -p .gemini/skills &&mkdir .gemini/skills/xcode-compilation-analyzer &&cp -R "$tmp"/skills/xcode-compilation-analyzer/. .gemini/skills/xcode-compilation-analyzer/ &&rm -rf "$tmp"In a running session, run /skills reload.
Or use Gemini CLI’s own installer. Installs the latest version, not the one we checked.
gemini skills install https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill.git --path skills/xcode-compilation-analyzer --scope workspaceAny agent
Pinned to commit 6bd7b59, the one we checked.
OpenCode, Goose, Windsurf (Devin Desktop), Zed, Roo Code, Factory Droid, Junie, Amp and Antigravity read .agents/skills in a project.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&git -C "$tmp" sparse-checkout set -- skills/xcode-compilation-analyzer &&git -C "$tmp" checkout -q 6bd7b596cd688b1127ded00e812b1b6937ec35d6 &&mkdir -p .agents/skills &&mkdir .agents/skills/xcode-compilation-analyzer &&cp -R "$tmp"/skills/xcode-compilation-analyzer/. .agents/skills/xcode-compilation-analyzer/ &&rm -rf "$tmp"Or use the skills CLI from skills.sh. Installs the latest version, not the one we checked. The skills CLI reports installs to skills.sh unless you set DISABLE_TELEMETRY=1.
npx skills@1.7.4 add AvdLee/Xcode-Build-Optimization-Agent-Skill --skill xcode-compilation-analyzerWhat it can touch
From the files and frontmatter at commit 6bd7b59. This is how much a skill can do, not whether it is risky.
Pattern check
Pattern check: nothing flagged · commit 6bd7b59 · 29 Oct 2026
We checked every text file in this skill, at commit 6bd7b59 on 29 Oct 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.
How the check worksReport an incorrect finding
Outside links we did not follow
- https://developer.apple.com/documentation/xcode/improving-the-speed-of-incremental-builds
- https://developer.apple.com/documentation/xcode/improving-build-efficiency-with-good-coding-practices
- https://developer.apple.com/documentation/xcode/building-your-project-with-explicit-module-dependencies
- https://www.avanderlee.com/optimization/analysing-build-performance-xcode/
- https://developer.apple.com/videos/play/wwdc2024/10171/
- https://bitrise.io/blog/post/demystifying-explicitly-built-modules-for-xcode
- https://docs.bitrise.io/en/bitrise-build-cache/build-cache-for-xcode/xcode-compilation-cache-faq.html
- https://www.rocketsim.app/docs/features/build-insights/build-insights/
- https://www.rocketsim.app/docs/features/build-insights/team-build-insights/
- https://forums.swift.org/t/slow-incremental-builds-because-of-planning-swift-module/84803
Format check
Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.
Agent Skills specPasses with warnings
The open format from agentskills.io, held to what the strictest agents enforce, so one folder loads everywhere.
- Warning
Paths that may not work once the skill is installed: line 76: ../xcode-project-analyzer/SKILL.md (outside the skill folder). B6
Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.
- Note
There is no license field, so readers can't tell whether they may reuse the skill. O2
Fix: Add license: with an SPDX name such as MIT or Apache-2.0, or the name of a bundled licence file.
- Note
Reference files over 100 lines with no table of contents at the top: references/build-optimization-sources.md (156 lines) and references/code-compilation-checks.md (107 lines). B5
Fix: Add a short list of the sections at the top of each.
- Warning
Claude CodePasses with warnings
Claude Code reads its own extra fields, ignores unknown ones, and still loads a skill whose frontmatter is broken, without its fields.
- Warning
Paths that may not work once the skill is installed: line 76: ../xcode-project-analyzer/SKILL.md (outside the skill folder). B6
Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.
- Note
Reference files over 100 lines with no table of contents at the top: references/build-optimization-sources.md (156 lines) and references/code-compilation-checks.md (107 lines). B5
Fix: Add a short list of the sections at the top of each.
- Warning
Claude apps & API uploadPasses with warnings
Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.
- Warning
Paths that may not work once the skill is installed: line 76: ../xcode-project-analyzer/SKILL.md (outside the skill folder). B6
Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.
- Note
The description is 390 characters. The claude.ai Help Center says 200 at most, though Anthropic's API docs and validator allow 1,024. D4
Fix: If the claude.ai upload refuses it, trim the description to 200 characters.
- Note
Reference files over 100 lines with no table of contents at the top: references/build-optimization-sources.md (156 lines) and references/code-compilation-checks.md (107 lines). B5
Fix: Add a short list of the sections at the top of each.
- Warning
OpenAI (Codex & API)Passes with warnings
Codex finds SKILL.md by its exact name and needs a description; OpenAI's Skills API checks the frontmatter against the spec and caps uploads.
- Warning
Paths that may not work once the skill is installed: line 76: ../xcode-project-analyzer/SKILL.md (outside the skill folder). B6
Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.
- Warning
VS Code & CopilotPasses with warnings
VS Code reads skills one folder below .github/skills, .claude/skills or .agents/skills and falls back to the folder name when the name is missing or differs; GitHub's Copilot docs require the exact name SKILL.md.
- Warning
Paths that may not work once the skill is installed: line 76: ../xcode-project-analyzer/SKILL.md (outside the skill folder). B6
Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.
- Warning
SKILL.md
Files
5 files
More from AvdLee/Xcode-Build-Optimization-Agent-Skill
Other Frontend & design skills
Same category, most repo stars first.