rxjava-to-coroutines-migration
Installation
SKILL.md
RxJava to Kotlin Coroutines Migration Skill
A specialized skill designed to safely and idiomatically refactor Android or Kotlin codebases from RxJava to Kotlin Coroutines and Flow.
Migration Mapping Guide
When migrating RxJava components to Kotlin Coroutines, use the following standard mappings:
1. Base Types
Single<T>->suspend fun ...(): T- A single asynchronous value.
Maybe<T>->suspend fun ...(): T?- A single asynchronous value that might not exist.
Completable->suspend fun ...()- An asynchronous operation that completes without a value.
Observable<T>->Flow<T>- A cold stream of values.
Flowable<T>->Flow<T>- Coroutines Flow natively handles backpressure.