RoninForge /roninforge-kotlin-compose
Cursor rule
Compose / Kotlin Android anti-pattern detector. Catches findViewById, setContentView(R.layout), GlobalScope, LiveData + observeAsState, MutableState exposed publicly, force-unwrap !!, lowercase composables, LazyColumn without key, LaunchedEffect(true), Material 2 imports, padding-before-clickable…
1 2mo ago A 2,163 tokens
original MIT RoninForge /roninforge-kotlin-compose
Cursor rule
Android architecture patterns: feature modularization, repository + data source pattern, sealed interfaces for UI state, ViewModel + StateFlow, Ktor / Retrofit + Kotlin Serialization, Room with Flow returns + KSP, coroutines structured concurrency.
1 2mo ago A 0 tokens
original MIT RoninForge /roninforge-kotlin-compose
Cursor rule
Modern Android development rules: Kotlin 2.x with K2, Jetpack Compose, Material 3, state hoisting + StateFlow + collectAsStateWithLifecycle, Hilt with hiltViewModel(), type-safe Navigation Compose, KSP, Version Catalogs, Compose Compiler as Kotlin plugin.
1 2mo ago A 2,288 tokens
original MIT RoninForge /roninforge-kotlin-compose
Cursor rule
Compose performance: stability annotations (@Stable, @Immutable), strong-skipping in Kotlin 2.x, key-based recomposition, derivedStateOf, remember{} keys, deferred reads, Compose previews + Paparazzi for screenshot tests.
1 2mo ago A 0 tokens
original MIT RoninForge /roninforge-kotlin-compose
Cursor rule
Compose testing: createComposeRule, semantic matchers, Paparazzi screenshot tests, Hilt + Compose test setup, runTest for coroutines, Turbine for Flow assertions, fake repositories over mocks. Agent-requested.
1 2mo ago A 45 tokens
original MIT