一键导入
r8-proguard-optimization
Use for Android release shrinking, R8 and ProGuard keep rules, minify release failures, resource shrinking and Crashlytics mapping uploads.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use for Android release shrinking, R8 and ProGuard keep rules, minify release failures, resource shrinking and Crashlytics mapping uploads.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Master orchestration skill for building, reviewing, refactoring, testing, securing, optimizing and releasing modern Android apps with Kotlin, Jetpack Compose and Firebase.
Use for Android and Compose accessibility, contentDescription, touch targets, contrast, TalkBack, semantics, keyboard navigation and font-scale resilience.
Use for safe Android Gradle Plugin 9, Kotlin, Gradle wrapper, version catalog, Compose and Firebase BoM migrations.
Use for Clean Architecture, MVVM, MVI, multimodule design, domain/data/presentation boundaries, repositories, use cases, DTO/entity/domain mapping and offline-first architecture.
Use for Android project structure, AndroidManifest, lifecycle, permissions, resources, compatibility, edge-to-edge, Android Studio and basic device debugging.
Use for Android Navigation 3 setup, migration from Navigation Compose, typed routes, deep links, back stack handling and navigation tests.
| name | r8-proguard-optimization |
| description | Use for Android release shrinking, R8 and ProGuard keep rules, minify release failures, resource shrinking and Crashlytics mapping uploads. |
Fix release-only failures and optimize shrinking without disabling R8 or adding broad unsafe keep rules.
minifyEnabled or shrinkResources causes crashes.app/build.gradle.kts release build typeproguard-rules.pro and consumer-rules.pro-keep class ** { *; } except as a temporary diagnostic.Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.
app/build.gradle.ktsproguard-rules.proconsumer-rules.procrashlytics Gradle config./gradlew assembleRelease
./gradlew app:minifyReleaseWithR8
./gradlew testReleaseUnitTest
Respond with: brief diagnosis, change plan, affected files, code or diff summary, validation commands, tests added or recommended, risks, and next step. For review tasks, lead with findings ordered by severity.