android-clean-architecture

Enforce clean architecture module and dependency rules in Android projects.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/devs6186/claude-private-skills-agents-commands --skill android-clean-architecture-devs6186
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-clean-architecture
Source: https://github.com/devs6186/claude-private-skills-agents-commands/tree/main/skills/android-clean-architecture
Command: npx skills add https://github.com/devs6186/claude-private-skills-agents-commands --skill android-clean-architecture-devs6186

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Android projects often struggle with tangled dependencies and inconsistent module boundaries, making large apps hard to maintain and extend.

Core Features & Use Cases

  • Clear module boundaries for Android and Kotlin Multiplatform projects.
  • Domain, data, and presentation layer separation with repository and UseCase patterns.
  • Guidance on dependency rules and DI integration (Koin or Hilt).

Quick Start

Scaffold a new Android project using the recommended module layout and dependency structure to begin enforcing clean architecture today.

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 app with clean architecture in Kotlin?

Structure Android apps by dividing them into domain, data, and presentation layers. Enforce clear module boundaries, apply dependency rules, and implement UseCase and Repository patterns to decouple business logic from UI frameworks.

What is the best way to separate domain and data layers in a Kotlin Multiplatform project?

Separate domain and data layers by defining strict dependency rules where the domain layer remains independent. Use repository patterns to handle data operations, ensuring the domain layer stays platform-agnostic for Kotlin Multiplatform compatibility.

Does clean architecture for Android work with dependency injection frameworks like Hilt or Koin?

Clean architecture integrates with dependency injection frameworks like Hilt or Koin. The structure provides specific guidance on DI integration to manage dependencies across the domain, data, and presentation layers without violating module boundaries.

How do I organize UseCase and Repository patterns in an Android clean architecture module?

Organize UseCase and Repository patterns by placing repositories in the data layer to fetch data, and UseCases in the domain layer to execute single business logic operations. This separation enforces unidirectional data flow across module boundaries.

When should I enforce strict module boundaries in an Android project?

Enforce strict module boundaries when an Android project grows large and tangled dependencies make maintenance difficult. Applying clean architecture early prevents inconsistent module structures and simplifies extending the app's features over time.

Can I apply clean architecture guidelines to both standard Android and Kotlin Multiplatform apps?

Clean architecture guidelines apply seamlessly to both standard Android and Kotlin Multiplatform apps. The module structure, dependency rules, and UseCase/Repository patterns are designed to support shared codebases across multiple platforms.