r8-analyzer

Community

Trim app size by pruning R8 keep rules.

Authortanaka-mambinge
Version1.0.0
Installs0

System Documentation

What problem does it solve?

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.

Core Features & Use Cases

  • Analyze R8 configuration by inspecting build.gradle/build.gradle.kts, gradle.properties, and proguard/consumer rules using the references guidance to identify redundant or overly broad rules.
  • Evaluate rules against the KEEP-RULES-IMPACT-HIERARCHY.md to prioritize impact and propose targeted refinements.
  • Detect subsuming or conflicting keep rules and provide actionable guidance on narrowing rules via the REFLECTION-GUIDE.md.

Quick Start

Run the analyzer on your Android project to identify redundant and broad keep rules and review the suggested refinements

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: r8-analyzer
Download link: https://github.com/tanaka-mambinge/dotfiles/archive/main.zip#r8-analyzer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.