Skip to content
new-silvermoon avatar

Rxjava To Coroutines Migration

Guide for converting RxJava Observables, Singles, Subjects, and operators into Kotlin Coroutines and Flow.

CCM score
56 of 100
skills.sh installs
365
GitHub stars
1K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full migration path from RxJava types and operators to suspend functions, Flows, and StateFlows
  • Includes mapping tables for base types, subjects, schedulers, operators, and subscription lifecycle, plus a worked example
  • Enforces a five-step procedure: analyze the chain, convert the source, rewrite operators, update subscriptions, then handle errors and threading
  • Designed for Android and Kotlin codebases moving off RxJava incrementally, layer by layer

Install

$ npx -y skills add new-silvermoon/awesome-android-agent-skills --skill rxjava-to-coroutines-migration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/new-silvermoon/awesome-android-agent-skills
Categories
Mobile Apps, Java & JVM
First seen
Jun 3, 2026

Questions

What does the rxjava-to-coroutines-migration skill do?

The rxjava-to-coroutines-migration skill guides and executes the migration of asynchronous code from RxJava to Kotlin Coroutines and Flow. It converts RxJava types such as Observables, Singles, Completables and Subjects into suspend functions, Flows and StateFlows.

How do I install the rxjava-to-coroutines-migration skill?

Run npx -y skills add new-silvermoon/awesome-android-agent-skills --skill rxjava-to-coroutines-migration -y in a project to install it. Once installed, the rxjava-to-coroutines-migration skill lets the agent rewrite RxJava chains into coroutine-based code.

Which RxJava mappings does the rxjava-to-coroutines-migration skill cover?

The rxjava-to-coroutines-migration skill maps Single and Completable to suspend functions and Observable to Flow. It also maps PublishSubject, BehaviorSubject and ReplaySubject to MutableSharedFlow and MutableStateFlow, and Schedulers to Dispatchers.

Where does the rxjava-to-coroutines-migration skill fit in the Mobile Apps category?

The rxjava-to-coroutines-migration skill is listed in the Mobile Apps category on Claude Marketplaces. It focuses on a single migration task, converting RxJava code in Android or Kotlin projects to Coroutines.

More from new-silvermoon/awesome-android-agent-skills

All 17

Similar to Rxjava To Coroutines Migration

More Mobile Apps