Use when persisting key-value preferences or small typed settings on Android or KMP with Jetpack DataStore — Preferences vs Typed (Proto/JSON) vs Room selection, the IOException and corruption-recovery error traps, serializers with corruption handlers, and the KMP factory with per-platform file paths. Triggers on DataStore, Preferences, PreferenceDataStoreFactory, DataStoreFactory, preferencesDataStore, Serializer, SharedPreferences-to-DataStore migration, or persistent settings work.
$npx -y skills add rcosteira79/android-skills --skill datastoreInstalls into the current project.
Run `npx skills use "https://github.com/rcosteira79/android-skills" --skill "rcosteira79/android-skills/datastore"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/rcosteira79/android-skills" that are relevant to the current task. Run `npx skills add "https://github.com/rcosteira79/android-skills"` and select the relevant skills, then follow their instructions.