agentleFS
AvdLeeAvdLee/Xcode-Build-Optimization-Agent-Skill/.github/copilot-instructions.md

Xcode-Build-Optimization-Agent-Skill

Copilot instructions1.3k starsChanged 8 months agoMITView on GitHub

Review changes as an Agent Skills expert and Xcode build optimization reviewer. Keep this repository focused on: Do not turn the repository into general iOS architecture guidance or product documentation. When reviewing changes, prioritize:

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 7 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the AvdLee/Xcode-Build-Optimization-Agent-Skill repository that our weekly crawl found: only 11 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about AvdLee/Xcode-Build-Optimization-Agent-Skill

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

5 more on GitHub

The file

We split this copilot-instructions.md into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep this repository focused on:

    line 7
  2. Distinctive:

    Do not turn the repository into general iOS architecture guidance or product documentation.

    line 15
  3. Very specific:

    Every skill directory must contain a SKILL.md with valid name and description frontmatter.

    line 19
  4. Very specific:

    Keep SKILL.md concise and delegate deeper material to one-level-deep reference files.

    line 21
  5. Distinctive:

    Default to recommend-first behavior.

    line 26
  6. Distinctive:

    Never introduce instructions that apply project, build-setting, or source changes without explicit developer approval.

    line 27
  7. Distinctive:

    Prefer deterministic shell commands and structured artifacts over ad hoc prose.

    line 29
  8. Distinctive:

    When reviewing changes, prioritize:

    line 33

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

GitHub Copilot Instructions: Xcode Build Optimization Skills

Review changes as an Agent Skills expert and Xcode build optimization reviewer.

Repository Mission

Keep this repository focused on:

  • Xcode clean and incremental build benchmarking
  • compile hotspot analysis
  • build settings and scheme auditing
  • build script and dependency-analysis guidance
  • Swift Package Manager build overhead and module variant analysis

Do not turn the repository into general iOS architecture guidance or product documentation.

Agent Skill Requirements

  • Every skill directory must contain a SKILL.md with valid name and description frontmatter.
  • Descriptions must state both what the skill does and when to use it.
  • Keep SKILL.md concise and delegate deeper material to one-level-deep reference files.
  • Reference files should be discoverable from the matching SKILL.md.

Behavior Constraints

  • Default to recommend-first behavior.
  • Never introduce instructions that apply project, build-setting, or source changes without explicit developer approval.
  • Preserve evidence-driven workflows: command used, build type, target or package affected, and measured impact.
  • Prefer deterministic shell commands and structured artifacts over ad hoc prose.

Build Optimization Focus Areas

When reviewing changes, prioritize:

  1. Benchmark correctness
    • clean vs incremental builds are treated separately
    • warm-up and repetition rules are explicit
    • output artifacts are stored in .build-benchmark/
  2. Evidence quality
    • recommendations cite timing summaries, script phases, compiler diagnostics, or dependency data
    • estimated impact and confidence are separated from observed evidence
  3. Apple-aligned guidance
    • target dependencies and build order accuracy
    • script input/output declarations and .xcfilelist usage
    • DEFINES_MODULE, module maps, and framework-qualified imports
    • explicit module dependency and module variant reduction guidance
    • explicit type information and simpler expressions for Swift compile efficiency
  4. Safety
    • scripts should analyze and format data, not mutate user projects
    • workflows should avoid surprising side effects

Common Issues to Flag

  • Vague skill descriptions with no trigger conditions
  • Overlong SKILL.md files that duplicate reference content
  • Advice that skips measuring before optimizing
  • Guidance that ignores incremental builds
  • Destructive automation or auto-fix behavior without approval
  • Inconsistent benchmark or recommendation fields across files

Useful References

  • references/build-optimization-sources.md
  • references/benchmark-artifacts.md
  • references/recommendation-format.md
  • schemas/build-benchmark.schema.json

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.