Expo UI
arcboxlabs/linkcode
Framework (OSS). An agent skill from arcboxlabs/linkcode.
Helps choose how common Kotlin Multiplatform code reaches platform APIs: expect/actual, a common interface with platform bindings, or separate platform screens.
$ npx skills add rcosteira79/android-skills --skill kmp-boundaries -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rcosteira79/android-skills kmp-boundaries --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/rcosteira79/android-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/android-skills/skills/kmp-boundaries .claude/skills/kmp-boundaries && 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 "kmp-boundaries" agent skill from https://github.com/rcosteira79/android-skills/tree/main/plugins/android-skills/skills/kmp-boundaries into .claude/skills/kmp-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kmp-boundaries", 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/rcosteira79/android-skills/tree/main/plugins/android-skills/skills/kmp-boundariesType 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 rcosteira79/android-skills --skill kmp-boundaries -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rcosteira79/android-skills kmp-boundaries --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rcosteira79/android-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/android-skills/skills/kmp-boundaries .agents/skills/kmp-boundaries && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "kmp-boundaries" agent skill from https://github.com/rcosteira79/android-skills/tree/main/plugins/android-skills/skills/kmp-boundaries into .agents/skills/kmp-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kmp-boundaries", 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 rcosteira79/android-skills --skill kmp-boundaries -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rcosteira79/android-skills kmp-boundaries --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rcosteira79/android-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/android-skills/skills/kmp-boundaries .cursor/skills/kmp-boundaries && 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 "kmp-boundaries" agent skill from https://github.com/rcosteira79/android-skills/tree/main/plugins/android-skills/skills/kmp-boundaries into .cursor/skills/kmp-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kmp-boundaries", 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/rcosteira79/android-skills.git --path plugins/android-skills/skills/kmp-boundaries--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 rcosteira79/android-skills --skill kmp-boundaries -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rcosteira79/android-skills kmp-boundaries --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rcosteira79/android-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/android-skills/skills/kmp-boundaries .gemini/skills/kmp-boundaries && 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 "kmp-boundaries" agent skill from https://github.com/rcosteira79/android-skills/tree/main/plugins/android-skills/skills/kmp-boundaries into .gemini/skills/kmp-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kmp-boundaries", 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 rcosteira79/android-skills kmp-boundariesInstalls 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 rcosteira79/android-skills --skill kmp-boundaries -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rcosteira79/android-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/android-skills/skills/kmp-boundaries .github/skills/kmp-boundaries && 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 "kmp-boundaries" agent skill from https://github.com/rcosteira79/android-skills/tree/main/plugins/android-skills/skills/kmp-boundaries into .github/skills/kmp-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kmp-boundaries", 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 rcosteira79/android-skills --skill kmp-boundaries -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rcosteira79/android-skills kmp-boundaries --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rcosteira79/android-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/android-skills/skills/kmp-boundaries .opencode/skills/kmp-boundaries && 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 "kmp-boundaries" agent skill from https://github.com/rcosteira79/android-skills/tree/main/plugins/android-skills/skills/kmp-boundaries into .opencode/skills/kmp-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kmp-boundaries", 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.
kmp-boundariesHelps choose how common Kotlin Multiplatform code reaches platform APIs: expect/actual, a common interface with platform bindings, or separate platform screens.
Five core rules shape every boundary. Keep commonMain semantic by describing what the product needs rather than Android or iOS mechanics, split by capability so Clipboard, ShareSheet, Haptics and Biometrics are separate interfaces and not one Platform object, keep actuals thin, prefer a common interface with per-platform bindings over expect class when you need fakes, DI, lifecycle or runtime selection, and add an intermediate source set such as appleMain or skikoMain only when two platforms truly share an actual.
The skill gives most detail to platform-UI bindings, which should be owned by an Activity rather than a Context: passing applicationContext and hiding the gap with a new-task intent flag is called a smell, and the binding should be built in an activity scope with Hilt or Koin. It also covers constraints for AGP 9 KMP libraries. A reference file, references/ios-interop.md, handles Kotlin to Swift naming, SKIE, sealed classes and SwiftUI embedding for the iOS side.
Read from SKILL.md and the folder at commit 0f9af5a. 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.
Links to these hosts (documentation or services it may open):
github.comFrom 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.
Kotlin Multiplatform Boundaries loads about 1.5k tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 129 tokens; SKILL.md has 554 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 rcosteira79/android-skills at commit 0f9af5a, republished under its MIT licence (© rcosteira79). 554 words, ~1,542 tokens.
.claude/skills/kmp-boundaries/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Core rules for any KMP boundary:
commonMain semantic — describe what the product needs, not Android/iOS mechanics: currentRegion(), never currentRegionFromAndroidLocale(context).Clipboard, ShareSheet, Haptics, Biometrics as separate interfaces, not one Platform god object.if/when inside an actual belongs in common, tested with a fake.interface + per-platform binding over expect class whenever you need fakes / DI / lifecycle / runtime selection.skikoMain, appleMain) only when two platforms genuinely share an actual.Two boundaries get the most detail below: the Activity-owned platform-UI boundary, and the AGP-9 KMP-library constraints.
Related: android-skills:kmp-ktor (network boundary), compose/references/multiplatform.md (Compose-MP mechanics), android-skills:kotlin-coroutines (scope ownership). For the iOS↔Swift bridge — Kotlin→Swift naming, type widths (Int is 32-bit), SKIE suspend→async / Flow→AsyncSequence, sealed-class exhaustiveness, SwiftUI embedding — load references/ios-interop.md when authoring the iOS-side actual.
The single most common Android boundary mistake: passing applicationContext / LocalContext.current into a binding that actually needs an Activity, then papering over the lifecycle gap with Intent.FLAG_ACTIVITY_NEW_TASK. That flag is a smell — it hides that this is a foreground-UI operation. Hold an Activity instead.
// commonMain — semantic interface; DOCUMENT what `suspend` means
interface ShareSheet {
/** Launches the system share sheet. Returns when the sheet is PRESENTED — not when the user
* completes or cancels. (Otherwise callers write incorrect retry/confirmation logic.) */
suspend fun shareText(text: String)
}
// androidMain — thin: build the intent and launch it. Activity-owned.
class AndroidShareSheet(private val activity: Activity) : ShareSheet {
override suspend fun shareText(text: String) {
activity.startActivity(Intent.createChooser(
Intent(Intent.ACTION_SEND).setType("text/plain").putExtra(Intent.EXTRA_TEXT, text), null,
))
}
}You don't app-wide-inject an Activity (it's framework-created and lifecycle-bound) — construct the binding in an activity scope in the Android app module (Hilt @InstallIn(ActivityComponent::class), where Activity is a default binding; Koin scoped). commonMain only ever sees the interface; the Activity never leaves the app module. If a longer-lived (app-scoped) object needs it, hold it behind a lifecycle-aware provider (set in onResume, cleared in onPause) so a destroyed Activity can't leak.
AGP 9 replaces com.android.library with com.android.kotlin.multiplatform.library for the Android side of a KMP module, and rejects com.android.application + kotlin.multiplatform outright. The new plugin enforces a single-variant architecture:
BuildConfig is unavailable — compile-time constants come from BuildKonfig or an injected AppConfiguration interface. Don't design commonMain APIs that assume BuildConfig.X exists.com.android.library module, wrapped behind a common interface the KMP module consumes.androidResources { enable = true } inside kotlin { android { … } }, or Res.string.* / Res.drawable.* crash at runtime on Android (the build still succeeds — easy to miss).consumerProguardFiles("rules.pro") from the old android {} block is silently dropped; use consumerProguardFiles.add(file("rules.pro")) in the new DSL.com.android.application — the Android entry point (MainActivity, Application class, launcher manifest, applicationId / targetSdk / versionCode / versionName) moves to a separate androidApp module that depends on the shared library. MainActivity, app-level Hilt setup, and nav-host wiring all move out of the shared androidMain.com.android.legacy-kapt for processors with no KSP equivalent.| Concern | Pre-AGP-9 (monolithic) | AGP 9 KMP library |
|---|---|---|
MainActivity, Application class, launcher manifest | androidMain of shared module | Separate androidApp module |
applicationId, versionCode, targetSdk | Shared module's android {} | androidApp only |
| Compile-time constants (env, flags) | BuildConfig field | BuildKonfig in common, or runtime DI |
| NDK / JNI native code | androidMain (any module) | Separate com.android.library, behind a common interface |
For migrating an existing project, see JetBrains' kotlin-tooling-agp9-migration skill for the full mechanics.
© rcosteira79, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in plugins/android-skills/skills/kmp-boundaries of rcosteira79/android-skills.
Open the folder on GitHubat commit 0f9af5a
Kotlin Multiplatform Boundaries 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 |
|---|---|---|---|---|---|---|
| Kotlin Multiplatform Boundaries this skillrcosteira79/android-skills | 153 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Expo UIarcboxlabs/linkcode | 155 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Ksafeioannisa/KSafe | 338 | — | ~17k | Automated safety check: Pass | Apache-2.0 | |
| KtormonitorCosminMihuMDC/KtorMonitor | 254 | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| SimdeckNativeScript/SimDeck | 153 | — | ~3.6k | Automated safety check: Pass | MIT | |
| Expo Brownfieldexpo/skills | 2.7k | — | ~1.4k | Automated safety check: Pass | MIT |
arcboxlabs/linkcode
Framework (OSS). An agent skill from arcboxlabs/linkcode.
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.
NativeScript/SimDeck
A skill your agent uses for simulator lifecycle, app install/launch, live viewing, UI inspection, touch/keyboard automation, screenshots, recordings, logs, pasteboard, hardware controls, and…
expo/skills
Integrate Expo and React Native into an existing native iOS or Android app.
sickn33/agentic-awesome-skills
Build native UI with the @expo/ui package: real SwiftUI on iOS and Jetpack Compose on Android rendered from React in an Expo or React Native app.
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.
rcosteira79/android-skills
Sets out the repository pattern's error-propagation model for Android and Kotlin Multiplatform, plus the Room setup for commonMain.
rcosteira79/android-skills
Android and KMP debugging techniques for crashes, ANRs, memory leaks, R8 traces, Gradle failures and Compose recomposition, built on finding the root cause first.
rcosteira79/android-skills
Sets house defaults for Android and Kotlin Multiplatform work and routes to the right specialized skill for Compose, networking, testing or build tooling.
rcosteira79/android-skills
Sets up Android Gradle convention plugins in a build-logic composite build, including the version catalog wiring and shared configuration that are easy to get wrong.
rcosteira79/android-skills
A skill your agent uses when setting up or working with Retrofit in Android — service interface definitions, coroutines integration, OkHttp configuration, Hilt module setup, and error handling in…
Works with
Categories
Helps choose how common Kotlin Multiplatform code reaches platform APIs: expect/actual, a common interface with platform bindings, or separate platform screens. Five core rules shape every boundary. Keep commonMain semantic by describing what the product needs rather than Android or iOS mechanics, split by capability so Clipboard, ShareSheet, Haptics and Biometrics are separate interfaces and not one Platform object, keep actuals thin, prefer a common interface with per-platform bindings over expect class when you need fakes, DI, lifecycle or runtime selection, and add an intermediate source set such as appleMain or skikoMain only when two platforms truly share an actual.
Kotlin Multiplatform Boundaries fits situations like: deciding between expect/actual and a common interface for a platform service; designing capability interfaces for clipboard, share, haptics or biometrics; structuring source sets such as appleMain and skikoMain; wiring Android activity-bound features into shared Kotlin code.
Run `npx skills add rcosteira79/android-skills --skill kmp-boundaries -a claude-code`. Or copy the skill folder (plugins/android-skills/skills/kmp-boundaries in rcosteira79/android-skills) into .claude/skills/kmp-boundaries in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rcosteira79/android-skills --skill kmp-boundaries -a codex`. Or copy the skill folder (plugins/android-skills/skills/kmp-boundaries in rcosteira79/android-skills) into .agents/skills/kmp-boundaries 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 rcosteira79/android-skills --skill kmp-boundaries -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kmp-boundaries, .gemini/skills/kmp-boundaries, .github/skills/kmp-boundaries and .opencode/skills/kmp-boundaries in your project.
SKILL.md names no scripts, command-line tools or credentials: Kotlin Multiplatform Boundaries is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: github.com. 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.
Kotlin Multiplatform Boundaries is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Kotlin Multiplatform Boundaries: Expo UI (arcboxlabs/linkcode, 155 stars), Ksafe (ioannisa/KSafe, 338 stars), Ktormonitor (CosminMihuMDC/KtorMonitor, 254 stars) and Simdeck (NativeScript/SimDeck, 153 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rcosteira79 (a GitHub user) maintains it in rcosteira79/android-skills, which has 153 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on September 19, 2026.
Source: rcosteira79/android-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.