Agent Skill · Android

r8-analyzer

Analyzes Android build files and R8 keep rules to identify redundancies, broad package-wide rules, and rules that subsume library consumer keep rules. Use when developers want to optimize their app's size, remove redundant or overly broad keep rules, or troubleshoot Proguard configurations.

Provider: Android Path in repo: performance/r8-analyzer/SKILL.md

Skill body

Step 1. Setup and configuration check

Step 2. Analysis path selection

Path A: Quantitative data generation (R8 >= 9.3.7-dev)

Path B: Heuristic evaluation and recommendation (R8 < 9.3.7-dev)

(Use ONLY if quantitative data generation is not possible)

Step 3. Report generation

Constraints

Skill frontmatter

license: Complete terms in LICENSE.txt metadata: {"author"=>"Google LLC", "last-updated"=>"2026-05-19", "keywords"=>["R8", "proguard", "keep rules", "app size", "optimization"]}