Implement Room database schemas and DataStore preferences with proper async patterns in Android. Use when defining Room entities, DAOs, migrations, or replacing SharedPreferences with DataStore. (triggers: **/*Dao.kt, **/*Database.kt, **/*Entity.kt, @Dao, @Entity, RoomDatabase)
80
75%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/android/android-persistence/SKILL.mdFlow<List<T>> for queries, use suspend for Write/Insert.@Entity data classes simple. Map to Domain models in Repository.@Transaction for multi-table queries (Relations).See DAO templates for Room DAO patterns.
SharedPreferences with ProtoDataStore (type-safe) or PreferencesDataStore.See DAO templates for DataStore migration patterns.
19a1140
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.