validating-compose-stability

Compare Jetpack Compose compilation output against a committed stability baseline.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/trancee/MeshLink-template --skill validating-compose-stability-trancee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validating-compose-stability
Source: https://github.com/trancee/MeshLink-template/tree/main/.agents/skills/android-testing-skills/compose/stability/validating-compose-stability
Command: npx skills add https://github.com/trancee/MeshLink-template --skill validating-compose-stability-trancee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents performance regressions in Jetpack Compose by automatically detecting when composables become unskippable or parameters lose stability, ensuring UI performance remains consistent before code is merged.

Core Features & Use Cases

  • Automated Stability Gating: Fails CI builds when stability regressions are detected in your Compose modules.
  • Baseline Management: Maintains a reviewable .stability baseline file to track the stability contract of your UI components.
  • Use Case: Use this to catch accidental changes where a stable data class parameter is modified to be unstable, which would otherwise cause unnecessary recompositions in production.

Quick Start

Run the stability dump command to generate your initial baseline file after compiling your project.

Frequently Asked Questions about validating-compose-stability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent Jetpack Compose stability regressions in CI?

You can catch Jetpack Compose stability regressions by comparing current compilation output against a committed stability baseline file. This setup fails CI builds when composables become unskippable or parameters lose stability before merging.

What causes unnecessary recompositions in Jetpack Compose?

Unnecessary Jetpack Compose recompositions occur when composable parameters lose stability, like modifying a previously stable data class. Validating stability against a committed baseline catches these accidental regressions before code is merged.

How do I generate a Compose stability baseline file?

To generate a Compose stability baseline file, you run the stability dump command after compiling your Android project. This creates a reviewable baseline to track the stability contract of your UI components for future CI comparisons.

Does the Compose Stability Analyzer Gradle plugin work with existing CI/CD pipelines?

Yes, the Compose Stability Analyzer Gradle plugin integrates with existing CI/CD pipelines for Android projects. It enforces build-time quality gates by validating current compilation output against your configured stability baseline file.

What is a Compose stability baseline used for?

A Compose stability baseline is used to maintain a reviewable contract of your UI components' stability. By comparing current compilation output against this file, CI pipelines automatically detect when composables become unskippable or parameters lose stability.

When should I enforce Compose stability checks?

You should enforce Compose stability checks in CI/CD pipelines before merging code. This prevents performance regressions by catching accidental changes where stable data class parameters are modified to become unstable, avoiding unnecessary recompositions in production.