Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

compare-generations

Skill by tuist

Compares two Tuist generate runs to show cache hit rate and duration changes. It also finds the targets that caused cache invalidation. Built for developers using Tuist with Xcode projects.

  • Score 81
  • 5.9k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install compare-generations

Built from the published package, never by AI.

git clone --depth 1 https://github.com/tuist/tuist /tmp/tuist && mkdir -p ~/.claude/skills && cp -r /tmp/tuist/skills/skills/compare-generations ~/.claude/skills/compare-generations

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install compare-generations in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Compare Generations is a skill that compares two `tuist generate` runs. You can pass generation IDs, dashboard URLs, or branch names. By default, the base is the project's default branch, usually `main`, and the head is the current git branch.

The skill fetches both runs with the Tuist CLI and compares duration, status, cacheable target count, and local and remote cache hits. It computes cache hit rates for each run and the change between them. When the hit rate drops, it uses git diff and dependency heuristics to find root cause targets and the downstream targets that were invalidated by cascade. It ends with a summary and recommendations. It is for developers who want to understand why Tuist cache hits changed between builds.

Written from the project's SKILL.md and checked against it.

What it can do

  • Resolve generationsFetches generations by ID, dashboard URL, or branch name using the Tuist CLI.
  • Compare top-level metricsCompares duration, status, cacheable targets, and local and remote cache hits.
  • Compute cache hit ratesCalculates base and head cache hit rates and the delta between them.
  • Root cause analysisIdentifies targets with direct changes that likely invalidated the cache.
  • Cascade impactCounts targets invalidated through dependency hash changes.
  • Impact categoriesClassifies invalidations as expected, unexpected, or cascade.
  • RecommendationsSuggests ways to reduce cache misses, such as splitting large modules.

What you need

  • Tuist CLI
  • Git repository for the project

Try asking

  • Compare the generation on main with my current branch's generation
  • Why did my cache hit rate drop between these two generation URLs?
  • Find the root cause targets behind cache invalidation on feature-x

Good to know

  • Root cause detection relies on heuristics such as git diff, since the module cache target detail endpoint is not used here.
  • Dependency cascade counts are inferred from changed targets, not read directly from cache data.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/skills/compare-generations/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to compare-generations

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

compare-generations: common questions

What inputs does Compare Generations accept?

It accepts generation IDs, dashboard URLs, or branch names. If no base is given, it uses the project's default branch, usually main.

How does it find the cause of a cache miss?

It maps changed files from git diff to Tuist targets. Targets with direct source changes are treated as root causes, and others changed by dependency hash cascading are treated as secondary invalidations.

How is the cache hit rate calculated?

The rate is local hits plus remote hits, divided by cacheable targets, multiplied by 100. The delta is the head rate minus the base rate.

How do I install compare-generations?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is compare-generations free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is compare-generations safe to use?

It scores 81 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to compare-generations?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

compare-generations Install

Add to stack

Loading.