Use this skill whenever the user is developing an Android app (in Kotlin or Java, with Jetpack/Compose/Views) and either (1) something in the Android platform is behaving unexpectedly and they need to understand why, (2) they want to know what an Android SDK API actually does under the hood, (3) they're debugging a platform interaction that the documentation doesn't fully explain (Doze, JobScheduler, broadcasts, background restrictions, foreground services, activity lifecycle, permission grants, BroadcastReceiver delivery, intent routing, package visibility, etc.), (4) they're comparing how an API behaves across different Android versions they're targeting (API 33-37 / Android 13-17), or (5) they want to know in which minor release (r1, r2, ..., rN) of a major Android version a behavior change shipped. Trigger whenever the user is working in an `app/` module with `build.gradle.kts`, an AndroidManifest with `<application>` (not platform-level), or mentions "my app", "the SDK", "Jetpack", "Compose", "Activity",
Use this skill whenever the user is reading, debugging, modifying, or asking deep questions about Android Open Source Project (AOSP) framework code. This includes AndroidManifest.xml at the platform level, .bp/.mk build files, Soong, Make, init.rc scripts, SELinux policies (.te/.fc/.if), HIDL/AIDL interfaces, vendor HALs, VHAL, AAOS automotive components (CarService, SystemUI Car variants, cluster apps), system_server internals, PackageManager, ActivityManager, WindowManager, SystemUI, kernel-userspace interfaces, ROM development, or comparing how a subsystem evolved between Android releases 13-17 — including across minor releases (r1, r2, ..., rN) within a single major. Trigger on: framework, AOSP, AAOS, platform, system_server, SystemUI, init.rc, Soong, VHAL, CarService, PackageManager, ActivityManager, or references files under packages/services/Car, frameworks/base, hardware/interfaces, system/, vendor/. Also trigger for cross-version comparisons, investigating when an API was added/changed/removed at a s