
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-codeInstalls into .claude/skills of the current project.
Files
Compare Generations
Quick Start
You'll typically receive two generation identifiers. Follow these steps:
- Run
tuist generate list --jsonto find generations on each branch. - Run
tuist generate show <id> --jsonfor both base and head generations. - Compare duration, status, and cache hit rates.
- 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