Using Stability Analyzer Ide Plugin
Use this skill to install and operate the `skydoves/compose-stability-analyzer` IntelliJ / Android Studio plugin so the developer sees Compose stability feedback live in the editor instead of waiting for a Gradle build. Covers installing the plugin from disk, configuring the `Settings → Tools → Compose Stability Analyzer` panel, reading the four gutter colors (green stable, red unstable, yellow runtime, gray no-params), the per-parameter hover documentation, the inline parameter hint badges, and the `UnstableComposable` weak-warning inspection with its `@Suppress("NonSkippableComposable")` and `@Suppress("ParamsComparedByRef")` quick fixes. Use when the user mentions gutter icons, inline hints, the stability inspection, the IDEA plugin, real-time stability feedback while editing, or asks why a composable is flagged as non-skippable in the editor.
MCP get_skill({ skillId: "using-stability-analyzer-ide-plugin-326d78b1" })Use this skill with your agent
Create a free account and connect via MCP
# Using the Stability Analyzer IDE Plugin — live in-editor stability feedback The Compose Compiler reports tell the developer about stability after a build completes. The `skydoves/compose-stability-analyzer` IntelliJ plugin tells them while they edit. Gutter icons mark every `@Composable` with a color, hover docs render the per-parameter table with reasons, inline hints render colored badges next to each parameter type, and the `UnstableComposable` weak-warning inspection surfaces actionable problems with quick fixes. The plugin uses the Kotlin K2 Analysis API to evaluate the same stability rules that drive `../understanding-stability-inference/SKILL.md`, so editor feedback agrees with what `../diagnosing-compose-stability/SKILL.md` would later show in the compiler reports. This shortens the loop from "ship → build → read reports" to "type → see the gutter". ## When to use this skill - The developer wants real-time stability feedback while editing a Composable file. - A reviewer is reading a PR locally and wants the inline signal next to each composable. - A new joiner wants to see at a glance which composables in the file are non-skippable. - The user asks why the editor flagged a function with a weak warning called `UnstableComposable`. - The user mentions gutter icons, inline hints, the stability inspection, the IDEA plugin, the K2 Analysis API for Compose, or the `Compose Stability Analyzer` tool window. ## When NOT to use this skill - CI gating that fails the build on stability regressions. Use `../enforcing-stability-in-ci/SKILL.md`. - Build-time Compose Compiler reports analysis. Use `../diagnosing-compose-stability/SKILL.md`. - Active runtime tracing or visual cascade investigation through the plugin's tool window. Use `../visualizing-recomposition-cascades/SKILL.md`. - Conceptual questions about how the compiler classifies a type. Use `../understanding-stability-inference/SKILL.md`. ## Prerequisites - Android Studio 2024.2+ or IntelliJ IDEA 2024.2+ (build range 242 through 261, covering 2024.2 through the 2026.1 EAP). - Kotlin 2.3.0 in the IDE plugin runtime, required by the K2 Analysis API the plugin relies on. - The Compose Compiler Gradle plugin already wired in the project (`org.jetbrains.kotlin.plugin.compose`). The analyzer evaluates stability against the same compiler model. - The plugin is currently installed from disk during development; the JetBrains Marketplace listing is pending. ## Workflow ### 1. Build the plugin from source Clone `skydoves/compose-stability-analyzer` and build the IDEA module. ```bash git clone https://github.com/skydoves/compose-stability-analyzer cd compose-stability-analyzer ./gradlew :compose-stability-analyzer-idea:buildPlugin ``` The packaged plugin lands at `compose-stability-analyzer-idea/build/distributions/*.zip`. ### 2. Install from disk In the IDE, open **Settings → Plugins → ⚙ → Install Plugin from Disk…** and pick the ZIP produced in step 1. Restart the IDE when prompted. **DO NOT** look for the plugin in the JetBrains Marketplace yet; the listing is under review at the time of writing. ### 3. Confirm the settings panel Open **Settings → Tools → Compose Stability Analyzer**. Verify `isStabilityCheckEnabled` is on. The full set of toggles, all read from `StabilitySettingsState`, is: