All skills
kotlin avatar

/kotlin-tooling-native-build-performance

@87bec33 official
by kotlinkotlin/kotlin-agent-skills1.1k stars
42

Diagnoses and fixes slow Kotlin/Native compilation and linking in Kotlin Multiplatform projects that target iOS. Use when the user reports slow iOS or shared-framework builds, long linkDebug*/linkRelease* or XCFramework tasks, cold CI builds that re-download the Kotlin/Native toolchain, KSP or other generated code on the native path, transitiveExport usage, or asks for a local-development versus CI build performance plan.

Use this Skill: https://skilld.dev/gh/kotlin/kotlin-agent-skills/kotlin-tooling-native-build-performance

This session only. Nothing lands on disk.

evalsEVALUATION.md

≈391 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Testing

This skill is A/B evaluated with the JetBrains skills-ab-eval tool. The suite lives at kotlin-tooling-native-build-performance and contains two tasks:

  • native-build-performance-audit-task — a synthetic KMP iOS fixture seeded with common Kotlin/Native build-performance mistakes.
  • kotlinproject-native-build-performance-task — a KotlinProject template copy with intentional cache, target, local-build, CI, and export regressions.

Each task runs the agent with and without the skill and scores the result on a weighted rubric (reward 0–1), requiring a BUILD_PERFORMANCE_REPORT.md that preserves production release behavior.

Latest results (2026-07-06)

Run via skills-ab-eval on the codex agent, openai/gpt-5.5 at low reasoning effort, n = 6 pairs per task:

Task Without skill With skill Δ Significance
Synthetic native build audit 0.74 ± 0.05 0.99 ± 0.02 +0.25 p = 0.031
KotlinProject native build audit 0.59 ± 0.05 0.90 ± 0.02 +0.31 p = 0.031

The with-skill arms are near-deterministic (σ ≤ 0.02): the diagnostic procedure lives in the skill, not in the model's reasoning budget. Additional openai/gpt-5.4-mini runs (high and low reasoning) are recorded per task.

See each task's EVALUATION.md in the cookbook for full per-trial reward breakdowns and token/cost metrics.

Source: SKILL.md on GitHub

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a diagnostic framework and an audit script to optimize Kotlin/Native build performance. It is safe for its intended purpose, but it carries a low risk of indirect prompt injection due to the processing of untrusted project files during the analysis phase.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 87bec33. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 3 months ago
Other metadata
metadata
{
  "author": "JetBrains",
  "version": "1.0.0",
  "tested_models": "openai/gpt-5.5, openai/gpt-5.4-mini",
  "last_eval": "2026-07-06"
}

README badge

README badge for kotlin/kotlin-agent-skills/kotlin-tooling-native-build-performance