Xcode-Build-Optimization-Agent-Skill
AGENTS.md1.3k starsChanged 8 months agoMITView on GitHub
This is a multi-skill Xcode build optimization repository. When one skill identifies an issue outside its scope, read the target skill's SKILL.md under skills/ and apply its workflow to the same project context. Pass along any benchmark artifacts or timing evidence already collected.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about AvdLee/Xcode-Build-Optimization-Agent-Skill
- @tarkann.bsky.social“今日から社会人10年目の実感がなかったが、この時間までビルドパフォーマンスチューニングをしていて、昔と仕事のレベルが変わってるなあを実感 これ使うと便利でしたまる github.com/AvdLee/Xcode...”Bluesky · Apr 1, 2026 · 1 likes
- sudosubin/agents.nix“claude-code-plugins.github.avdlee.xcode-build-optimization-agent-skill: init at 1.0.1”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.avdlee.xcode-build-optimization-agent-skill: 1.0.1 → refs/tags/1.0.1”GitHub · Oct 3, 2026
- ProSkillsMD/proskills“[Candidate] avdlee/xcode-build-optimization-agent-skill/skills/xcode-project-analyzer - xcode-project-analyzer”GitHub · Sep 27, 2026
- ProSkillsMD/proskills“[Candidate] avdlee/xcode-build-optimization-agent-skill/skills/xcode-compilation-analyzer - …”GitHub · Sep 27, 2026
The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 11
Talked about on GitHub and Bluesky (11 times).
On GitHub · 10
- Oct 4, 2026claude-code-plugins.github.avdlee.xcode-build-optimization-agent-skill: init at 1.0.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.avdlee.xcode-build-optimization-agent-skill: 1.0.1 → refs/tags/1.0.1 — sudosubin/agents.nix0 reactions
- Sep 27, 2026[Candidate] avdlee/xcode-build-optimization-agent-skill/skills/xcode-project-analyzer - xcode-project-analyzer — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] avdlee/xcode-build-optimization-agent-skill/skills/xcode-compilation-analyzer - xcode-compilation-analyzer — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] avdlee/xcode-build-optimization-agent-skill/skills/xcode-build-orchestrator - xcode-build-orchestrator — ProSkillsMD/proskills0 reactions · 2 comments
5 more on GitHub
- Sep 26, 2026[Candidate] avdlee/xcode-build-optimization-agent-skill/skills/xcode-build-fixer - xcode-build-fixer — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] avdlee/xcode-build-optimization-agent-skill/skills/xcode-build-benchmark - xcode-build-benchmark — ProSkillsMD/proskillssays it tested it0 reactions · 2 comments
- Sep 26, 2026[Candidate] avdlee/xcode-build-optimization-agent-skill/skills/spm-build-analysis - spm-build-analysis — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.avdlee.xcode-build-optimization-agent-skill: init at 1.0.1 — sudosubin/agents.nix0 reactions
- Jun 18, 2026Add bootstrap-ios skill — RayFernando1337/rayfernando-skills0 reactions
On Bluesky · 1
- Apr 1, 2026今日から社会人10年目の実感がなかったが、この時間までビルドパフォーマンスチューニングをしていて、昔と仕事のレベルが変わってるなあを実感 これ使うと便利でしたまる github.com/AvdLee/Xcode... — @tarkann.bsky.social1 likes and repost · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- spm-build-analysisSkill
- xcode-build-benchmarkSkill
- xcode-build-fixerSkill
- xcode-build-orchestratorSkill
- xcode-compilation-analyzerSkill
- xcode-project-analyzerSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Treat clean and incremental builds as separate metrics.
- Very specific: line 34
When one skill identifies an issue outside its scope, read the target skill's SKILL.md under skills/ and apply its workflow to the same …
- Very specific: line 38
When a skill adds, removes, or changes an optimization check, update the matching row in the "What It Checks" table in README.md and the …
- Very specific: line 39
When a new external reference (Apple doc, WWDC session, article) is used by a check, add it to the relevant section in …
- Very specific: line 40
When a skill is added or removed, update the "Included Skills" table in README.md, the Skills table in this file, and the Skill Structure …
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Guidance
This is a multi-skill Xcode build optimization repository.
Layout
skills/contains six installable Agent Skills, each with aSKILL.mdentrypoint. Each skill bundles its own scripts, references, and schemas so it works after standalone installation.references/,schemas/, andscripts/at the repo root are canonical copies of the shared support files. Changes to these must be synced into the skill folders that use them (see CONTRIBUTING.md)..claude-plugin/contains plugin and marketplace metadata.
Skills
| Skill | Purpose |
xcode-build-benchmark | Repeatable clean and incremental build benchmarking |
xcode-compilation-analyzer | Swift compile hotspot analysis and source-level recommendations |
xcode-project-analyzer | Build settings, scheme, script phase, and target dependency auditing |
spm-build-analysis | Package graph, plugin overhead, and module variant review |
xcode-build-orchestrator | Orchestrator: benchmark, analyze, prioritize, approve, delegate fixes, re-benchmark |
xcode-build-fixer | Apply approved optimization changes and verify with benchmarks |
Rules
- Wall-clock build time (how long the developer waits) is the primary success metric. Every recommendation must state its expected impact on wall-clock time. If the impact cannot be predicted, say so.
- Cumulative task time from the Build Timing Summary is diagnostic evidence, not proof of wall-time impact. Xcode parallelizes aggressively, so reducing parallel task time may produce zero wait-time improvement.
- Recommend-first by default. Never apply project, source, or package changes without explicit developer approval.
- Benchmark before optimizing. Use
.build-benchmark/artifacts as evidence. - Treat clean and incremental builds as separate metrics.
- The orchestrator (
xcode-build-orchestrator) is the primary entrypoint for end-to-end work. - Each skill bundles its own copies of scripts, references, and schemas for standalone installation. Root-level
scripts/,references/, andschemas/are the canonical copies; keep both layers in sync.
Handoff Between Skills
When one skill identifies an issue outside its scope, read the target skill's SKILL.md under skills/ and apply its workflow to the same project context. Pass along any benchmark artifacts or timing evidence already collected.
Documentation Sync
- When a skill adds, removes, or changes an optimization check, update the matching row in the "What It Checks" table in
README.mdand the corresponding section inOPTIMIZATION-CHECKS.md. - When a new external reference (Apple doc, WWDC session, article) is used by a check, add it to the relevant section in
OPTIMIZATION-CHECKS.mdand toreferences/build-optimization-sources.md. - When a skill is added or removed, update the "Included Skills" table in
README.md, the Skills table in this file, and the Skill Structure tree (between the<!-- BEGIN SKILL STRUCTURE -->/<!-- END SKILL STRUCTURE -->markers inREADME.md). OPTIMIZATION-CHECKS.mdis the single source of truth for what the agent checks and why. Skill-internal reference docs (underskills/*/references/) contain implementation detail;OPTIMIZATION-CHECKS.mdis the developer-facing summary. Keep both layers consistent but do not duplicate implementation detail intoOPTIMIZATION-CHECKS.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

