maroffo/claude-forge/android-kotlin
Claude Code and agent skill by maroffo/claude-forge
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Android development with Kotlin, Jetpack Compose, Clean Architecture, and performance. Use when working with .kt files, build.gradle.kts, AndroidManifest.xml, or Compose UI.
Install
npx vskill@latest install maroffo/claude-forge/android-kotlinSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as maroffo/claude-forge/android-kotlin.
ABOUTME: Android/Kotlin, Compose, Clean Architecture, testing, performance
ABOUTME: MVVM + DI conventions, state/side-effect patterns, review checklists
Android/Kotlin
Commands
See: _AST_GREP.md (sg patterns) | _PATTERNS.md | source-control
Version (determine, don't assume)
See ../_LANG_COMMON.md. Fetch the truth:
Pre-Commit Verification (MANDATORY)
make check && make test-e2e must pass (enforced by the pre-commit-gate hook; see ../_LANG_COMMON.md). What make check expands to for Android:
Architecture
Clean Architecture Structure
Use Cases and ViewModels
Use cases: single responsibility, orchestration here (NOT in ViewModel). ViewModels expose immutable StateFlow UI state and one-time events via Channel/SharedFlow (never StateFlow).
Dependency Injection
| Aspect | Hilt | Koin | |
|---|---|---|---|
| Type | Compile-time | Runtime | |
| Build time | Slower | Faster | |
| Error detection | Compile | Runtime | |
| KMP support | No | Yes | |
| Best for | Large/enterprise | Small-medium/KMP |
Hilt: @HiltAndroidApp, @AndroidEntryPoint, @HiltViewModel, @Inject constructor Koin: module { }, single, factory, viewModelOf, koinViewModel()
See references/compose-patterns.md for setup examples.
Compose Essentials
Side effects: LaunchedEffect(key), DisposableEffect. Collect flows with collectAsStateWithLifecycle() (not collectAsState).
Type-safe navigation: @Serializable routes.
See references/compose-patterns.md for detailed examples.
Code Review Checklists
Architecture
- [ ] VMs don't chain use cases (orchestration in domain)
- [ ] VMs don't call repositories directly
- [ ] Use cases have single responsibility
- [ ] State immutable (use
copy()) - [ ] Side effects use Channel/SharedFlow (not StateFlow)
Compose
- [ ] State hoisted appropriately
- [ ]
remembervsrememberSaveablecorrect - [ ] Side effects use correct APIs
- [ ] Stable types for parameters
- [ ]
keyused in LazyColumn/LazyRow
Red Flags
| Critical | High | |
|---|---|---|
| Network/DB on main thread | Use case chaining in VM | |
| StateFlow for one-time events | Mutable state exposed from VM | |
| Hardcoded strings in UI | Missing key in LazyColumn | |
| Missing error handling | collectAsState vs collectAsStateWithLifecycle | |
| R8 disabled in release |
Detailed References
references/kotlin-features.md- Kotlin language features and idiomsreferences/compose-patterns.md- State, side effects, navigation, image loadingreferences/data-layer.md- Retrofit, Ktor, Room, DataStorereferences/testing-patterns.md- Compose UI tests, ViewModel tests, snapshot tests (Paparazzi), Turbinereferences/performance.md- R8, Baseline Profiles, Compose optimization
Resources
Official: android.com/kotlin | compose | architecture | type-safe nav | baseline profiles
Libraries: Coil | Koin | Hilt | Retrofit | Ktor | Room
Testing: Compose testing | Paparazzi | Turbine
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/android-kotlin/SKILL.md
Popularity
- Repository stars
- 17
- Repository forks
- 1
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 27 Mar 2026, 8 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/maroffo/claude-forge/android-kotlin)