From android-dev
Guides Android app architecture using Clean Architecture and Hilt for dependency injection. Covers layer structure, modularization, and DI setup.
How this skill is triggered — by the user, by Claude, or both
Slash command
/android-dev:architectureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When designing or refactoring an Android application, adhere to the **Guide to App Architecture** and **Clean Architecture** principles.
When designing or refactoring an Android application, adhere to the Guide to App Architecture and Clean Architecture principles.
Structure the application into three primary layers. Dependencies must strictly flow inwards (or downwards) to the core logic.
GetLatestNewsUseCase), Domain Models (pure Kotlin data classes).android.* imports).Use Hilt for all dependency injection.
Application class.constructor injection.@Module and @InstallIn(SingletonComponent::class) for app-wide singletons (e.g., Network, Database).@Binds in an abstract class to bind interface implementations (cleaner than @Provides).For production apps, use a multi-module strategy to improve build times and separation of concerns.
:core:domain and :core:ui.Domain layer has no Android dependencies.Dispatchers.IO internally if needed).StateFlow (see android-viewmodel skill).npx claudepluginhub p/hanamizuki-android-dev-plugins-android-devImplements MVVM, Clean Architecture layers, Hilt dependency injection, and repository pattern in Android apps with Kotlin examples.
Provides Clean Architecture patterns for Android and Kotlin Multiplatform projects: module structure, dependency rules, UseCases, Repositories, and data layer design with Room, SQLDelight, and Ktor.
Implements Clean Architecture for Android and Kotlin Multiplatform projects: module structure, dependency rules, UseCases, Repositories, data layers with Room, SQLDelight, Ktor.