一键导入
android-compose
Jetpack Compose UI development patterns, component design, state management, and Material 3 theming for Android applications.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Jetpack Compose UI development patterns, component design, state management, and Material 3 theming for Android applications.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Continuously improves the project by checking docs (web, Context7, opencode), using LSPs for code context, monitoring skills/plugins/scripts, and adapting best practices.
Continuity management — preserves context, maintains thermal maps, and serializes states across sessions
Read diffs carefully, identify risks, and produce review feedback that is specific and actionable.
Write accurate docs, keep references current, and capture verified behavior only.
Branching, rebasing, commit hygiene, and review-friendly history for agency delivery.
Use the language server for precise navigation, symbol lookup, refactoring, and diagnostics.
| name | android-compose |
| displayName | Jetpack Compose UI Patterns |
| description | Jetpack Compose UI development patterns, component design, state management, and Material 3 theming for Android applications. |
| category | mobile |
| tags | ["android","jetpack-compose","ui","kotlin","material3"] |
| agents | ["android-kotlin","mobile-qa"] |
| toolkit_refs | ["mobile"] |
@Composable
fun ScreenName(
viewModel: ScreenViewModel = hiltViewModel(),
modifier: Modifier = Modifier,
onNavigate: (Route) -> Unit = {}
) {
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
Scaffold(
topBar = { TopAppBar(title = { Text("Screen") }) }
) { padding ->
when (val state = uiState) {
is UiState.Loading -> LoadingIndicator()
is UiState.Success -> Content(state.data, modifier.padding(padding))
is UiState.Error -> ErrorState(state.message, onRetry = viewModel::retry)
}
}
}
hiltViewModel() for DI, viewModelScope.launch for coroutines.stateIn(viewModelScope, SharingStarted.WhileSubscribed(5000), initial)MaterialTheme.colorScheme for colors, MaterialTheme.typography for textdynamicColorScheme()Theme.kt for branded appscreateComposeRule() for composable testingsemantics { } for accessibility-based selectors