skills/android-rxjava-to-coroutines-migration/SKILL.md
Migrate Android RxJava code to Kotlin coroutines and Flow with safe lifecycle-aware replacements.
npx skillsauth add krutikJain/android-agent-skills android-rxjava-to-coroutines-migrationInstall 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.
Single, Observable, schedulers, or disposables and the goal is to move to suspend, Flow, StateFlow, or SharedFlow.references/patterns.md for the type-mapping matrix and operator red-flag checklist.references/scenarios.md for staged migration and inventory-first workflows.android-modernization-upgradeandroid-coroutines-flowrepeatOnLifecycle.suspend functions for one-shot work and Flow for streams; do not force everything into Flow.CompositeDisposable and manual subscription chains.flatMap, switchMap, replay, and threading assumptions.StateFlow, SharedFlow, shareIn, or stateIn instead of assuming cold Flow is equivalent.Flow even when a suspend function is the better match.observeOn and subscribeOn assumptions undocumented after moving to dispatchers.Single, Maybe, Completable, Observable, Flowable, and Subjects.viewModelScope, and lifecycle collection.bash skills/android-rxjava-to-coroutines-migration/scripts/run_examples.shpython3 skills/android-rxjava-to-coroutines-migration/scripts/scan_rxjava_usage.py examples/fixtures/rxjava-legacy-sample --jsonpython3 skills/android-rxjava-to-coroutines-migration/scripts/generate_migration_checklist.py examples/fixtures/rxjava-legacy-sampletesting
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.