
Android Clean Architecture
Solid reference for setting up Clean Architecture in Android and KMP projects. Covers the full stack: module boundaries with strict dependency rules (domain never depends on data or presentation), UseCase and Repository patterns, and concrete examples for Room, SQLDelight, and Ktor. The mapper pattern guidance and DI setup for both Koin and Hilt are immediately useful. What I like here is the opinionated structure, it doesn't hedge on how layers should communicate. If you're past the tutorial phase and need to organize a real multi-module Android project without reinventing every architectural decision, this gives you working patterns to copy.
- skills.sh installs
- 6K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill android-clean-architecture --agent claude-codeInstalls into .claude/skills of the current project.
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/
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- Categories
- Code Review & Quality, Mobile Development
- First seen
- Apr 16, 2026
More from affaan-m/everything-claude-code
All 256- Springboot Tdd6K
- Continuous Learning5.9K
- Database Migrations5.9K
- Django Tdd5.9K
- E2e Testing5.9K
- Liquid Glass Design5.9K
- Security Scan5.9K
- Deployment Patterns5.8K
- Jpa Patterns5.8K
- Laravel Patterns5.8K
- Clickhouse Io5.7K
- Eval Harness5.7K
- Laravel Security5.7K
- Cpp Testing5.6K
- Iterative Retrieval5.6K
- Agent Harness Construction5.5K
- Configure Ecc5.5K
- Nutrient Document Processing5.5K
- Search First5.5K
- Verification Loop5.5K
- Agentic Engineering5.4K
- Cost Aware Llm Pipeline5.4K
- Django Verification5.4K
- Springboot Verification5.4K