# compare-builds

compare-builds analyzes two Xcode runs to spot build duration regressions, cache hit rate drops, and new compile issues via Tuist.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 317 installs · ★ 35 repo stars
- Author: tuist
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/tuist/agent-skills/tree/HEAD/skills/compare-builds/SKILL.md
- Updated: 2026-03-27
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/compare-builds

## What it does

This skill compares two Xcode runs using build identifiers, web dashboard URLs, or git branch names. When given a single identifier, it uses the repository default branch as the baseline and identifies the current branch with `git rev-parse`.

The skill fetches build records with `tuist build show --json`, then queries targets, issues, and cache tasks. It computes the total cache hit rate and tracks target runtimes. An increase in duration greater than 10% is marked as a regression.

Execution requires a functional `tuist` CLI in your environment. Comparing an incremental run against a clean build skews performance numbers. The output flags mismatched build categories so you avoid misleading conclusions.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-builds -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/compare-builds/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/compare-builds/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-builds -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/compare-builds/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-builds -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/compare-builds/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install tuist/agent-skills skills/compare-builds
```

2. **Manually: put the files in place**
- File: `.github/skills/compare-builds/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-builds -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/tuist/agent-skills --path skills/compare-builds
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/compare-builds/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-builds -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/tuist/agent-skills/tree/HEAD/skills/compare-builds/SKILL.md

## When to use it
- detect Xcode build slowdowns across different branches
- isolate target-level drops in Tuist cache hit rates
- catch newly introduced warnings or compiler errors
- verify whether dependency changes broke cache validity

## Example prompts
- Compare the build for feature-checkout against main
- Inspect build runs bld_abc123 and bld_def456 to see why build time increased
- Analyze cache misses between the latest run and the default branch

## Similar
- [axiom-performance](https://affpapa.org/en/nevibecode/skills/axiom-performance.md) — skill · 1400 installs
- [capgo-native-builds](https://affpapa.org/en/nevibecode/skills/capgo-native-builds.md) — skill · 774 installs
- [Tuist](https://affpapa.org/en/nevibecode/mcp/tuist.md) — MCP server · ★ 5870 repo stars
- [limrun-xcode-bazel](https://affpapa.org/en/nevibecode/skills/limrun-xcode-bazel.md) — skill · 45300 installs
- [limrun-xcode](https://affpapa.org/en/nevibecode/skills/limrun-xcode.md) — skill · 45300 installs
- [asc-xcode-build](https://affpapa.org/en/nevibecode/skills/asc-xcode-build.md) — skill · 8000 installs

From the same set: [tuist/agent-skills](https://affpapa.org/en/nevibecode/by/tuist/agent-skills.md) — 12 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
