General
PromptBeginner5 minmarkdown
<h1 align="center">
<a href="https://prompts.chat">
163
Cline (VS Code extension) uses `.clinerules` and optional rule files.
Loading actions...
<a href="https://prompts.chat">
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
risks
Cline (VS Code extension) uses .clinerules and optional rule files.
cd your-android-project
git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .cline/skills/compose-kotlin-agent-skills
Create or append .clinerules:
# Android/Kotlin — compose-kotlin-agent-skills
Before editing any `.kt` or `.kts` file:
1. Read `.cline/skills/compose-kotlin-agent-skills/SKILL.md`
2. If task matches a topic (Room, Hilt, Compose UI, etc.), read that `references/NN-*.md` file
3. Follow WRONG/RIGHT examples — prefer skill patterns over generic tutorials
Critical: collectAsStateWithLifecycle (not collectAsState), LazyColumn keys, Modifier order.
In Cline settings → Custom Rules → add path:
.cline/skills/compose-kotlin-agent-skills/SKILL.md
Task: "Add AuthViewModel with search filter using combine() per compose-kotlin-agent-skills."
Should use combine(repository.getAllAccounts(), _searchQuery).