cline.md
.codex/skills/compose-kotlin-agent-skills/agents/cline.md
1# Cline Setup23Cline (VS Code extension) uses `.clinerules` and optional rule files.45## Install67```bash8cd your-android-project9git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .cline/skills/compose-kotlin-agent-skills10```1112## .clinerules1314Create or append `.clinerules`:1516```markdown17# Android/Kotlin — compose-kotlin-agent-skills1819Before editing any `.kt` or `.kts` file:201. Read `.cline/skills/compose-kotlin-agent-skills/SKILL.md`212. If task matches a topic (Room, Hilt, Compose UI, etc.), read that `references/NN-*.md` file223. Follow WRONG/RIGHT examples — prefer skill patterns over generic tutorials2324Critical: collectAsStateWithLifecycle (not collectAsState), LazyColumn keys, Modifier order.25```2627## Cline Rule File (alternative)2829In Cline settings → Custom Rules → add path:30`.cline/skills/compose-kotlin-agent-skills/SKILL.md`3132## Verification3334Task: "Add AuthViewModel with search filter using combine() per compose-kotlin-agent-skills."3536Should use `combine(repository.getAllAccounts(), _searchQuery)`.37