Expo's official skill for building native-feeling screens: Apple HIG styling, semantic colors, SF Symbols, native controls, Reanimated, blur and liquid glass.
Android R8 Keep-Rule AnalyzerSkill
Summary
Google's official Android skill for auditing R8 and ProGuard keep rules — finds redundant and overly broad rules that quietly inflate APK size.
Features
- Detects redundant, overly broad and library-subsuming keep rules
- Checks AGP version and R8 full-mode configuration first
- Quantitative path on R8 9.3.7-dev+, heuristic fallback on older versions
- Installable via the Android CLI: android skills add --skill=r8-analyzer
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Description
Keep rules accumulate. A -keep class com.example.** added years ago to fix one crash now pins an entire package out of shrinking, and nothing in the build output tells you. This is Google's own Android skill for finding those rules and quantifying what they cost.
It starts by reading build.gradle, build.gradle.kts, gradle.properties and libs.versions.toml to establish the configuration — flagging an AGP below 9.0, and checking whether android.enableR8.fullMode=false is still suppressing full-mode optimisation. It then branches on the R8 version: on 9.3.7-dev and later it takes a quantitative path using R8's own generated data, and on older versions it falls back to a heuristic analysis.
What it looks for: rules that duplicate each other, rules broad enough to subsume the consumer keep rules a library already ships, and package-wide wildcards where a narrower rule would do. The output is aimed at a decision — which rules to remove and what that is worth in size — rather than a list of warnings.
Part of Android's official skills repository, which deliberately targets workflows where evaluations show LLMs underperform rather than well-trodden ground like Compose basics. Apache-2.0 licensed and installable through the Android CLI (android skills add --skill=r8-analyzer) or directly into any agent that reads SKILL.md.
Related Skills
Skill: React Native Best Practices
by Callstack
Callstack's official React Native performance skill: a priority-ordered framework for FPS, time-to-interactive, bundle size, memory leaks and re-render problems.
Skill: bitdrift Instrumentation
by bitdrift
Adds the bitdrift Capture SDK to an iOS, Android or React Native app and wires up logging, network monitoring, screen views and TTI correctly.
Skill: Expo Router Navigation
by Expo
Official Expo skill for Expo Router: file-based routes, native stacks, NativeTabs, modals and form sheets, headers, toolbars, and search bars.