/android-review:compose-uifrom android-review
Provides Jetpack Compose UI best practices and patterns for Material 3, covering state hoisting, side effects, type-safe navigation, responsive layouts, accessibility, and animations.
Ships in android-review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Provide guidance and review for Jetpack Compose UI code following Material 3 design patterns and modern Android conventions.
Evaluate Compose code against ALL categories. Output findings as:
[COMPOSE-XXXXX] severity: CRITICAL | HIGH | MEDIUM | LOW
Finding: <what is wrong or can be improved>
Location: <file:line>
Fix: <concrete code fix>
Each reference file contains full code examples and patterns. Read the relevant file when reviewing that area.
| # | Reference File | Content | When to Load |
|---|---|---|---|
| 1 | references/state-and-effects.md | State hoisting, rememberSaveable, collectAsStateWithLifecycle, LaunchedEffect, DisposableEffect, SideEffect | Reviewing state management or side effects |
| 2 | references/navigation.md | Type-safe navigation, back stack, navigation events | Reviewing navigation setup |
| 3 | references/theming.md | Material 3 tokens, dynamic colors, custom extensions | Reviewing theme or color usage |
| 4 | references/accessibility.md | Content descriptions, touch targets, semantics merging | Reviewing accessibility compliance |
| 5 | references/layout-and-animation.md | WindowSizeClass, responsive layout, AnimatedVisibility, animateXAsState | Reviewing layout or animation code |
rememberSaveable for state that survives configuration changes.StateFlow. See architecture skill for ViewModel implementation patterns.collectAsStateWithLifecycle() (NOT collectAsState()).LaunchedEffect for coroutine-based side effects.DisposableEffect for cleanup-requiring side effects.SideEffect for non-suspend side effects on every successful recomposition.rememberCoroutineScope for event-triggered coroutines.popUpTo to avoid back stack buildup.CompositionLocal.MaterialTheme.typography for text styles, NEVER hardcoded sizes.null contentDescription.Modifier.clearAndSetSemantics for custom announcements.WindowSizeClass for adaptive layouts.Modifier.fillMaxWidth() with constraints, not fixed widths.BoxWithConstraints for constraint-dependent layouts.animateXAsState for simple value animations.AnimatedVisibility for enter/exit.AnimatedContent for content transitions.label parameter for animations.Modifier.graphicsLayer for GPU-accelerated transforms.prefers-reduced-motion accessibility settingTransition for coordination@Composable
fun MyComponent(
// 1. Required data parameters
title: String,
items: ImmutableList<Item>,
// 2. Optional data parameters with defaults
subtitle: String = "",
// 3. Event callbacks
onClick: () -> Unit,
onItemSelected: (Item) -> Unit,
// 4. Modifier (always last with default)
modifier: Modifier = Modifier
) {
// Implementation
}
@Preview(showBackground = true)
@Preview(showBackground = true, uiMode = UI_MODE_NIGHT_YES)
@Preview(showBackground = true, device = Devices.TABLET)
@Composable
private fun MyComponentPreview() {
AppTheme {
MyComponent(
title = "Preview Title",
items = persistentListOf(Item("1", "Sample")),
onClick = {},
onItemSelected = {}
)
}
}
For ViewModel implementation patterns, see the architecture skill. For performance optimization of Compose recomposition, see the performance skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub liuyi0808/android-review --plugin android-review6 skills in this plugin
/architectureAndroid application architecture standards using Clean Architecture, MVVM/MVI patterns, Hilt dependency injection, and modularization. Use when: designing app structure, creating ViewModel/Repository/UseCase classes, setting up Hilt DI modules, planning module boundaries, reviewing layer dependencies, implementing offline-first data patterns, defining error handling strategy, or starting a new Android feature module./kotlin-qualityKotlin code quality review for Android projects. Covers coroutine structured concurrency, Flow operators, null safety, type design (sealed classes, data classes, value objects), and collection/functional patterns. Use when: reviewing Kotlin code in PRs, auditing coroutine usage, checking null safety patterns, evaluating type design decisions, or improving code readability and correctness./performanceAudit Android (Kotlin/Compose) apps for performance issues and produce structured findings. Use when: app cold start exceeds 500ms, UI jank or dropped frames, memory leaks or OOM, ANR rate above 0.47% in Play Vitals, Compose recomposition waste, missing baseline profiles, battery drain, reviewing performance before release, or general performance optimization./play-storeGoogle Play submission and compliance audit for personal loan apps targeting Africa and Latin America. Covers organization account verification, market-specific licensing, loan restrictions, permissions, mandatory three-way privacy verification (collection, in-app disclosure, and privacy policy), reviewer access, and general Play publishing requirements./security-auditAndroid application security audit based on OWASP MASVS v2.0 and Kotlin secure coding practices. Use when: writing or reviewing code involving sensitive data storage (SharedPreferences, Room), cryptography (encryption keys, Keystore), authentication (biometrics, token management), network security (TLS, cert pinning), WebView hardening, Content Provider security, reverse engineering resilience (root detection, tamper detection), or user privacy (data minimization, consent).Other plugins' skills for the same job