Ревью PR в Kotlin Multiplatform-проекте
★ 7.1 · code-review-automation
Automatic Code Review is a Claude Code skill that performs comprehensive pull request reviews for the Meshtastic-Android project, verifying alignment with KMP architecture, Kotlin Multiplatform conventions, MAD standards, and CMP best practices. Reach for it when a PR might silently misuse 0 instead of null and corrupt sensor readings, when a test passes even after deleting the code it was supposed to cover, when a DataStore write is split across two separate calls instead of a single transactional edit block, or when a Room schema version bump ships without a migration test. The skill zeroes in on four recurring defect classes that the compiler, detekt, and spotless cannot catch: presence vs. sentinel zero (nullable fields vs. 0 placeholders), read–decide–write across a suspend boundary, tests that pass for the wrong reason, and schema bumps without migration coverage. Each class comes with a detailed checklist covering KMP source-set boundary rules, coroutine safety (safeCatching over runCatching), Okio over java.io, and atomic transactions via editSettings. The direction is reviewing existing Kotlin/KMP Android code, not generating or refactoring it. Best suited for teams working on Meshtastic-Android or similar KMP Kotlin projects; it complements rather than replaces static analysis by covering blind spots that automated tools miss.
- #code-review
- #kotlin
- #testing-best-practices
- #kmp
- #quality-gates