compose-stability-diagnostics

Diagnose Compose parameter stability issues using compiler reports and Kotlin 2.0+ guidance.

1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/leogallego/ansible-jane --skill compose-stability-diagnostics-leogallego
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compose-stability-diagnostics
Source: https://github.com/leogallego/ansible-jane/tree/main/skills/compose-stability-diagnostics
Command: npx skills add https://github.com/leogallego/ansible-jane --skill compose-stability-diagnostics-leogallego

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and solve issues where parameter stability affects recomposition and skip decisions in Jetpack Compose, helping teams reduce unnecessary work.

Core Features & Use Cases

  • Explain stability concepts for inputs (stable vs unstable, identity vs equality).
  • Guide generating and interpreting Compose compiler reports.
  • Provide remediation patterns for common scenarios (immutable types, remember, hoisting).

Quick Start

Run the stability diagnostic workflow on your Kotlin/Compose project to start evaluating parameter stability and recomposition behavior.

Frequently Asked Questions about compose-stability-diagnostics

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

FAQPage Schema
Why does my Jetpack Compose function recompose excessively when passing unstable parameters?

Excessive recomposition in Jetpack Compose happens when unstable parameters prevent the compiler from skipping. Diagnosing parameter stability helps identify unstable inputs and their identity versus equality semantics to reduce unnecessary work.

How do I read Compose compiler reports to identify unstable parameter types?

Reading Compose compiler reports involves analyzing stability inferring outputs to locate unstable types. This diagnostic process guides you through interpreting these reports to evaluate parameter stability and improve skippable recompositions.

What is the difference between identity and equality semantics in Compose parameter stability?

Identity and equality semantics determine how Compose compares parameter instances. Stability diagnostics analyze these semantics to explain whether inputs are stable or unstable, directly impacting recomposition skip decisions.

Can I use this stability diagnostic workflow on Kotlin 2.0 and later Compose projects?

Yes, the stability diagnostic workflow applies to Kotlin 2.0+ projects. It requires understanding your Kotlin version and Compose compiler behavior to accurately evaluate parameter stability and recomposition behavior.

How do I fix unstable inputs and improve skippable recompositions in Jetpack Compose?

Fixing unstable inputs requires applying remediation patterns like using immutable types, remember, and hoisting. The diagnostic provides best practices for stability annotations to improve skippable recompositions for per-item and lazy item inputs.