Datastore

DataStore (Preferences and Proto) for Android AI agents. Use this skill whenever storing user preferences, settings, small key-value data, replacing SharedPreferences, using DataStore Preferences, DataStore Proto, reading/writing Flow from DataStore, Hilt DataStore injection, migration from SharedPreferences, or any persistent lightweight data storage. Always apply when the task involves user settings, theme preferences, onboarding state, auth tokens (non-secure), feature flags, or any small persistent data that is not a database.

piyushverma0 bd31328 7.2 KB Updated

File contents

piyushverma0/android-agent-skills/tree/main/skills/datastore commit bd3132897f

Frequently asked questions

npx skillmds@latest add piyushverma0/datastore