compose-kotlin-agent-skills

Community

Make AI agents write correct Kotlin/Compose code

Authorhaidrrrry
Version1.0.0
Installs0

System Documentation

What problem does it solve?

AI coding agents generate Kotlin and Jetpack Compose code that compiles but ships subtle production bugs: race conditions from naked state assignment, battery drain from incorrect Flow collection in composables, broken localization from hardcoded strings, and recomposition storms from missing list keys. This skill kit provides authoritative, CI-validated markdown instructions that agents read before writing code, enforcing 2026 Android toolchain standards and strict MVI guardrails.

Core Features & Use Cases

  • Strict MVI Guardrails: Enforces atomic state update patterns, sealed UiState/UiEvent/UiEffect classes, and explicitly bans GlobalScope, naked state assignment, and mutableStateListOf in ViewModels.
  • Banned Antipatterns Lookup: Master table of 25+ AI-hallucinated patterns with side-by-side WRONG/RIGHT fixes covering Compose, coroutines, Hilt, Room, Navigation 3, and performance.
  • Modular Sub-Skills: Three focused playbooks for architecture, Compose UI (with REVIEW MODE audits), and testing, loaded on demand based on task domain.
  • 20 Reference Modules: Deep dives on KMP/CMP, CameraX/ML Kit, Paging 3, DataStore, Gradle build logic, and release checklists with pinned 2026 dependency versions.
  • 27 Agent Install Guides: Setup instructions for Cursor, Claude Code, Codex, Copilot, Gemini, Windsurf, and 21 other coding agents.

Quick Start

Use compose-kotlin-agent-skills to structure a ViewModel with UiState for my Compose feature using atomic StateFlow updates and collectAsStateWithLifecycle.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: compose-kotlin-agent-skills
Download link: https://github.com/haidrrrry/compose-kotlin-agent-skills/archive/main.zip#compose-kotlin-agent-skills

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.