# compare-test-runs

compare-test-runs compares two Tuist test executions to spot fresh failures, newly flaky suites, and execution duration spikes.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 265 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-test-runs/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-test-runs

## What it does

This skill evaluates test runs side by side. It accepts run identifiers, web dashboard URLs, or git branch references. When omitted, it defaults to checking your active branch against the default branch, which is typically `main`.

The logic relies entirely on Tuist CLI commands. The agent queries run data with `tuist test show` and itemizes individual cases via `tuist test case run list` using JSON output. It maps cases across modules, sorting them into clear categories: newly broken tests, resolved cases, newly flaky behavior, and runtime spikes exceeding 50%.

Without the `tuist` binary available in your shell environment, the skill cannot fetch test telemetry. Its finished summary highlights failing assertions alongside precise source paths and line numbers.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

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

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add tuist/agent-skills --skill compare-test-runs -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-test-runs/SKILL.md

## When to use it
- detect newly broken tests between base and feature branches
- catch flaky test cases before merging pull requests
- isolate test duration regressions across modules
- extract failure lines and stack traces from test reports

## Example prompts
- Compare test runs between main and my current branch using Tuist
- Inspect test run IDs run-123 and run-456 to show what broke
- Check the latest test results for branch feature-cache and list newly flaky tests

## Similar
- [testdino-runs](https://affpapa.org/en/nevibecode/skills/testdino-runs.md) — skill · ★ 4931 repo stars
- [test-reliability](https://affpapa.org/en/nevibecode/skills/test-reliability.md) — skill · 1500 installs
- [triage-flaky-test](https://affpapa.org/en/nevibecode/skills/triage-flaky-test.md) — skill · 362 installs
- [flaky-test-detective](https://affpapa.org/en/nevibecode/skills/flaky-test-detective.md) — skill · 283 installs
- [momentic-mobile-test](https://affpapa.org/en/nevibecode/skills/momentic-mobile-test.md) — skill · 54400 installs
- [flaky-test-triage](https://affpapa.org/en/nevibecode/commands/flaky-test-triage.md) — command · 24 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
