R8

Identifies redundant or broad R8 keep rules to reduce Android app size.

Install

mkdir -p .claude/skills/r8-analyzer-tajemniktv && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14178" && unzip -o skill.zip -d .claude/skills/r8-analyzer-tajemniktv && rm skill.zip

Installs to .claude/skills/r8-analyzer-tajemniktv

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Analyzes Android build files and R8 keep rules to identify redundancies,
72 charsno explicit “when” trigger
Advanced

Key capabilities

  • →Analyze R8 configuration in Android build files
  • →Suggest upgrading Android module AGP version to 9.x
  • →Identify and suggest removal of redundant keep rules for libraries
  • →Assess impact of remaining keep rules based on hierarchy
  • →Identify subsuming keep rules and suggest removing broader ones
  • →Suggest narrow and specific keep rules for reflection usage

How it works

The skill systematically analyzes R8 and Proguard configurations in Android projects to identify and suggest optimizations for keep rules.

Inputs & outputs

You give it
Android build.gradle, build.gradle.kts, gradle.properties, and Proguard files
You get back
An R8_Configuration_Analysis.md report with suggestions for optimizing keep rules

When to use r8-analyzer

  • →Reduce Android app size
  • →Clean up Proguard keep rules
  • →Troubleshoot R8 configuration

About r8-analyzer

Reviews Gradle build files and Proguard configuration to detect redundancies and rule subsumption. Helps keep app rules clean and efficient.

Analyzes Android build files and R8 keep rules to identify redundancies,

When not to use it

  • →When analyzing non-Android build files
  • →When the project does not use R8 or Proguard
  • →When seeking guidance for `commonMain` or desktop architecture decisions

Limitations

  • →The skill is specific to Android/R8.
  • →The skill does not make changes in keep rule files.
  • →The skill does not mention exceptions that occur during execution.

How it compares

This skill provides a structured, step-by-step analysis of R8 keep rules, offering specific recommendations for optimization, unlike a manual review that might miss redundancies or broader rules.

Compared to similar skills

r8-analyzer side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
r8-analyzer (this skill)07moNo flagsAdvanced
production-code-audit110moReviewAdvanced
audit-project07moReviewAdvanced
dependency-analyzer07moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry