r8-analyzer

Installation
SKILL.md

Step 1. Setup and configuration check

  • Inspect build.gradle, build.gradle.kts, and gradle.properties.
  • Use references/CONFIGURATION.md to identify missing optimizations.
  • AGP : If version is lower than 9.0, suggest migration to 9.0 for build-time performance improvement.
  • Full Mode : Verify android.enableR8.fullMode=false is removed from gradle.properties.

Step 2. Analysis path selection

  • Inspect build.gradle, build.gradle.kts, and gradle.properties and libs.versions.toml to get the AGP and R8 versions.

  • If AGP >= 9.3.0 : Proceed to Path A (Standalone Task).

  • If AGP < 9.3.0 and R8 >= 9.3.7-dev : Proceed to Path B (Quantitative).

  • If none of the conditions are met, proceed to Path C (Heuristic).

Path A: Standalone Gradle task (AGP >= 9.3.0)

Installs
1.8K
Repository
android/skills
GitHub Stars
6.9K
First Seen
Apr 15, 2026
r8-analyzer — android/skills