Skip to content

chrisbanes/chrisbanes-skills

v2026.9.2Apache-2.0

Skills for Kotlin, Android, JVM, and Jetpack Compose development by Chris Banes.

kotlin-control-flow

Use when writing or reviewing Kotlin branching and control flow: when expressions, guard conditions, sealed type exhaustiveness, smart casts, nullable branching, early returns, or replacing complex if/else chains.

Read SKILL.md at the source

Pinned to revision 2db11bb41225, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.