hoangnguyen0403/android-persistence
Implement Room schemas and DataStore preferences with proper async patterns in Android. Use when the primary task is storage schema, DAO, migration, or preference isolation; defer auth-token/security storage, any CoroutineWorker/WorkManager task, Hilt graph wiring, and cache-policy design.
npx skills add https://github.com/HoangNguyen0403/agent-skills-standard --skill android-persistence
Flow<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.
Take hoangnguyen0403/android-persistence from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.