android-clean-architecture

Organize Android and Kotlin Multiplatform projects with clean architecture patterns.

8|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/D0NMEGA/donnyclaude --skill android-clean-architecture-d0nmega
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-clean-architecture
Source: https://github.com/D0NMEGA/donnyclaude/tree/main/packages/skills/android-clean-architecture
Command: npx skills add https://github.com/D0NMEGA/donnyclaude --skill android-clean-architecture-d0nmega

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Organizes Android and Kotlin Multiplatform projects with clean architecture patterns to improve modularity, testability, and maintainability.

Core Features & Use Cases

  • UseCase-driven domain layer with repository interfaces and data sources.
  • Clear module boundaries (app, core, domain, data, presentation) and dependency rules.
  • DI guidance (Koin or Hilt) and platform-specific integration patterns.

Quick Start

Configure your Android or Kotlin Multiplatform project with the recommended module layout and dependency rules to start applying clean architecture.

Frequently Asked Questions about android-clean-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure an Android Kotlin project using clean architecture?

Structure an Android Kotlin project using clean architecture by organizing it into domain, data, and presentation modules. This separation enforces dependency rules, keeping the domain layer pure while delegating data sources and UI interactions to their respective layers.

What is the role of UseCases and Repositories in Android clean architecture?

UseCases and Repositories in Android clean architecture define the domain layer's business logic and data contracts. UseCases orchestrate operations, while repository interfaces abstract data sources, ensuring core logic remains testable and independent of platform-specific implementations.

Does this clean architecture approach work with Kotlin Multiplatform projects?

Yes, this clean architecture approach works with Kotlin Multiplatform projects. It provides specific guidance for platform-specific implementations and dependency rules, allowing you to share pure domain logic and data layer abstractions across different platforms effectively.

Can I use Hilt or Koin for dependency injection in an Android clean architecture setup?

Yes, you can use Hilt or Koin for dependency injection in an Android clean architecture setup. The approach includes specific guidance for integrating DI frameworks to manage dependencies across your domain, data, and presentation modules seamlessly.

When should I separate domain and data layers in my Android app?

You should separate domain and data layers in your Android app when you need to improve modularity, testability, and maintainability. A pure domain layer with mapping utilities ensures your business rules are isolated from data source changes and UI concerns.