tuist avatar

Compare Generations

If you're using Tuist and wondering why your build cache suddenly tanked, this does the forensics. Point it at two generation runs (by ID, dashboard URL, or branch name) and it'll compare cache hit rates, flag performance regressions, and trace which target changes caused invalidation cascades. The real value is in the root cause analysis: it distinguishes between a target that actually changed versus the dozen downstream targets that rebuilt only because their dependency hashes changed. Works by calling `tuist generate list` and `tuist generate show`, then walking through git diffs to map file changes back to modules. Best used during PR reviews or when investigating why CI suddenly got slower.

skills.sh installs
293
GitHub stars
35
last updated
Aug 21, 2026

Install

$ npx -y skills add tuist/agent-skills --skill compare-generations --agent claude-code

Installs into .claude/skills of the current project.

Files

Compare Generations

Quick Start

You'll typically receive two generation identifiers. Follow these steps:

  1. Run tuist generate list --json to find generations on each branch.
  2. Run tuist generate show <id> --json for both base and head generations.
  3. Compare duration, status, and cache hit rates.
  4. Summarize cache changes with root cause analysis.

Step 1: Resolve Generations

If base/head are generation IDs or dashboard URLs

Fetch each directly:

tuist generate show <base-id> --json
tuist generate show <head-id> --json

If base/head are branch names

List recent generations on each branch:

tuist generate list --git-branch <base-branch> --json --page-size 1
tuist generate list --git-branch <head-branch> --json --page-size 1

Then fetch full details with tuist generate show <id> --json.

Defaults

  • If no base is provided, use the project's default branch (usually main).
  • If no head is provided, detect the current git branch.

Step 2: Compare Top-Level Metrics

After fetching both generations, compare:

Sponsors

Details

Repository
github.com/tuist/agent-skills
Categories
Git & Pull Requests, AI & Agent Building
First seen
Jun 3, 2026

More from tuist/agent-skills

All 9
1tuist avatarcompare-cache-runstuist/agent-skillsCompares two `tuist cache` runs to identify cache hit rate changes and root-cause analysis of cache invalidation. Can be invoked with cache run IDs, dashboard U284skills.sh installs
2davila7 avatarrailway-servicedavila7/claude-code-templatesCheck service status, rename services, change service icons, link services, or create services with Docker images. For creating services with local code, prefer282skills.sh installs
3patricio0312rev avatarsecrets-scannerpatricio0312rev/skillsDetects leaked API keys, tokens, passwords, and credentials in code with pre-commit hooks, CI checks, scanning rules, and remediation procedures. Use for "secre282skills.sh installs
4everyinc avatarproofeveryinc/compound-engineering-pluginCreate, edit, comment on, share, and run human-in-the-loop iteration loops over markdown documents via Proof's web API. Use when asked to "proof", "share a doc"277skills.sh installs
5pedronauck avatardevops-engineerpedronauck/skillsCreates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automa264skills.sh installs
6paperclipai avatarreleasepaperclipai/paperclipCoordinate a full Paperclip release across engineering verification, npm, GitHub, smoke testing, and announcement follow-up. Use when leadership asks to ship a 262skills.sh installs