Official Provider SkillView repo
Splits a class or several classes in the common source set commonMain into JVM and non-JVM parts into jvmCommonMain and nonJvmCommonMain. This is used to provide some JVM-specific functionality for a class on JVM targets (e.g. Kotlin/JVM or Java backend or Android).
Files1 files
SKILL.md234 lines
Loading editor…
Install
RecommendedOne command — your agent picks it up automatically.
Select an AI agent above to see the install command.
or
Manual Install
More stepsDownload the file and paste it into your agent's system prompt.
Skill details
Versionv1.0.0
AuthorJetBrains
Categorycoding
Skill IDJetBrains/koog/.claude/skills/split-jvm-nonjvm
Related skills
Add Java Code Snippets In DocsUse when the user asks to add Java tabs/examples to mkdocs docs that already have Kotlin examples (files under docs/docs/**.md using === "Kotlin" / Knit INCLUDE+SUFFIX blocks). Handles mkdocs-material tabs, Knit directives, @JavaAPI bridge methods, and JVM factory classes.Analysis Api Create Cherry Pick IssueCreate a KTIJ cherry-pick tracking issue for a KT fix that needs to be cherry-picked to an IntelliJ branch. Use when cherry-picking Analysis API fixes.Analysis Api Extend Ka ResolverAdd KaResolver resolveSymbol/resolveCall support for a PSI typeAnalysis Api Mark Internal ApisDrive the per-module internal-API codebase test, then refine the suggested annotations down to `internal` (or up to `@KaImplementationDetail`) based on actual external usageDisable Generation CheckDisables the TeamCity generation check (`forbidGenerationOnTeamcity`) for Kotlin version branching. Only invoke manually via /disable-generation-check.Code StyleCode style rules for IntelliJ codebase. Use when writing or reviewing code for style compliance.