Apk size audit

From oxyroid/M3UAndroid · View interactive version

Apk size audit is an AI agent skill from the GitHub repository oxyroid/M3UAndroid. Audit M3UAndroid APK/AAB size and packaging changes for dependency growth, native libraries, resources, R8/minification, generated assets, baseline profiles, and artifact comparison evidence.

How to use this skill

Skill file

APK Size Audit

Audit packaging and size-sensitive changes with measurable artifact and configuration evidence.

When To Use

Use when a task changes or reviews:

Required Context

Read first:

Audit Checks

Verify with file evidence:

Process

  1. Map changed Gradle, version catalog, packaging, native-load, and generated-asset files.
  2. Identify artifact variants affected by the change.
  3. Compare dependency/resource/native-library deltas when data is available.
  4. Cite file paths and line numbers for each finding.
  5. Avoid claiming size wins without measured artifact evidence.

Validation

Recommend:

./gradlew :app:smartphone:assembleRelease

Use the affected TV or extension variant when applicable. If artifact comparison cannot be run, state the remaining size risk.

Output

Return a concise Markdown report with:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.