kotlinBuild robust Android and multiplatform apps with Kotlin idioms, coroutines, and null safety.
Install via ClawdBot CLI:
clawdbot install ivangdavila/kotlinRequires:
| Topic | File |
|-------|------|
| Null safety operators and patterns | nullsafety.md |
| Coroutines, flows, structured concurrency | coroutines.md |
| Collections, sequences, data classes | collections.md |
| Scope functions, extensions, sealed classes | idioms.md |
| Java interop and common Kotlin mistakes | interop.md |
| Android lifecycle, Compose state | android.md |
| Delegation, inline, reified, multiplatform | advanced.md |
!! asserts non-null — crashes on null, use only when you've already checked@Nullable/@NonNull annotationsreturn/throw for early exit — val name = user?.name ?: returnviewModelScope auto-cancels on ViewModel clear — don't use GlobalScope in AndroidsupervisorScope to isolateStateFlow needs initial value and never completes — SharedFlow for one-shot eventsDispatchers.IOfirst() throws on empty — use firstOrNull() for safe accessequals/hashCode — body properties ignoredmutableStateListOf for Compose — wrapping mutableListOf in state won't track changesrepeatOnLifecycle(STARTED) for flow collection — launchWhenStarted is deprecatedremember survives recomposition only — use rememberSaveable for config changescollectAsStateWithLifecycle is the gold standard — lifecycle-aware + Compose state== is structural equality in Kotlin — === for reference, opposite of Javafun interface@JvmStatic, @JvmOverloads, @JvmField for Java-friendly APIsGenerated Mar 1, 2026
Develop native Android applications using Kotlin with Android Studio, leveraging coroutines for asynchronous tasks and Compose for modern UI. Ensure null safety to prevent crashes and use lifecycle-aware components for robust state management.
Build cross-platform applications for iOS, Android, and web using Kotlin Multiplatform, sharing business logic while maintaining platform-specific UIs. Utilize coroutines and flows for consistent asynchronous handling across platforms.
Create server-side applications with Kotlin, such as REST APIs or microservices, using frameworks like Ktor or Spring Boot. Apply coroutines for non-blocking I/O and data classes for serialization to improve performance and maintainability.
Migrate existing Java codebases to Kotlin to enhance readability and safety, using Java interop features for gradual adoption. Focus on null safety and coroutines to reduce bugs and improve concurrency management in enterprise environments.
Design interactive learning platforms or coding tutorials that teach Kotlin concepts like null safety and coroutines through hands-on examples. Use Compose for engaging UI components to demonstrate real-time code execution and debugging.
Offer a subscription-based software service built with Kotlin for multiplatform support, such as project management tools or analytics dashboards. Generate revenue through tiered pricing plans based on features and user capacity, leveraging coroutines for scalable backend processing.
Develop and publish Android apps on platforms like Google Play, using Kotlin for efficient development with Compose and coroutines. Earn income through in-app purchases, advertisements, or premium versions, focusing on user retention with lifecycle-aware state management.
Provide expert consulting for companies adopting Kotlin, including code reviews, migration strategies, and custom training workshops. Charge fees based on project scope or hourly rates, helping clients implement best practices like null safety and structured concurrency.
💬 Integration Tip
Ensure Kotlin is installed via package managers like SDKMAN or Homebrew, and integrate with build tools like Gradle for seamless project setup and dependency management.
Full Windows desktop control. Mouse, keyboard, screenshots - interact with any Windows application like a human.
Control Android devices via ADB with support for UI layout analysis (uiautomator) and visual feedback (screencap). Use when you need to interact with Android apps, perform UI automation, take screenshots, or run complex ADB command sequences.
Build, test, and ship iOS apps with Swift, Xcode, and App Store best practices.
Control macOS GUI apps visually — take screenshots, click, scroll, type. Use when the user asks to interact with any Mac desktop application's graphical interface.
Best practices and example-driven guidance for building SwiftUI views and components. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens, or needing component-specific patterns and examples.
Write safe Swift code avoiding memory leaks, optional traps, and concurrency bugs.