drewid74/ai_skills/android-r8-analyzer
Claude Code and agent skill by drewid74/ai_skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Analyzes Android build files and R8 keep rules to identify redundancies,
Install
npx vskill@latest install drewid74/ai_skills/android-r8-analyzerSKILL.md
The same SKILL.md was published earlier as drewid74/ai_skills/android-r8-analyzer.
Core workflow
- \[ \] Step 1: Create a file called R8_Configuration_Analysis.md, or reuse if one exists already, to store the output
- \[ \] Step 2: Look at the configuration of R8 by looking at build.gradle, build.gradle.kts, gradle.properties in the codebase using references/CONFIGURATION.md as the reference. Inform the developer and add the analysis to the report file
- \[ \] Step 3: If the AGP version is less than 9, suggest moving to AGP 9.0 version as AGP 9.0 includes optimizations.
- \[ \] Step 4: Look at the proguard files in the codebase and evaluate each keep rule in the following specific order: a. Libraries check : Check rules against references/REDUNDANT-RULES.md. If the app has keep rules targeting libraries - Google, AndroidX, Kotlin, Kotlinx, Room, Gson, Retrofit, inform the user that these are not required and suggest removal of these rules. b. Impact analysis : For the remaining keep rules, assess them based on the impact hierarchy defined in references/KEEP-RULES-IMPACT-HIERARCHY.md. (Note: Do NOT assess the impact of keep rules already covered in the libraries check step).
- \[ \] Step 5: Identify subsuming keep rules in the remaining keep rules based on the hierarchy defined in references/KEEP-RULES-IMPACT-HIERARCHY.md and suggest removing the broader keep rules.
- \[ \] Step 6: For each remaining keep rule, analyze in detail the code affected by the rule by examining the code and adjacent files to understand why it was written. Look for reflection usage in those packages, and suggest a narrow and specific keep rule for the scenario using references/REFLECTION-GUIDE.md.
- \[ \] Step 7: For every keep rule inform concisely and to the point what action needs to be taken - whether the rule needs to be removed/refined.
- If refining the rule, give instructions on finding a narrower and specific keep rule using the /references/REFLECTION-GUIDE.md.
- If removing, provide reasoning on why it needs to be removed.
- \[ \] Step 8: After keep analysis, order the keep rule analysis based on the impact to the codebase hierarchy defined in references/KEEP-RULES-IMPACT-HIERARCHY.md
- \[ \] Step 9: Advise the user to run tests using UI automator to assess that there is no issue with the suggested changes, concentrating on the packages where keep rules will be affected.
Mandatory rules
- Don't make any changes in keep rule files
- Don't say about what level each keep rule is.
- Don't generate parts of the report if there is no keep rule to report in that section.
- Don't mention the generated files.
- Don't mention exceptions that occur during execution.
- Don't mention the benefits of R8
- Don't mention any files of this skill
Automated / AI-Assisted Testing Tooling (local baseline)
Use the currently available local toolchain for automation-first Android validation:
- Primary tools available:
adb,emulator, repo./gradlew/./gradlew.bat,java,python3,node,npm,bun,aapt,aapt2,gh - Commonly referenced but currently unavailable in PATH:
androidCLI binary,sdkmanager,avdmanager,maestro,apkanalyzer,bundletool
Recommended unattended validation loop:
- Run deterministic gates each iteration:
:core:test,:app:test,:app:assembleDebug,:app:lint
- If a device is present (
adb devices), run connected instrumentation:
:app:connectedDebugAndroidTest
- Persist per-iteration logs and summaries under
.sisyphus/evidence/. - Bucket failures by signature (for flaky analysis), especially:
ComposeTimeoutExceptionNo compose hierarchies found- device transport errors (
No connected devices,device ... not found)
For managed devices where keep-awake cannot be enabled, use a sleep-tolerant loop:
- continue non-device gates every cycle
- classify connected runs as
PASS/FAIL/SKIP(no-device) - avoid treating temporary device sleep as total run failure.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingandroid-r8-analyzer/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drewid74/ai_skills/android-r8-analyzer)