Jetpack Compose and Multiplatform Expert
rcosteira79/android-skills
Guides writing correct, performant Compose and Compose Multiplatform UI across Android, desktop, iOS and web, from state and animation to design-to-code and crash fixes.
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
$ npx skills add monta-app/ocpp-emulator --skill compose-multiplatform-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install monta-app/ocpp-emulator compose-multiplatform-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/monta-app/ocpp-emulator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/compose-multiplatform-patterns .claude/skills/compose-multiplatform-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "compose-multiplatform-patterns" agent skill from https://github.com/monta-app/ocpp-emulator/tree/main/.agents/skills/compose-multiplatform-patterns into .claude/skills/compose-multiplatform-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compose-multiplatform-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/monta-app/ocpp-emulator/tree/main/.agents/skills/compose-multiplatform-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add monta-app/ocpp-emulator --skill compose-multiplatform-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install monta-app/ocpp-emulator compose-multiplatform-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/monta-app/ocpp-emulator.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/compose-multiplatform-patterns .agents/skills/compose-multiplatform-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "compose-multiplatform-patterns" agent skill from https://github.com/monta-app/ocpp-emulator/tree/main/.agents/skills/compose-multiplatform-patterns into .agents/skills/compose-multiplatform-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compose-multiplatform-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add monta-app/ocpp-emulator --skill compose-multiplatform-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install monta-app/ocpp-emulator compose-multiplatform-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/monta-app/ocpp-emulator.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/compose-multiplatform-patterns .cursor/skills/compose-multiplatform-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "compose-multiplatform-patterns" agent skill from https://github.com/monta-app/ocpp-emulator/tree/main/.agents/skills/compose-multiplatform-patterns into .cursor/skills/compose-multiplatform-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compose-multiplatform-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/monta-app/ocpp-emulator.git --path .agents/skills/compose-multiplatform-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add monta-app/ocpp-emulator --skill compose-multiplatform-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install monta-app/ocpp-emulator compose-multiplatform-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/monta-app/ocpp-emulator.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/compose-multiplatform-patterns .gemini/skills/compose-multiplatform-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "compose-multiplatform-patterns" agent skill from https://github.com/monta-app/ocpp-emulator/tree/main/.agents/skills/compose-multiplatform-patterns into .gemini/skills/compose-multiplatform-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compose-multiplatform-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install monta-app/ocpp-emulator compose-multiplatform-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add monta-app/ocpp-emulator --skill compose-multiplatform-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/monta-app/ocpp-emulator.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/compose-multiplatform-patterns .github/skills/compose-multiplatform-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "compose-multiplatform-patterns" agent skill from https://github.com/monta-app/ocpp-emulator/tree/main/.agents/skills/compose-multiplatform-patterns into .github/skills/compose-multiplatform-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compose-multiplatform-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add monta-app/ocpp-emulator --skill compose-multiplatform-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install monta-app/ocpp-emulator compose-multiplatform-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/monta-app/ocpp-emulator.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/compose-multiplatform-patterns .opencode/skills/compose-multiplatform-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "compose-multiplatform-patterns" agent skill from https://github.com/monta-app/ocpp-emulator/tree/main/.agents/skills/compose-multiplatform-patterns into .opencode/skills/compose-multiplatform-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "compose-multiplatform-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
compose-multiplatform-patternsCompose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
Compose Multiplatform Patterns is an agent skill from monta-app/ocpp-emulator. Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering Android development, Theming and dark mode and State management. It works with Jetpack Compose, Kotlin, JetBrains IDEs and Android. The repository describes itself as: An open source OCPP Charge Point Emulator built using Kotlin Multiplatform and Jetbrains Compose. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 3f9837e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are kotlin).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Compose Multiplatform Patterns loads about 2k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 272 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from monta-app/ocpp-emulator at commit 3f9837e, republished under its Apache-2.0 licence (© monta-app). 272 words, ~2,028 tokens.
.claude/skills/compose-multiplatform-patterns/SKILL.md (or your agent's skills folder).Patterns for building shared UI across Android, iOS, Desktop, and Web using Compose Multiplatform and Jetpack Compose. Covers state management, navigation, theming, and performance.
Use a single data class for screen state. Expose it as StateFlow and collect in Compose:
data class ItemListState(
val items: List<Item> = emptyList(),
val isLoading: Boolean = false,
val error: String? = null,
val searchQuery: String = ""
)
class ItemListViewModel(
private val getItems: GetItemsUseCase
) : ViewModel() {
private val _state = MutableStateFlow(ItemListState())
val state: StateFlow<ItemListState> = _state.asStateFlow()
fun onSearch(query: String) {
_state.update { it.copy(searchQuery = query) }
loadItems(query)
}
private fun loadItems(query: String) {
viewModelScope.launch {
_state.update { it.copy(isLoading = true) }
getItems(query).fold(
onSuccess = { items -> _state.update { it.copy(items = items, isLoading = false) } },
onFailure = { e -> _state.update { it.copy(error = e.message, isLoading = false) } }
)
}
}
}@Composable
fun ItemListScreen(viewModel: ItemListViewModel = koinViewModel()) {
val state by viewModel.state.collectAsStateWithLifecycle()
ItemListContent(
state = state,
onSearch = viewModel::onSearch
)
}
@Composable
private fun ItemListContent(
state: ItemListState,
onSearch: (String) -> Unit
) {
// Stateless composable — easy to preview and test
}For complex screens, use a sealed interface for events instead of multiple callback lambdas:
sealed interface ItemListEvent {
data class Search(val query: String) : ItemListEvent
data class Delete(val itemId: String) : ItemListEvent
data object Refresh : ItemListEvent
}
// In ViewModel
fun onEvent(event: ItemListEvent) {
when (event) {
is ItemListEvent.Search -> onSearch(event.query)
is ItemListEvent.Delete -> deleteItem(event.itemId)
is ItemListEvent.Refresh -> loadItems(_state.value.searchQuery)
}
}
// In Composable — single lambda instead of many
ItemListContent(
state = state,
onEvent = viewModel::onEvent
)Define routes as @Serializable objects:
@Serializable data object HomeRoute
@Serializable data class DetailRoute(val id: String)
@Serializable data object SettingsRoute
@Composable
fun AppNavHost(navController: NavHostController = rememberNavController()) {
NavHost(navController, startDestination = HomeRoute) {
composable<HomeRoute> {
HomeScreen(onNavigateToDetail = { id -> navController.navigate(DetailRoute(id)) })
}
composable<DetailRoute> { backStackEntry ->
val route = backStackEntry.toRoute<DetailRoute>()
DetailScreen(id = route.id)
}
composable<SettingsRoute> { SettingsScreen() }
}
}Use dialog() and overlay patterns instead of imperative show/hide:
NavHost(navController, startDestination = HomeRoute) {
composable<HomeRoute> { /* ... */ }
dialog<ConfirmDeleteRoute> { backStackEntry ->
val route = backStackEntry.toRoute<ConfirmDeleteRoute>()
ConfirmDeleteDialog(
itemId = route.itemId,
onConfirm = { navController.popBackStack() },
onDismiss = { navController.popBackStack() }
)
}
}Design composables with slot parameters for flexibility:
@Composable
fun AppCard(
modifier: Modifier = Modifier,
header: @Composable () -> Unit = {},
content: @Composable ColumnScope.() -> Unit,
actions: @Composable RowScope.() -> Unit = {}
) {
Card(modifier = modifier) {
Column {
header()
Column(content = content)
Row(horizontalArrangement = Arrangement.End, content = actions)
}
}
}Modifier order matters — apply in this sequence:
Text(
text = "Hello",
modifier = Modifier
.padding(16.dp) // 1. Layout (padding, size)
.clip(RoundedCornerShape(8.dp)) // 2. Shape
.background(Color.White) // 3. Drawing (background, border)
.clickable { } // 4. Interaction
)// commonMain
@Composable
expect fun PlatformStatusBar(darkIcons: Boolean)
// androidMain
@Composable
actual fun PlatformStatusBar(darkIcons: Boolean) {
val systemUiController = rememberSystemUiController()
SideEffect { systemUiController.setStatusBarColor(Color.Transparent, darkIcons) }
}
// iosMain
@Composable
actual fun PlatformStatusBar(darkIcons: Boolean) {
// iOS handles this via UIKit interop or Info.plist
}Mark classes as @Stable or @Immutable when all properties are stable:
@Immutable
data class ItemUiModel(
val id: String,
val title: String,
val description: String,
val progress: Float
)key() and Lazy Lists CorrectlyLazyColumn {
items(
items = items,
key = { it.id } // Stable keys enable item reuse and animations
) { item ->
ItemRow(item = item)
}
}derivedStateOfval listState = rememberLazyListState()
val showScrollToTop by remember {
derivedStateOf { listState.firstVisibleItemIndex > 5 }
}// BAD — new lambda and list every recomposition
items.filter { it.isActive }.forEach { ActiveItem(it, onClick = { handle(it) }) }
// GOOD — key each item so callbacks stay attached to the right row
val activeItems = remember(items) { items.filter { it.isActive } }
activeItems.forEach { item ->
key(item.id) {
ActiveItem(item, onClick = { handle(item) })
}
}@Composable
fun AppTheme(
darkTheme: Boolean = isSystemInDarkTheme(),
dynamicColor: Boolean = true,
content: @Composable () -> Unit
) {
val colorScheme = when {
dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {
if (darkTheme) dynamicDarkColorScheme(LocalContext.current)
else dynamicLightColorScheme(LocalContext.current)
}
darkTheme -> darkColorScheme()
else -> lightColorScheme()
}
MaterialTheme(colorScheme = colorScheme, content = content)
}mutableStateOf in ViewModels when MutableStateFlow with collectAsStateWithLifecycle is safer for lifecycleNavController deep into composables — pass lambda callbacks instead@Composable functions — move to ViewModel or remember {}LaunchedEffect(Unit) as a substitute for ViewModel init — it re-runs on configuration change in some setupsSee skill: android-clean-architecture for module structure and layering.
See skill: kotlin-coroutines-flows for coroutine and Flow patterns.
© monta-app, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/compose-multiplatform-patterns of monta-app/ocpp-emulator.
Open the folder on GitHubat commit 3f9837e
We found 11 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in monta-app/ocpp-emulator, which our catalogue first saw on October 7, 2026.
Compose Multiplatform Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Compose Multiplatform Patterns this skillmonta-app/ocpp-emulator | 179 | 5 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Jetpack Compose and Multiplatform Expertrcosteira79/android-skills | 150 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Jetpack Compose Expertaldefy/compose-skill | 596 | — | ~4.8k | Automated safety check: Pass | Custom licence | |
| Material 3hamen/material-3-skill | 1.5k | 2 repos | ~7.8k | Automated safety check: Pass | MIT | |
| Claude Android NinjaDrjacky/claude-android-ninja | 124 | — | ~5.2k | Automated safety check: Pass | Apache-2.0 | |
| Ksafeioannisa/KSafe | 332 | — | ~17k | Automated safety check: Pass | Apache-2.0 |
rcosteira79/android-skills
Guides writing correct, performant Compose and Compose Multiplatform UI across Android, desktop, iOS and web, from state and animation to design-to-code and crash fixes.
aldefy/compose-skill
Guides Jetpack Compose and Compose Multiplatform work across Android, Desktop, iOS and web, plus Android TV, Material 3 motion, paging, navigation and design-to-code.
hamen/material-3-skill
Implement Google's Material Design 3 (Material You) UI system.
Drjacky/claude-android-ninja
Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.
ioannisa/KSafe
Required before any reply that touches KSafe (by ksafe(...), ksafe.get/put, :ksafe-compose, :ksafe-biometrics), even a 'can KSafe do X?' question or a one-line change that looks like plain Kotlin.
CosminMihuMDC/KtorMonitor
KtorMonitor is a Kotlin Multiplatform library for real-time HTTP traffic monitoring.
Categories
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI. Compose Multiplatform Patterns is an agent skill from monta-app/ocpp-emulator. Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
Compose Multiplatform Patterns fits situations like: tasks that involve Android development; tasks that involve Theming and dark mode; tasks that involve State management.
Run `npx skills add monta-app/ocpp-emulator --skill compose-multiplatform-patterns -a claude-code`. Or copy the skill folder (.agents/skills/compose-multiplatform-patterns in monta-app/ocpp-emulator) into .claude/skills/compose-multiplatform-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add monta-app/ocpp-emulator --skill compose-multiplatform-patterns -a codex`. Or copy the skill folder (.agents/skills/compose-multiplatform-patterns in monta-app/ocpp-emulator) into .agents/skills/compose-multiplatform-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add monta-app/ocpp-emulator --skill compose-multiplatform-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compose-multiplatform-patterns, .gemini/skills/compose-multiplatform-patterns, .github/skills/compose-multiplatform-patterns and .opencode/skills/compose-multiplatform-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Compose Multiplatform Patterns is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Compose Multiplatform Patterns is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Compose Multiplatform Patterns: Jetpack Compose and Multiplatform Expert (rcosteira79/android-skills, 150 stars), Jetpack Compose Expert (aldefy/compose-skill, 596 stars), Material 3 (hamen/material-3-skill, 1.5k stars) and Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
monta-app (a GitHub organization) maintains it in monta-app/ocpp-emulator, which has 179 GitHub stars. The repository was last updated on October 1, 2026.
Source: monta-app/ocpp-emulator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.