new-silvermoon avatar

Rxjava To Coroutines Migration

If you're still dragging RxJava around in a Kotlin codebase, this handles the tedious conversion work to Coroutines and Flow. It maps Singles to suspend functions, Observables to Flows, and converts BehaviorSubjects to StateFlows with the standard idioms you'd find in any migration guide. The operator translations are solid, like flatMap to flatMapMerge and switchMap to flatMapLatest. It also rewrites subscriptions into proper coroutine launches with lifecycle scopes. Honestly most useful for teams stuck on legacy Android code who need to modernize without spending two sprints rewriting async layers by hand.

skills.sh installs
347
GitHub stars
1K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/new-silvermoon/awesome-android-agent-skills
Categories
Documentation, AI & Agent Building, Mobile Development, Java & JVM
First seen
Jun 3, 2026

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

All 17
1borghei avatartalent-acquisitionborghei/claude-skillsTalent acquisition across recruiting strategy, sourcing, interviews, and hiring analytics. Use when writing job descriptions, designing interview scorecards, an345skills.sh installs
2borghei avatarproduct-manager-toolkitborghei/claude-skillsProduct manager toolkit covering RICE prioritization, customer interview analysis, PRDs, and discovery frameworks. Use for feature prioritization, user research344skills.sh installs
3nowledge-co avatarcheck-integrationnowledge-co/communityCheck Nowledge Mem setup, detect your agent, and guide native connector setup. Use when the user asks about setup, configuration, or when memory tools aren't wo344skills.sh installs
4onewave-ai avatarcompetitor-content-analyzeronewave-ai/claude-skillsTrack competitor blog posts, whitepapers, and content strategy. Identify content gaps in your strategy.343skills.sh installs
5pedronauck avatarto-promptpedronauck/skillsTurn code, issues, or context into a handoff brief for another LLM — full context, zero prescribed solution, written to docs/prompts/. Use when packaging a bug 343skills.sh installs
6pexoai avatarpexoai-agentpexoai/pexo-skillsAI video generation skill with auto model selection across Seedance 2, Kling 3.0, HappyHorse, and 10+ models. Produces finished multi-shot videos (5–120s) from 343skills.sh installs