kimi.md
.codex/skills/compose-kotlin-agent-skills/agents/kimi.md
1# Kimi (Moonshot) Setup23Works with Kimi CLI, Kimi Code, and IDE plugins that accept project instructions.45## Install67```bash8cd your-android-project9git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .kimi/skills/compose-kotlin-agent-skills10```1112## KIMI.md / Project Instructions1314Create `KIMI.md` in project root:1516```markdown17## Android/Kotlin Skill1819Read `.kimi/skills/compose-kotlin-agent-skills/SKILL.md` before any Kotlin or Compose change.20For deep topics, read matching `references/*.md` (architecture, Room, animations, etc.).21Follow WRONG/RIGHT patterns in skill — do not copy generic Android docs.22```2324## Kimi CLI2526```bash27kimi chat "Read .kimi/skills/compose-kotlin-agent-skills/SKILL.md then explain ViewModel + UiState pattern"28```2930## Verification3132Prompt: "用 compose-kotlin-agent-skills 说明 Jetpack Compose ViewModel 状态管理" or English equivalent.3334Should mention `StateFlow`, `collectAsStateWithLifecycle`, not `collectAsState` on Android.35