Lightlines
By chrisbanes

compose-state-and-effects

chrisbanes883 installs

Keep Compose UI state and side effects in sync.

What it does

Guides state ownership and effect lifecycles in Compose UI code so rendering remains predictable and testable.

When to use it

Use when writing or reviewing Compose state ownership, state hoisting, effect APIs, Flow collection, navigation, snackbar, analytics, or focus requests.

How to use it

It changes how the agent writes and reviews Compose UI code by assigning state owners and matching effects to their lifecycles.

What you provide

  • An existing project

Latest review

What you need · 4

Applies to UI code using Jetpack Compose.

Routes frame-rate reads, cross-phase back-writing, and ReadOnlyComposable contracts to this skill; whether it must be installed is unstated.

Routes focus ownership and keyboard, TV, or D-pad behavior to this skill; whether it must be installed is unstated.

Routes tests or previews for the resulting UI contract to this skill; whether it must be installed is unstated.


Access · 0

No additional actions listed.