Android Clean Architecture
Clean Architecture module layout, UseCase and Repository patterns, and data layer design for Android and KMP projects.
- CCM score
- 73 of 100
- skills.sh installs
- 14.3K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers module boundaries, dependency inversion, UseCase and Repository patterns, and data flow between domain, data, and presentation layers
- Includes sample code for domain models, Room and SQLDelight entities, Ktor clients, Koin and Hilt wiring, and a Try/AppError result type
- Enforces that the
domainmodule stays pure Kotlin with no dependencies ondata,presentation, or any framework - Designed for Android and Kotlin Multiplatform projects that need layered structure with Room, SQLDelight, or Ktor
Install
$ npx -y skills add affaan-m/ecc --skill android-clean-architecture -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Android Clean Architecture
Clean Architecture patterns for Android and KMP projects. Covers module boundaries, dependency inversion, UseCase/Repository patterns, and data layer design with Room, SQLDelight, and Ktor.
When to Activate
- Structuring Android or KMP project modules
- Implementing UseCases, Repositories, or DataSources
- Designing data flow between layers (domain, data, presentation)
- Setting up dependency injection with Koin or Hilt
- Working with Room, SQLDelight, or Ktor in a layered architecture
Module Structure
Recommended Layout
project/
├── app/ # Android entry point, DI wiring, Application class
├── core/ # Shared utilities, base classes, error types
├── domain/ # UseCases, domain models, repository interfaces (pure Kotlin)
├── data/ # Repository implementations, DataSources, DB, network
├── presentation/ # Screens, ViewModels, UI models, navigation
├── design-system/ # Reusable Compose components, theme, typography
└── feature/ # Feature modules (optional, for larger projects)
├── auth/
├── settings/
└── profile/
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Mobile Apps, Backend & APIs
- First seen
- Jul 14, 2026
Questions
What does the android-clean-architecture skill do?
It gives Clean Architecture patterns for Android and Kotlin Multiplatform projects, covering module structure, dependency rules, UseCases, Repositories and the data layer. It also shows how to design data flow with Room, SQLDelight and Ktor, and how to wire dependency injection with Koin or Hilt.
How do I install the android-clean-architecture skill?
Run npx -y skills add affaan-m/ecc --skill android-clean-architecture -y in your project. Once installed, the agent can structure modules, layers and data flow in your Android or KMP project.
Where does android-clean-architecture rank in its category?
It sits in the Mobile Apps category on Claude Marketplaces, in the top 100 of that category page. Other skills that lead the category include vercel-react-native-skills, animate-expo, write-swift, firebase-crashlytics and xcode-project-setup.
Which libraries and tools does android-clean-architecture cover?
The skill covers Room and SQLDelight for local storage, Ktor for networking, and Koin or Hilt for dependency injection. It also includes Gradle convention plugins for KMP projects.
More from affaan-m/ecc
All 257- Article Writing14.3K
- Cpp Coding Standards14.3K
- Springboot Security14.2K
- Liquid Glass Design14.2K
- Database Migrations14.1K
- E2e Testing14.1K
- Strategic Compact14K
- Laravel Patterns13.8K
- Verification Loop13.6K
- Codebase Onboarding13.6K
- Springboot Tdd13.4K
- Security Scan13.4K
- Django Tdd13.3K
- Deployment Patterns13.3K
- Search First13.3K
- Deep Research13.2K
- Eval Harness13.1K
- Continuous Learning13K
- Cpp Testing13K
- Jpa Patterns13K
- Rust Patterns12.9K
- Kotlin Coroutines Flows12.9K
- Configure Ecc12.9K
- Laravel Tdd12.8K
Similar to Android Clean Architecture
More Mobile Appsandroid-architecturenew-silvermoon/awesome-android-agent-skills732 installsLayered Android architecture guide using Clean Architecture, Hilt injection, and multi-module layout.
android-kotlinalinaqi/maggy3.4K installsKotlin Android development guide covering Coroutines, Jetpack Compose, Hilt, Room, and MockK testing patterns.
android-developmentdpconde/claude-android-skill769 installsProduction Android app guidance using Kotlin, Compose, MVVM, Hilt, and Room, modeled on NowInAndroid.
android-kotlin-developmentaj-geddes/useful-ai-prompts1.5K installsNative Android app guidance in Kotlin covering MVVM with Jetpack, Compose UI, and Retrofit and Room integration.
compose-multiplatform-patternsaffaan-m/ecc12.2K installsPatterns for shared Compose UI covering state, navigation, theming, and recomposition performance.
kotlin-multiplatformtravisjneuman/.claude184 installsShared Kotlin business logic and optional Compose UI across Android, iOS, desktop, and web targets.