Skip to main content
skill CX Codex

analyze-selective-testing — Claude Code skill: setup and usage

analyze-selective-testing diagnoses Tuist selective test runs in Xcode to spot skipped targets and identify cache invalidation causes.

no license 310 installs ★ 35 updated 2026-03-27

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add tuist/agent-skills --skill analyze-selective-testing -a claude-code
Open on GitHub

What analyze-selective-testing does

This skill guides coding agents through inspecting Xcode test execution data reported by Tuist CLI. It inspects test run identifiers using tuist test xcode target list, classifying target outcomes into cache misses or skips resolved from local and remote storage. It then tallies the overall skipped ratio.

If selective efficiency drops, the skill inspects runs side by side. It compares target hashes alongside environment metadata such as xcode_version or macos_version, distinguishing global build environment drifts from targeted invalidation caused by shared dependency updates.

Running these checks requires an active Tuist setup capable of querying test run records.

What it helps with

  • diagnose why unchanged Xcode test targets started executing in CI
  • compare two Tuist test executions to isolate altered target hashes
  • calculate selective testing hit rates across local and remote caches
  • pinpoint the root shared dependency triggering widespread test invalidation

Example prompts for the agent

  • Analyze selective testing hit rate for the most recent CI run on this branch
  • Compare test runs run-101 and run-202 with Tuist to pinpoint what caused the cache miss
  • List all test targets that fell back to a miss in test run test-884

How to install analyze-selective-testing

1Skills CLI (Vercel)

npx skills add tuist/agent-skills --skill analyze-selective-testing -a claude-code

2Manually: put the files in place

~/.claude/skills/analyze-selective-testing/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/analyze-selective-testing/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about analyze-selective-testing

How to install analyze-selective-testing in Claude Code?

Run npx skills add tuist/agent-skills --skill analyze-selective-testing -a claude-code in your terminal.

What does analyze-selective-testing do?

It inspects Tuist test run outputs, calculates the proportion of skipped targets, and investigates why test caching broke between runs.

What dependencies does this skill require?

It relies directly on Tuist CLI commands like tuist test show and access to recorded test runs for your project.

Similar skills

All skills for Testing and QA →

From the same set12

The whole set →
debug-generated-project debug-generated-project troubleshoots Tuist project generation failures, build errors, and runtime crashes. It sets up isolated reproductions and verifies fixes against the main branch. CX Codex +1 543installs fix-flaky-tests The fix-flaky-tests skill reads a test's failure history in Tuist, works out the root cause and patches the test. Useful when a test passes and fails at random. CX Codex +1 529installs migrating-to-tuist-generated-projects migrating-to-tuist-generated-projects is a Claude Code skill that moves an existing Xcode project into Tuist-generated files. It runs during a Tuist adoption and checks that the app builds and launches. CX Codex +1 521installs compare-builds compare-builds analyzes two Xcode runs to spot build duration regressions, cache hit rate drops, and new compile issues via Tuist. CX Codex +1 317installs compare-generations compare-generations compares two Tuist generation runs to pinpoint cache hit drops and uncover which modules caused invalidation cascades. CX Codex +1 300installs compare-bundles compare-bundles evaluates two application packages via Tuist to spot size growth and heavy files. Helpful for catching build regressions early. CX Codex +1 296installs compare-cache-runs compare-cache-runs is a Claude Code skill that compares two Tuist cache runs, revealing hit-rate changes, root causes, and cascade effects through dependencies. CX Codex +1 291installs compare-test-runs compare-test-runs compares two Tuist test executions to spot fresh failures, newly flaky suites, and execution duration spikes. CX Codex +1 265installs

Project sponsors

Companies that keep this analytics open