skills/android-compose-state-effects/SKILL.md
Manage Compose state, remember APIs, side effects, snapshots, and lifecycle-aware collection without leaks or loops.
npx skillsauth add krutikJain/android-agent-skills android-compose-state-effectsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
android-state-management.android-state-managementandroid-compose-performanceremember, rememberSaveable, derivedStateOf, produceState, collectAsStateWithLifecycle, LaunchedEffect, DisposableEffect, SideEffect, or snapshotFlow.android-state-management only after the Compose-runtime issue is isolated.collectAsStateWithLifecycle for UI-facing flows.rememberUpdatedState when an effect should see the latest lambda or value without restarting.LaunchedEffect(Unit) or unstable keys when the effect should restart on real dependency changes.derivedStateOf or snapshotFlow when plain state reads would be simpler and cheaper.cd examples/orbittasks-compose && ./gradlew :app:testDebugUnitTestcd examples/orbittasks-compose && ./gradlew :app:assembleDebugpython3 scripts/eval_triggers.py --skill android-compose-state-effectstesting
Validate Android UI behavior with Compose UI tests, Espresso-style checks, screenshot assertions, and accessibility verification.
data-ai
Model screen state, events, reducers, and side effects for Android UIs with predictable lifecycle-aware ownership.
tools
Coordinate serialization, caching, conflict handling, and offline-first sync flows in Android apps.
development
Apply Android app security guidance around secrets, storage, network trust, exported components, and least privilege.