Yokan / rebuild
Course 1 8624561

_shared-snippet.md

.codex/skills/compose-kotlin-agent-skills/agents/_shared-snippet.md

documentation / design asset25 lines
1# Shared Instruction Snippet23Paste this block into any agent's project instructions file (`AGENTS.md`, `CLAUDE.md`, rules file, etc.):45```markdown6## Android/Kotlin Skill (compose-kotlin-agent-skills)78For all Kotlin, Jetpack Compose, and Android work:9101. Read `SKILL.md` in the compose-kotlin-agent-skills folder before writing code.112. Load the matching file from `references/` for the topic (see routing table in SKILL.md).123. Apply mandatory defaults: string resources (no hardcoded UI text), ViewModel-owned state,13   `collectAsStateWithLifecycle`, LazyColumn keys, correct Modifier order.1415Repo: https://github.com/haidrrrry/compose-kotlin-agent-skills16```1718**Verification prompt (all agents):**1920```21How should I structure a ViewModel with UiState for Jetpack Compose?22Use compose-kotlin-agent-skills patterns.23```2425Expected: `MutableStateFlow`, `data class XxxUiState`, `collectAsStateWithLifecycle`, container/content composable split.26

Search chapters, reference and source filenames.