My agent keeps putting Android-only code in my KMP shared module
Summary As of October 2026, JetBrains' Kotlin docs say to put KMP rules in AGENTS.md or the task's success criteria: run target-specific tests, confirm every configured target builds before calling a task done, and review for platform APIs leaking into common code. JetBrains also publishes Apache-2.0 Kotlin agent skills and a klibs.io MCP server for finding multiplatform libraries.
Not for slow iOS builds or AGP 9 upgrade, seeing the running Compose Desktop app
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread kmp-agent-puts-android-code-in-shared-module and help me try it