Skip to content
affaan-m avatar

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
View on GitHub

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 domain module stays pure Kotlin with no dependencies on data, 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 -y

Installs 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

Similar to Android Clean Architecture

More Mobile Apps