Yokan / rebuild
Course 1 8624561

cursor.md

.codex/skills/compose-kotlin-agent-skills/agents/cursor.md

documentation / design asset43 lines
1# Cursor Setup23## Option 1: As a Skill (Recommended)45Clone into your project's `.cursor/skills/` directory:67```bash8git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .cursor/skills/compose-kotlin-agent-skills9```1011Cursor auto-discovers skills from `.cursor/skills/*/SKILL.md`.1213## Option 2: As a Rule1415Create `.cursor/rules/android-kotlin.md`:1617```markdown18---19description: Android/Kotlin development with Jetpack Compose20globs: ["**/*.kt", "**/*.kts"]21alwaysApply: false22---2324You are a senior Android engineer. Follow the compose-kotlin-agent-skills for all Kotlin code.2526Read `.cursor/skills/compose-kotlin-agent-skills/SKILL.md` before writing any Kotlin.27When the task involves a specific topic (architecture, animations, Room, etc.),28read the matching reference file from `references/` as listed in SKILL.md.29```3031## Option 3: Global Install3233```bash34git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git ~/.cursor/skills/compose-kotlin-agent-skills35```3637Available across all Cursor projects.3839## Verification4041Open Cursor, start a chat, and ask: "How should I structure a ViewModel with UiState?"4243The agent should reference patterns from the skill — `MutableStateFlow`, `collectAsStateWithLifecycle`, `data class XxxUiState`.44

Search chapters, reference and source filenames.