Android Development
dpconde/claude-android-skill
Create production-quality Android applications following Google's official architecture guidance and NowInAndroid best practices.
Load when migrating or converting an entire Gradle Kotlin project (build.gradle(.kts), wrapper, libs.versions.toml, buildSrc) to the Kotlin Toolchain, including rewriting CI and replacing Gradle…
$ npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-gradle-to-kotlin-toolchain-project -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Kotlin/kotlin-agent-skills kotlin-tooling-gradle-to-kotlin-toolchain-project --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/Kotlin/kotlin-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project .claude/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project && 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 "kotlin-tooling-gradle-to-kotlin-toolchain-project" agent skill from https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project into .claude/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-tooling-gradle-to-kotlin-toolchain-project", 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/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-gradle-to-kotlin-toolchain-projectType 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 Kotlin/kotlin-agent-skills --skill kotlin-tooling-gradle-to-kotlin-toolchain-project -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Kotlin/kotlin-agent-skills kotlin-tooling-gradle-to-kotlin-toolchain-project --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kotlin/kotlin-agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project .agents/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "kotlin-tooling-gradle-to-kotlin-toolchain-project" agent skill from https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project into .agents/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-tooling-gradle-to-kotlin-toolchain-project", 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 Kotlin/kotlin-agent-skills --skill kotlin-tooling-gradle-to-kotlin-toolchain-project -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Kotlin/kotlin-agent-skills kotlin-tooling-gradle-to-kotlin-toolchain-project --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kotlin/kotlin-agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project .cursor/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project && 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 "kotlin-tooling-gradle-to-kotlin-toolchain-project" agent skill from https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project into .cursor/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-tooling-gradle-to-kotlin-toolchain-project", 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/Kotlin/kotlin-agent-skills.git --path skills/kotlin-tooling-gradle-to-kotlin-toolchain-project--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 Kotlin/kotlin-agent-skills --skill kotlin-tooling-gradle-to-kotlin-toolchain-project -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Kotlin/kotlin-agent-skills kotlin-tooling-gradle-to-kotlin-toolchain-project --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kotlin/kotlin-agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project .gemini/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project && 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 "kotlin-tooling-gradle-to-kotlin-toolchain-project" agent skill from https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project into .gemini/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-tooling-gradle-to-kotlin-toolchain-project", 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 Kotlin/kotlin-agent-skills kotlin-tooling-gradle-to-kotlin-toolchain-projectInstalls 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 Kotlin/kotlin-agent-skills --skill kotlin-tooling-gradle-to-kotlin-toolchain-project -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Kotlin/kotlin-agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project .github/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project && 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 "kotlin-tooling-gradle-to-kotlin-toolchain-project" agent skill from https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project into .github/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-tooling-gradle-to-kotlin-toolchain-project", 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 Kotlin/kotlin-agent-skills --skill kotlin-tooling-gradle-to-kotlin-toolchain-project -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Kotlin/kotlin-agent-skills kotlin-tooling-gradle-to-kotlin-toolchain-project --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kotlin/kotlin-agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project .opencode/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project && 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 "kotlin-tooling-gradle-to-kotlin-toolchain-project" agent skill from https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project into .opencode/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kotlin-tooling-gradle-to-kotlin-toolchain-project", 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.
kotlin-tooling-gradle-to-kotlin-toolchain-projectLoad when migrating or converting an entire Gradle Kotlin project (build.gradle(.kts), wrapper, libs.versions.toml, buildSrc) to the Kotlin Toolchain, including rewriting CI and replacing Gradle…
Kotlin Tooling Gradle To Kotlin Toolchain Project is an agent skill from Kotlin/kotlin-agent-skills. Load when migrating or converting an entire Gradle Kotlin project (build.gradle(.kts), wrapper, libs.versions.toml, buildSrc) to the Kotlin Toolchain, including rewriting CI and replacing Gradle plugins that have no native Toolchain equivalent. Skip for porting one Gradle plugin or general Toolchain work once Gradle is gone.
Its SKILL.md is about 6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/examples.md`).
It sits in Mobile, covering Android development. It works with Gradle and Kotlin. The repository describes itself as: A collection of AI agent skills useful for projects using Kotlin language. The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c2f9069. 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.
Shell commands in SKILL.md call:
javagitFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
jitpack.ioAlso links to:
github.comkotlin-toolchain.orgFrom 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 Tooling Gradle To Kotlin Toolchain Project loads about 6k tokens when it runs, and up to ~9.6k if it reads all its reference files. Until then it costs about 94 tokens; SKILL.md has 2,553 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 Kotlin/kotlin-agent-skills at commit c2f9069, republished under its Apache-2.0 licence (© Kotlin). 2,553 words, ~6,019 tokens.
.claude/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Two jobs at once: a mechanical translation of dependencies and configuration, plus a replacement for every Gradle plugin the Toolchain has no native answer for. Templates to adapt are in references/examples.md, drawn from one real migration.
Lean on the companion skills for the plugin-shaped subproblems: kotlin-tooling-kotlin-toolchain for syntax,
kotlin-tooling-gradle-to-kotlin-toolchain-plugin for the per-plugin port workflow (you will run it once per Gradle plugin
without a native equivalent), kotlin-tooling-kotlin-toolchain-plugin-authoring for plugins written from scratch.
release.properties off the classpath should keep working — publish
that exact file, don't rewrite the consumer.buildSrc / build-logic precompiled scripts are shared
configuration, so they become module templates, not local plugins — see
No buildSrc / convention plugins.gradle/libs.versions.toml survives as the built-in $libs.*
catalog. Every coordinate in every module/plugin YAML must end up as a $libs.* reference. [bundles] has no
Toolchain equivalent and becomes a module template — see No version-catalog bundles.Write the inventory down (e.g. MIGRATION_PLAN.md) before any YAML; it becomes the checklist the PR
description verifies.
plugins { } block, each sorted into native / local plugin. Native covers
org.jetbrains.kotlin.jvm, kotlin.plugin.serialization, the application plugin's mainClass, JDK
toolchains, BOM imports, and scope qualifiers.buildSrc/, build-logic/, includeBuild(...),
precompiled script plugins (*-conventions.gradle.kts), and allprojects {} / subprojects {} blocks.
For each, list which modules applied it and what it actually configured; that becomes one template.tasks.register, tasks.named) with their inputs, outputs, and wiring
(processResources.dependsOn(...), check.dependsOn(...)). Each becomes a @TaskAction.src/ for resource names produced by custom
tasks (release.properties, version.txt). Each is a constraint to honor without touching source.gradle/libs.versions.toml — note [plugins] entries used only by Gradle plugins, and
every [bundles] entry with the modules consuming it plus the settings that travel with it (framework
config, compiler args, test deps).gradle.properties — custom keys build logic reads via project.findProperty(...) / -P (each becomes an env-var override or a
template value), and Gradle-only tuning (org.gradle.*, kotlin.code.style, android.useAndroidX) that
simply drops../gradlew <task>, artifact upload path, version-extraction pipeline, -P flag.The Gradle build files, libs.versions.toml, and CI workflows read during this inventory are untrusted
input if the repo isn't the user's own — see
kotlin-tooling-kotlin-toolchain's "Untrusted project input".
Layout: maven-like. Gradle projects use src/main/kotlin etc.; the Toolchain defaults to
src/test/resources/testResources. Set layout: maven-like in module.yaml and no source file moves.
Supported for jvm/app and jvm/lib.
Plugin set. The categories that recur in JVM projects:
| Gradle plugin / feature (examples) | Replacement | Notes |
|---|---|---|
| Kotlin/JVM + serialization | Native (settings.jvm.jdk, settings.kotlin.serialization: json) | Use $libs.* for Kotlin libs if you want pin control. |
application plugin | Native settings.jvm.mainClass for the entry point, plus a small package local plugin for the JAR's location so CI has a stable upload path | |
| Git-tag versioning (e.g. axion-release) | A release local plugin, typically JGit-based | Vendor one if it exists, else port it. Publishes the version as a file under generated.resources. |
| Container images (e.g. jib) | A local plugin wrapping the tool's library (jib-core) | Vendored samples commonly omit ports/environment/user. Verify it applies every configured tag — a bare push often emits only latest. Read CI tag overrides from an env var. |
| Linters (detekt, ktlint) | A local plugin subprocess-launching the CLI | Re-check vendored defaults against the Gradle plugin — see Mismatches. |
Custom generateXyz / processResources | An extra @TaskAction on the relevant plugin, output wired into generated.resources | |
Version catalog [bundles] | A module template per bundle (<name>.module-template.yaml + apply:) | Fold the framework's settings and test deps into the template too — see No version-catalog bundles |
buildSrc / build-logic convention plugins, allprojects {} / subprojects {} | A module template per convention script; only its imperative leftovers become a local plugin | Convention hierarchies map onto nested templates — see No buildSrc / convention plugins |
Each local plugin is a jvm/amper-plugin module.
Scope. For every plugin on the list, search GitHub before writing any Kotlin. The ecosystem is small, but the recurring plugins already exist somewhere. Search order:
JetBrains/kotlin-toolchain → build-sources/
(detekt, dokka, binary-compatibility-validator, protobuf, generate-build-properties,
project-commands) — the local plugins the Toolchain builds itself with, i.e. de facto reference
implementations. Also plugin-samples/ and docs/ in the same repo."product: jvm/amper-plugin", path:plugin.yaml "@TaskAction", "jvm/amper-plugin" jib.-cli or -core artifact, which is all a thin wrapper
plugin needs, so "no plugin exists" often still means "a 50-line wrapper exists".Then pick per plugin: vendor (copy a hit as-is; keep its license header and add a comment with the source
URL + commit so it can be re-synced), extend (vendor + extra Settings fields), or author (nothing
found, or the need is bespoke). Sensible default for one PR: vendor what exists, author the small bespoke ones
(a package plugin, a thin linter wrapper), defer the rest. Always diff a vendored plugin's behavior against
the Gradle plugin it replaces before trusting it — see
A vendored linter plugin can be stricter than the Gradle plugin.
kotlin / kotlin.bat from a reference Toolchain project (for example this one) or kotlin init in a scratch dir. Pin
kotlintoolchain=<version> in .sdkmanrc to match the wrapper.project.yaml with all plugin module paths.plugins/<name>/,
running ./kotlin show modules after each to confirm the model still loads.<name>.module-template.yaml per convention script and per
[bundles] entry with two or more consumers (dependencies plus the settings, test deps, and repositories
that travel with them), nested the way the Gradle conventions were.module.yaml: product: jvm/app, layout: maven-like, $libs.* dependencies, an
apply: list for the templates, and a plugins: block enabling each local plugin with its non-default
settings../kotlin task :<module>:<task>@<plugin> or ./kotlin do <command>.build.gradle.kts, gradlew, gradlew.bat, gradle/wrapper/ — but keep
gradle/libs.versions.toml.[plugins] block, any [versions] keys that only fed it, and
[bundles] once every consumer applies a template.module.yaml / plugin.yaml for literal Maven coordinates and replace them with
$libs.<key>.KOTLIN_CLI_NO_WELCOME_BANNER: "1"../gradlew build && ./gradlew check → ./kotlin build && ./kotlin check (which runs every plugin's
checks: registrations plus tests)../gradlew jib -Djib.to.tags=… → ./kotlin do jib, with tags passed through an env var the plugin reads.
Vendored jib-style plugins usually lack that hook — add it while vendoring.build/libs/<name>.jar is gone and jarJvm writes to a
Toolchain-internal path. Author a package plugin staging the JAR at
${module.rootDir}/build/libs/${module.name}.jar so uploading artifacts stays simple.Run each user-facing command locally and record the output in the PR's test plan:
./kotlin show modules # project model loads, all expected modules listed
./kotlin clean && ./kotlin build
./kotlin test
./kotlin check # linters + tests; expect zero violations after Phase 3
./kotlin do currentVersion # if applicable
./kotlin do jib # or jibBuildTar to avoid pushing locally (if applicable)
./kotlin do package # verify build/libs/<name>.jar and its Main-Class manifest (if applicable)
./kotlin do ktlintFormat # if applicable${...} interpolation in module.yamlconfigFile: ${module.rootDir}/detekt.yml is taken literally. Use a module-relative path
(configFile: detekt.yml). Interpolation works only in plugin.yaml.
There is no name: field. actions/checkout clones into a directory named after the GitHub repo, while a
local worktree may resolve ${module.name} to something else. Never hardcode the module name into a plugin
task's output path — use ${module.name}.
enabled: true are ignoredplugins:
release: enabled # shorthand — only valid with no other settings
jib: # long form — required as soon as any setting is present
enabled: true
container:
mainClass: com.example.AppSettings without enabled: true produce only a warning ("Plugin X is not enabled, but has some explicit
configuration") and the plugin is skipped.
Diff the flags the vendored plugin passes against the Gradle plugin's default task, and gate anything stricter behind an opt-in setting so the default matches the old behaviour.
The canonical case: the upstream detekt plugin (amper/build-sources/detekt/) always passes --classpath to
detekt-cli, enabling type resolution, which Gradle's default detekt task does not. Used as-is it surfaces
violations Gradle never reported (notably UnreachableCode on elvis-with-return). Fix: add
useTypeResolution: Boolean get() = false to the plugin's Settings and gate the flag on it — patch in
references/examples.md.
Only [libraries] keys resolve ($libs.<key>). $libs.bundles.<name> does not exist and [bundles] in the
catalog is dead config the Toolchain never reads. The official answer (KTC-4759) is a module template per
bundle, applied wherever the bundle was used:
# gradle/libs.versions.toml — before
[bundles]
ktor-server = ["ktor-server-core", "ktor-server-netty", "ktor-server-content-negotiation"]# ktor-server.module-template.yaml — at the project root; templates cannot declare product:
dependencies:
- $libs.ktor.server.core
- $libs.ktor.server.netty
- $libs.ktor.server.content.negotiation
settings:
kotlin:
serialization: json
test-dependencies:
- $libs.ktor.server.test.host# module.yaml
product: jvm/app
apply:
- //ktor-server.module-template.yamlTemplates are the better target, not just a workaround: a bundle carries coordinates only, while the
framework it enables usually also needs settings (kotlin.serialization, springBoot, freeCompilerArgs),
test-dependencies, and sometimes repositories. Put all of it in the template so one apply: line yields a
working framework instead of a bare classpath.
Rules that might bite:
//<name>.module-template.yaml, relative to the project root (where project.yaml is).product: in a template. Templates may apply: other templates; each is applied once even if reached
through two paths, so list dependencies appear once.module.yaml always wins regardless of where
apply: sits in the file.settings.jvm.release) is a hard error
("Conflicting values for property"). Resolve by setting the value in the consuming module.yaml, or in a
third template that applies both.$libs.* list.dependencies@jvm, settings@android), so
a KMP bundle split across source sets still fits one template.buildSrc / convention plugins — shared config goes in templatesbuildSrc/, build-logic/, and includeBuild(...) have no counterpart, and project.yaml carries only
modules: and plugins: — there is no root-project inheritance and nowhere to put imperative shared build
logic. A local plugin is also the wrong target: plugins contribute tasks, they don't inject module
configuration. A precompiled script plugin is mostly declarative, so it translates to one
<name>.module-template.yaml, applied by the modules that used plugins { id("<name>") }:
// buildSrc/src/main/kotlin/service-conventions.gradle.kts
plugins {
kotlin("jvm")
kotlin("plugin.serialization")
}
kotlin { jvmToolchain(21) }
repositories { maven("https://jitpack.io") }
dependencies {
implementation(libs.ktor.server.core)
testImplementation(libs.kotest.runner.junit5)
}# service-conventions.module-template.yaml
settings:
jvm:
jdk:
version: 21
kotlin:
serialization: json
repositories:
- id: jitpack
url: https://jitpack.io
dependencies:
- $libs.ktor.server.core
test-dependencies:
- $libs.kotest.runner.junit5| Convention script construct | Template counterpart |
|---|---|
plugins { kotlin("jvm"), kotlin("plugin.serialization"), id("org.springframework.boot") } | native settings: (settings.kotlin.*, settings.springBoot, …) |
kotlin { jvmToolchain(21) }, java { targetCompatibility } | settings.jvm.jdk.version, settings.jvm.release |
dependencies { implementation / api / testImplementation } | dependencies: (: exported for api) and test-dependencies: |
repositories { } | repositories: |
tasks.withType<Test> { useJUnitPlatform() } | built-in / settings.junit |
| a convention script applying another convention script | nested templates (apply: inside the template) |
allprojects {} / subprojects {} in the root script | one template that every module.yaml applies |
tasks.register(…), doLast { }, anything imperative | the residue — a local plugin, one per behavior |
Also:
buildSrc/ outright. Its libs catalog accessors are replaced by $libs.* used directly in the
templates.jvm, ktor-server, testing) is
usually the better shape, and bundle templates fold into the same hierarchy — see
No version-catalog bundles for the merge/conflict rules, which apply
identically here.plugins: block in a *.module-template.yaml) is unverified.
If a convention script enabled a plugin you reimplemented, keep the plugins: block in each module.yaml
until you have confirmed the template form loads (./kotlin show modules plus an actual task run).There is no equivalent of Gradle's exclude(group, module). Any transitive exclusion silently disappears and
the library lands on the runtime classpath. Note the trade-off in the PR (usually a few hundred unused KB).
Plugins are isolated. If two plugins logically belong together, put both task actions in the same plugin module or extract the library.
-P / -D CLI overridesRead ephemeral overrides (force-version, skip-checks, dynamic image tags) from environment variables inside
the @TaskAction; don't count on a --setting flag either (the pinned CLI may reject it). Pattern in the
kotlin-tooling-gradle-to-kotlin-toolchain-plugin skill.
println from a @TaskAction is not a machine-readable channel. The Toolchain wraps it as
<ts> INFO :<module>:<task>@<plugin> <value> and appends a <task> successful banner, so
./kotlin do currentVersion | tail -n1 yields the banner — and lowering --log-level to error/off drops
the value line entirely, since it is emitted at INFO. Instead:
cat it. Moreover, other tasks can reuse this value down the linegit describe --tags --exact-match HEAD.awk '/<task>@<plugin>/ { v = $NF } END { print v }'.generated.resourcesWhen a plugin emits release.properties and src/test/resources/release.properties exists, classpath
ordering puts the test fixture first. It usually does the right thing but is brittle — if a test asserts a
specific value, inject a stub service instead of relying on precedence.
build.gradle.ktsDependabot's gradle file fetcher requires a build.gradle(.kts) in the configured directory before it scans
gradle/libs.versions.toml; without one, package-ecosystem: "gradle" silently no-ops. Keep an empty
build.gradle.kts at the root with a comment explaining why. The Toolchain ignores it.
Images like mongo:3.2 crash under Rosetta/QEMU on M-series Macs
(runtime: failed to create new OS thread (have 2 already; errno=22)). Unchanged by the migration — the same
image fails under ./gradlew check. Flag it as pre-existing; CI on ubuntu-latest is unaffected.
Info.plist loses its CFBundle* keysA Gradle/KMP iOS app keeps bundle metadata in the hand-maintained iosApp.xcodeproj
(GENERATE_INFOPLIST_FILE = YES), so Xcode synthesizes CFBundle* keys and the checked-in Info.plist is
intentionally partial. The Toolchain ignores that .xcodeproj, generates its own, and uses your plist
verbatim — nothing synthesizes the keys, and the .app has no bundle id:
Simulator device failed to install the application. Missing bundle ID.Fix: make the plist self-contained, keeping your app-specific keys alongside these:
<key>CFBundleDevelopmentRegion</key><string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key><string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key><string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
<key>CFBundleName</key><string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key><string>APPL</string>
<key>CFBundleShortVersionString</key><string>1.0</string>
<key>CFBundleVersion</key><string>1</string>PRODUCT_BUNDLE_IDENTIFIER is set on the generated target. Underlying behaviour: the
kotlin-tooling-kotlin-toolchain skill's "iOS apps" section.
Translate each Gradle source set (commonMain, jvmMain, androidMain, iosMain, commonTest, jvmTest,
…) into its Amper counterpart — dependencies, dependencies@jvm/@android/@ios, test-dependencies,
test-dependencies@<platform>. Don't cherry-pick the obvious library deps:
A *Main dependency is also on that target's test classpath (jvmTest extends jvmMain), so dropping one
can break tests with no compile error.
A dependency can look like it belongs to another module and still be load-bearing. Canonical case:
jvmMain { implementation(compose.desktop.currentOs) } in a shared library reads like a desktop-app dep,
but it supplies the Skiko native runtime (skiko-awt-runtime-<os> with libskiko-<os>.dylib + .sha256)
that the module's own JVM Compose UI tests (compose.uiTest / runComposeUiTest) load at runtime.
compose.ui:ui-test pulls only Skiko's classes, never the natives. Dropping it compiles fine, then fails
with:
org.jetbrains.skiko.LibraryLoadException: Cannot find libskiko-macos-arm64.dylib.sha256, proper native dependency missing.Not a Toolchain bug: Gradle fails identically without it. Restore under dependencies@jvm, or scope it to
test-dependencies@jvm to keep Skiko natives off consumers' classpaths.
Guard against drops: diff each Gradle source set's dependency list against its Kotlin Toolchain section (names and
count), then run ./kotlin show dependencies -m <module> and compare with the Gradle build.
package plugin. CI ends up uploading build/artifacts/CompiledJvmArtifact/ (an internal class-file
tree) instead of a JAR. Add the plugin before swapping the upload path.build/. Add it to .gitignore early; drop the old .gradle/ entry.com.example:foo:${pluginSettings.version} in
plugin.yaml fails with "Value of type 'ShadowDependency' doesn't support string interpolation". Use $libs.foo.Kotlin Toolchain docs: https://kotlin-toolchain.org/dev/
© Kotlin, 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
SKILL.md and 1 other file (references) in skills/kotlin-tooling-gradle-to-kotlin-toolchain-project of Kotlin/kotlin-agent-skills.
Open the folder on GitHubat commit c2f9069
Kotlin Tooling Gradle To Kotlin Toolchain Project 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 Tooling Gradle To Kotlin Toolchain Project this skillKotlin/kotlin-agent-skills | 1.1k | — | ~6k | Automated safety check: Pass | Apache-2.0 | |
| Android Developmentdpconde/claude-android-skill | 336 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Diagnosing Compose StabilityrosuH/EasyWatermark | 1.9k | 1 repos | ~3.3k | Automated safety check: Pass | Apache-2.0 | |
| Claude Android NinjaDrjacky/claude-android-ninja | 124 | — | ~5.2k | Automated safety check: Pass | Apache-2.0 | |
| Expo Brownfield Integrationmweinbach/agent-coworker | 156 | 2 repos | ~900 | Automated safety check: Notes | Custom licence | |
| Jugg Android Dev Loopniki914/zafiro | 241 | — | ~2k | Automated safety check: Pass | MIT |
dpconde/claude-android-skill
Create production-quality Android applications following Google's official architecture guidance and NowInAndroid best practices.
rosuH/EasyWatermark
A skill your agent uses to diagnose Jetpack Compose stability problems by enabling and reading the Compose Compiler Reports (classes.txt, composables.txt, composables.csv, module.json).
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.
mweinbach/agent-coworker
Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.
niki914/zafiro
A skill your agent uses when editing source files (Java/Kotlin/XML/layout/AndroidManifest/Gradle) in a Android project, or when user asks to build/deploy/verify an Android app.
nekomangaorg/Neko
Optimizes Gradle build scripts, compilation times, and Android Studio sync performance.
Kotlin/kotlin-agent-skills
Diagnoses and fixes slow Kotlin/Native compilation and linking in Kotlin Multiplatform projects that target iOS.
Kotlin/kotlin-agent-skills
Migrate Kotlin (and Java) code from kotlinx.collections.immutable 0.3.x / 0.4.x to the latest 0.5.x.
Kotlin/kotlin-agent-skills
Load when porting, converting, or reimplementing a single Gradle plugin as a Kotlin Toolchain local plugin, or when mapping Gradle plugin concepts (Task, Extension, project.version, dependsOn, -P…
Kotlin/kotlin-agent-skills
Load when building, running, testing, packaging, linting, or configuring a Kotlin/Java project with the Kotlin Toolchain (JetBrains' unified CLI, formerly Amper), when scaffolding a new or…
Kotlin/kotlin-agent-skills
Load when authoring, writing, or designing a Kotlin Toolchain local plugin to extend the declarative build with code generation, build-time processing, custom verification, or packaging that…
Categories
Load when migrating or converting an entire Gradle Kotlin project (build.gradle(.kts), wrapper, libs.versions.toml, buildSrc) to the Kotlin Toolchain, including rewriting CI and replacing Gradle…. Kotlin Tooling Gradle To Kotlin Toolchain Project is an agent skill from Kotlin/kotlin-agent-skills.toml, buildSrc) to the Kotlin Toolchain, including rewriting CI and replacing Gradle plugins that have no native Toolchain equivalent.
Kotlin Tooling Gradle To Kotlin Toolchain Project fits situations like: tasks that involve Android development.
Run `npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-gradle-to-kotlin-toolchain-project -a claude-code`. Or copy the skill folder (skills/kotlin-tooling-gradle-to-kotlin-toolchain-project in Kotlin/kotlin-agent-skills) into .claude/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-gradle-to-kotlin-toolchain-project -a codex`. Or copy the skill folder (skills/kotlin-tooling-gradle-to-kotlin-toolchain-project in Kotlin/kotlin-agent-skills) into .agents/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project 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 Kotlin/kotlin-agent-skills --skill kotlin-tooling-gradle-to-kotlin-toolchain-project -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project, .gemini/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project, .github/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project and .opencode/skills/kotlin-tooling-gradle-to-kotlin-toolchain-project in your project.
Going by SKILL.md and its folder, Kotlin Tooling Gradle To Kotlin Toolchain Project needs the command-line tools its instructions call (java and git).
SKILL.md names 3 domains. In commands or code: jitpack.io; the agent is likely to contact it when it follows the instructions. As links in the text: github.com and kotlin-toolchain.org. 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 Tooling Gradle To Kotlin Toolchain Project is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 6k tokens (SKILL.md is roughly 24k 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 3.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Kotlin Tooling Gradle To Kotlin Toolchain Project: Android Development (dpconde/claude-android-skill, 336 stars), Diagnosing Compose Stability (rosuH/EasyWatermark, 1.9k stars), Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars) and Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Kotlin (a GitHub organization) maintains it in Kotlin/kotlin-agent-skills, which has 1,072 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 8, 2026.
Source: Kotlin/kotlin-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.