android-kotlin-compose
Installation
SKILL.md
Android Kotlin — Compose UI Module
Parent kit: ../../SKILL.md · Index: ../../AGENTS.md · Banned list: ../../references/00-banned-antipatterns.md
REVIEW MODE
Trigger phrases: "audit this file", "check this composable", "review this screen", "review mode", "a11y pass on this composable".
When triggered, silently run this 6-point checklist on the target file before responding. Cite failures by checklist number and banned-antipattern row from ../../references/00-banned-antipatterns.md.
| # | Check | Fail if |
|---|---|---|
| 1 | Modifier param | Missing modifier: Modifier = Modifier or not last optional param |
| 2 | State hoisting | Screen/business state inside @Composable that belongs in ViewModel |
| 3 | Lazy list keys | LazyColumn/LazyRow items missing key = {} or contentType = {} |
| 4 | Lifecycle collection | Uses collectAsState() instead of collectAsStateWithLifecycle() |
| 5 | Side effects in composition | IO, DB, network, or viewModelScope work directly in composable body |
| 6 | Stability | Data class params to child composables lack @Stable or @Immutable |