android-kotlin
Android development with Kotlin, Jetpack Compose, Clean Architecture, and performance.
Skill by maroffo
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/maroffo-android-kotlin
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/android-kotlin
What's inside
- Skill name
android-kotlin- Description
- Android development with Kotlin, Jetpack Compose, Clean Architecture, and performance. Use when working with .kt files, build.gradle.kts, AndroidManifest.xml, or Compose UI.
- License
- MIT
- Compatibility
- Requires Android SDK, Gradle. Optional: ktlint.
- Instructions
- 132 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (6)
- SKILL.md
- compose-patterns.md · references/
- data-layer.md · references/
- kotlin-features.md · references/
- performance.md · references/
- testing-patterns.md · references/
SKILL.md (first lines)
# ABOUTME: Android/Kotlin, Compose, Clean Architecture, testing, performance
# ABOUTME: MVVM + DI conventions, state/side-effect patterns, review checklists
# Android/Kotlin
## Commands
```bash
./gradlew assembleDebug|assembleRelease|test|connectedAndroidTest|lint|ktlintFormat
./gradlew :feature:home:build # Module-specific
```
**See:** `_AST_GREP.md` (sg patterns) | `_PATTERNS.md` | `source-control`
---
## Version (determine, don't assume)
See `../_LANG_COMMON.md`. Fetch the truth:
```bash
./gradlew --version # Gradle + JVM
grep -E 'kotlin|agp|compose' gradle/libs.versions.toml # version catalog (preferred)
grep -E 'kotlin|android' build.gradle.kts # fallback
cat gradle.properties # AGP / Kotlin flags
curl -s https://api.github.com/repos/JetBrains/kotlin/releases/latest | jq -r .tag_name # latest Kotlin
curl -s https://api.github.com/repos/gradle/gradle/releases/latest | jq -r .tag_name # latest Gradle
```
---
## 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:
```bash
./gradlew ktlintCheck # formatting
./gradlew detekt # static analysis
./gradlew lint # Android lint
./gradlew test # unit tests (all variants)
./gradlew connectedAndroidTest # instrumented / e2e (device/emulator)
```
---
## Architecture
### Clean Architecture Structure
```
feature/
├── data/repository/, datasource/local/, datasource/remote/
├── domain/model/, repository/ (interface), usecase/
└── presentation/screen/, viewmodel/
```
### 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
- [ ] `remember` vs `rememberSaveable` correct
- [ ] Side effects use correct APIs
- [ ] Stable types for parameters
- [ ] `key` used 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 idioms
- `references/compose-patterns.md` - State, side effects, navigation, image loading
- `references/data-layer.md` - Retrofit, Ktor, Room, DataStore
- `references/testing-patterns.md` - Compose UI tests, ViewModel tests, snapshot tests (Paparazzi), TurbineFrom maroffo/claude-forge, MIT.
More from maroffo/claude-forge
- 0.634score
source-control
maroffo
Git conventions for commit messages and workflow.
SkillAFreshness: A★ 17Claude Code +9 - 0.606score
pr-review
maroffo
PR-level review that composes gemini-review, the orchestrator review fleet, and (when contested) second-opinion, reading each commit's intent before judging.
SkillBFreshness: B★ 17Claude Code +9 - 0.606score
plan-forge
maroffo
Turn a GitHub issue or an in-session analysis into a locked ExecPlan on disk plus a ready-to-paste implementation prompt and /goal line for a fresh session…
SkillBFreshness: B★ 17Claude Code +9 - 0.606score
harness-trace
maroffo
Execution trace capture and token baselining.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
apple-swift
maroffo
Apple platform development with Swift, SwiftUI, async/await, and performance.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
react-nextjs
maroffo
React + Next.js App Router development.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
ruby
maroffo
Ruby gem development with modern tooling, testing, and publishing.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
adr
maroffo
Write Architecture Decision Records following HikmaAI format.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
golang
maroffo
Go development: conventions, architecture, concurrency, performance, and code review.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
humanizer
maroffo
Rewrite text so it stops reading as AI-generated, keeping every fact: removes LLM tells such as inflated significance, promotional tone, AI vocabulary, forced…
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
python
maroffo
Python development with uv, type checking, linting, testing, and Docker deployment.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
rails
maroffo
Ruby on Rails with service-oriented architecture, Dry-validation, Sidekiq/Solid Queue, Hotwire.
SkillBFreshness: B★ 17Claude Code +9
Signals
- Stars
- 17
- Forks
- 1
- Open issues
- 6
- Last commit (this folder)
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/maroffo/claude-forge
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from maroffo
- 0.634score
source-control
maroffo
Git conventions for commit messages and workflow.
SkillAFreshness: A★ 17Claude Code +9 - 0.606score
pr-review
maroffo
PR-level review that composes gemini-review, the orchestrator review fleet, and (when contested) second-opinion, reading each commit's intent before judging.
SkillBFreshness: B★ 17Claude Code +9 - 0.606score
harness-trace
maroffo
Execution trace capture and token baselining.
SkillBFreshness: B★ 17Claude Code +9 - 0.606score
plan-forge
maroffo
Turn a GitHub issue or an in-session analysis into a locked ExecPlan on disk plus a ready-to-paste implementation prompt and /goal line for a fresh session…
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
apple-swift
maroffo
Apple platform development with Swift, SwiftUI, async/await, and performance.
SkillBFreshness: B★ 17Claude Code +9 - 0.602score
humanizer
maroffo
Rewrite text so it stops reading as AI-generated, keeping every fact: removes LLM tells such as inflated significance, promotional tone, AI vocabulary, forced…
SkillBFreshness: B★ 17Claude Code +9
Cite this page
android-kotlin skill. Agent Mart. https://agentmart.dev/skills/maroffo-android-kotlin (last updated 2026-10-24)