一键导入
android-state-management
Model screen state, events, reducers, and side effects for Android UIs with predictable lifecycle-aware ownership.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Model screen state, events, reducers, and side effects for Android UIs with predictable lifecycle-aware ownership.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Automate Android CI, versioning, signing boundaries, release channels, and Play-ready delivery workflows.
Use Coil in Jetpack Compose with AsyncImage, painter variants, sizing, and accessible image loading patterns.
Make Compose interfaces accessible with semantics, announcements, contrast, focus order, and adaptive touch targets.
Profile and improve Compose recomposition, layout, scrolling, startup, and rendering performance in Android apps.
Manage Compose state, remember APIs, side effects, snapshots, and lifecycle-aware collection without leaks or loops.
Bridge Compose and the View system safely during incremental migrations, interoperability screens, and shared theming.
| name | android-state-management |
| description | Model screen state, events, reducers, and side effects for Android UIs with predictable lifecycle-aware ownership. |
| metadata | {"version":"0.1.0","category":"product","tags":["android","state","ui-state","viewmodel"],"triggers":{"include":["android ui state reducer","state management in compose or xml android","one-off events in android screen","loading empty error state android","viewmodel state container"],"exclude":["retrofit serialization","play store release","binary alignment"]},"owners":["@android-agent-skills/maintainers"],"test_targets":["examples/orbittasks-compose","examples/orbittasks-xml","benchmarks/triggers.jsonl"]} |
android-coroutines-flowandroid-ui-states-validationdata class TaskBoardState(
val tasks: List<TaskUiModel> = emptyList(),
val isLoading: Boolean = false,
val errorMessage: String? = null,
)
private val _uiState = MutableStateFlow(TaskBoardState())
val uiState: StateFlow<TaskBoardState> = _uiState.asStateFlow()
private val _events = MutableSharedFlow<TaskBoardEvent>(replay = 0)
val events: SharedFlow<TaskBoardEvent> = _events
_uiState.update { state ->
state.copy(isLoading = false, tasks = refreshedTasks, errorMessage = null)
}
cd examples/orbittasks-compose && ./gradlew :app:testDebugUnitTestcd examples/orbittasks-xml && ./gradlew :app:testDebugUnitTestpython3 scripts/eval_triggers.py --skill android-state-management