Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Compose stability CI check

Adds a build check that fails when a Jetpack Compose screen loses stability, so slow recomposition never ships.

What we improved

Fixed the CI advice. The original made `needs: build` mandatory because "the analysis reads compiled output", but separate GitHub Actions jobs run on fresh runners and share no build output, so `needs:` only orders the jobs. In the plugin s

Improved by YourAISkill from the original by skydoves, under its Apache-2.0 licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.

Claude's review

8/10 Precise CI gate for the Compose Stability Analyzer with the silent missing-baseline skip caught twice, per-variant baselines, ignore-list matching rules and a working Actions job; narrow but sharp.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Use this skill to gate CI on Jetpack Compose stability — catch when a composable becomes unskippable/unrestartable or a parameter goes stable → unstable, before it ships and tanks recomposition. Covers the Compose Stability Analyzer Gradle plugin's `stabilityDump` (write a `.stability` baseline) and `stabilityCheck` (compare current compilation against it, fail on regression) tasks, the `composeStabilityAnalyzer { stabilityValidation { … } }` DSL (`failOnStabilityChange`, `ignoreNonRegressiveChanges`, `ignored*` lists, `allowMissingBaseline`, `stabilityConfigurationFiles`), the `@IgnoreStabilityReport` annotation, committing `app/stability/app.stability` as a team baseline, the deliberate baseline-update workflow, and GitHub Actions wiring (`needs: build`, since the analysis reads compiled output). Use when the user mentions "stabilityCheck", "stabilityDump", "compose stability analyzer", "stability baseline", "@IgnoreStabilityReport", "composeStabilityAnalyzer", or "fail the build on stability changes".

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: validating-compose-stability
description: "Gate CI on Jetpack Compose stability with the Compose Stability Analyzer Gradle plugin: catch a composable that stops being skippable or a parameter that goes from stable to unstable before it ships. Covers stabilityDump (write the committed .stability baseline, one file per Android variant), stabilityCheck (compare the current compilation with it and fail on regressions), the composeStabilityAnalyzer { stabilityValidation { } } options (failOnStabilityChange, ignoreNonRegressiveChanges, allowMissingBaseline, ignoredPackages, ignoredClasses, ignoredProjects), the top-level stabilityConfigurationFiles, @IgnoreStabilityReport, the deliberate baseline update workflow, a GitHub Actions job that compiles and checks in one place, and the silent skip when a baseline is missing. Use when the user mentions stabilityCheck, stabilityDump, compose stability analyzer, a stability baseline, @IgnoreStabilityReport, or failing the build on Compose stability changes. Not for fixing an unstable parameter."
license: Apache-2.0. See LICENSE for complete terms.
metadata:
  author: Jaewoong Eum (skydoves)
  keywords:
  - jetpack-compose
  - compose-stability
  - recomposition
  - stability-analyzer
  - stabilityCheck
  - stabilityDump
  - stability-baseline
  - gradle-plugin
  - ci-cd
  - github-actions
---
<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by skydoves. See CHANGES.md. -->

# Validating Compose Stability: a CI gate on skippability and parameter stability

Compose stability (whether a composable is skippable and restartable, and whether its parameters are stable) is invisible until a recomposition profiler catches it in production. This skill makes it a build gate: snapshot the current stability of every composable into committed `.stability` baseline files, and fail CI when a change makes anything less stable. The tool is the Compose Stability Analyzer Gradle plugin. Writing composables for stability (`@Immutable`/`@Stable`, the compiler stability config, deferred reads) is out of scope; this skill is the validation and CI layer only.

Behaviour below was checked against the plugin source and docs at version 0.15.0. On an older version, confirm against that version's docs before relying on a detail.

## When to use this skill

- The user wants `./gradlew stabilityCheck` to fail CI when a composable becomes unskippable or a parameter flips stable to unstable.
- The user wants a committed, reviewable record of every composable's stability so changes show up in PR diffs.
- A recomposition regression shipped because nothing flagged a `List` parameter or a mutable data class added to a hot composable.
- The user mentions `stabilityDump`, `stabilityCheck`, `composeStabilityAnalyzer`, `@IgnoreStabilityReport`, or "stability baseline".
- The user wants warning-only locally and hard failure in CI.

## When NOT to use this skill

- The user wants to fix an unstable parameter (`@Immutable`/`@Stable`, `kotlinx.collections.immutable`, a stability configuration file for external types, deferred state reads). That is Compose performance work; Android's "Fix stability issues" guide covers it.
- The user wants to see which recompositions fire at runtime (Layout Inspector recomposition counts, composition tracing). That is a runtime tool, not a build gate.
- The user is doing UI behaviour or screenshot testing.

...

From skydoves's repository, Apache-2.0 licence.

Related skills

  • Checked

    Compose UI test setup

    Sets up the right Gradle test dependencies for Jetpack Compose UI tests, so they launch instead of failing early.

    by skydoves 351
    8/101 credit
  • Checked

    Android Gradle Plugin upgrade

    Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.

    by Kotlin 1.1k
    8/101 credit
  • Checked

    Android Edge-to-Edge Fix

    Makes Jetpack Compose apps draw edge to edge, so buttons, lists and text fields never hide behind system bars.

    by android 11k
    8/101 credit
  • Checked

    Offline Android LLM apps

    Builds an Android app that runs an open LLM on the phone with LiteRT, so it works without a server.

    by android 11k
    7/101 credit
  • Checked

    Android TV Compose Migration

    Moves an Android TV app from old Leanback screens to Compose for TV, with remote control focus that works.

    by android 11k
    7/101 credit
  • Checked

    CometChat Android Chat Setup

    Adds working CometChat chat screens to your Android app in Kotlin or Jetpack Compose, set up in the right order.

    by cometchat 182
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added