Android Core Architecture

0•

Guides Android architecture, state management, thread safety, and lifecycle durability across all UI toolkits and languages.

The Android Core skill enforces foundational architectural standards and platform best practices for Android development, regardless of whether you build with Jetpack Compose or XML, Kotlin or Java. It provides clear, actionable rules covering process death resilience with SavedStateHandle, strict unidirectional data flow, offline persistence, background work scheduling with WorkManager, main thread protection, security sandboxing, localization, and accessibility. Use this skill when architecting new Android modules, refining existing state management, or auditing codebases to prevent ANRs, data loss, and UI freezing.

Key Features

01Enforces strict unidirectional data flow boundaries (UI to Domain to Data)
020 GitHub stars
03Prevents ANRs by offloading disk, network, and heavy decoding from the main thread
04Guides durable background operations using WorkManager instead of fragile scopes
05Applies accessibility and localization standards including context-aware formatting
06Ensures process death survival and safe state restoration using SavedStateHandle

Use Cases

01Hardening state management against Android OS process death and memory reclamation
02Auditing Android code for main-thread blocking, credential leaks, and accessibility defects
03Designing robust app architecture and boundary layers for new Android projects