Android local persistence datastore

From krutikJain/android-agent-skills · View interactive version

Android local persistence datastore is an AI agent skill from the GitHub repository krutikJain/android-agent-skills. Persist lightweight user and app preferences with DataStore, schema-safe models, and migration-aware defaults.

How to use this skill

Skill file

Android Local Persistence DataStore

When To Use

Workflow

  1. Confirm the data source, persistence boundary, sync model, and device capability involved.
  2. Model contracts explicitly before wiring network, storage, media, or background APIs.
  3. Apply the recommended AndroidX or platform pattern with migration-safe defaults.
  4. Validate offline, retry, and process death behavior against the sample apps and scenarios.
  5. Escalate security, performance, or release risk to the linked supporting skills when needed.

Guardrails

Anti-Patterns

Examples

Happy path

Edge case

Failure recovery

Done Checklist

Official References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.