compose-screens-footgu…
Compose screen and interaction traps: navigation, adaptive layout, window insets, pagers, toolbars, sheets, list drag and…
Remote API traps in Kotlin Multiplatform: Ktor clients, defensive parsing, Resource envelopes, OK responses that dropped your data, auth callbacks, retry backoff, downloads, websockets, clock sync. Use when calls succeed but data never lands.
Claude Code
$ npx -y skills add maxrave-dev/kotlin-footguns --skill remote-api-footguns --agent claude-code
Codex
$ npx skills add maxrave-dev/kotlin-footguns --skill remote-api-footguns -a codex -y
Cursor
$ npx skills add maxrave-dev/kotlin-footguns --skill remote-api-footguns -a cursor -y
Gemini CLI
$ npx skills add maxrave-dev/kotlin-footguns --skill remote-api-footguns -a gemini-cli -y
GitHub Copilot
$ npx skills add maxrave-dev/kotlin-footguns --skill remote-api-footguns -a github-copilot -y
OpenCode
$ npx skills add maxrave-dev/kotlin-footguns --skill remote-api-footguns -a opencode -y
Windsurf
$ npx skills add maxrave-dev/kotlin-footguns --skill remote-api-footguns -a windsurf -y
name: remote-api-footguns description: "Remote API traps in Kotlin Multiplatform: Ktor clients, defensive parsing, Resource envelopes, OK responses that dropped your data, auth callbacks, retry backoff, downloads, websockets, clock sync. Use when calls succeed but data never lands."
17 traps mined from a production Kotlin and Compose Multiplatform app, one short file each under `references/`. Every file gives the working pattern, the **Traps** (the specific ways it fails in practice, and why), and a **Verifying it** section with commands to run against the user's own tree.
**How to use this index.** Match the code about to be written, or the symptom being chased, against the entries below: each names its topic and the symptom that should send you to it. Read every file that plausibly applies with the Read tool before proposing code or a fix; each is under 150 lines. Where a Verifying command names the source project's paths, substitute the equivalent paths in the user's tree.
**Cross-references.** A backticked trap name inside a file that is not listed here lives in a sibling area skill: glob `../*/references/<name>.md` to open it.
By maxrave-dev — creator and maintainer of SimpMusic, the 10.8k-star cross-platform music app every lesson in this repository was mined from.
Compose screen and interaction traps: navigation, adaptive layout, window insets, pagers, toolbars, sheets, list drag and…
Compose look-and-feel traps: theme and colour tokens, artwork palettes, gradients and scrims, shimmer, glass and particle…
Room/SQLite, DataStore and repository traps: migrations, NOT IN with NULLs, LIKE escaping, delete order, local-time bucketing,…
Desktop JVM and build traps: JNA natives, bundling, memory, packaging, code signing, R8, deep links, Gradle and CI releases. Use…
Debugging-method traps: run the discriminating experiment first, read build logs bottom-up, treat an empty actual as unwritten,…
Scan a Kotlin or Compose Multiplatform diff for known footgun shapes and open the matching trap to confirm each hit. Use before…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.