android-clean-architecture

Define module boundaries and dependency rules for Android and Kotlin Multiplatform projects.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Michae2xl/claude-skills-michael --skill android-clean-architecture-michae2xl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-clean-architecture
Source: https://github.com/Michae2xl/claude-skills-michael/tree/main/skills/android-clean-architecture
Command: npx skills add https://github.com/Michae2xl/claude-skills-michael --skill android-clean-architecture-michae2xl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit helps developers structure their Android and Kotlin Multiplatform projects using Clean Architecture patterns, improving maintainability and scalability.

Core Features & Use Cases

  • Module Structure: Defines the recommended layout and dependency rules for Android projects.
  • Domain Layer: Implements the UseCase pattern and domain models.
  • Data Layer: Covers repository implementations, database usage, and network clients.
  • Dependency Injection: Shows how to set up Koin and Hilt for dependency management.
  • Error Handling: Explains the Result/Try pattern for error propagation.
  • Gradle Plugins: Describes the use of convention plugins for KMP projects.
  • Anti-Patterns: Lists common mistakes to avoid in Android development.
  • Use Case: If you are starting a new Android project, this Skill unit provides a blueprint to ensure your application is structured and maintainable.

Quick Start

To get started, refer to the provided SKILL.md file and implement the module structure for your Android or KMP project following the recommended patterns.

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 project using clean architecture?

This Skill provides guidelines for implementing clean architecture in Android by defining module boundaries, dependency rules, UseCase patterns, and data layer designs to improve project maintainability and scalability.

How do I set up dependency injection with Koin or Hilt in Kotlin Multiplatform?

Setting up dependency injection with Koin or Hilt in Kotlin Multiplatform involves configuring specific Gradle plugins and following module boundary rules. This ensures proper dependency management across shared and platform-specific modules.

What is the best way to handle errors in Android clean architecture?

The best way to handle errors in Android clean architecture is using the Result or Try pattern for error propagation. This mechanism safely manages failures across data and domain layers without breaking application flow.

Do I need knowledge of Kotlin Multiplatform to use this clean architecture blueprint?

Yes, you need existing knowledge of Android development, Kotlin, and multiplatform development tools. This background is required to effectively implement the module structures, convention plugins, and repository patterns provided.

What are common anti-patterns to avoid when implementing Android clean architecture?

Common anti-patterns to avoid in Android clean architecture include violating dependency rules between modules and mismanaging repository implementations. Reviewing these mistakes ensures your application structure remains maintainable and scalable.

How do I configure Gradle convention plugins for a Kotlin Multiplatform clean architecture project?

Configuring Gradle convention plugins for a Kotlin Multiplatform clean architecture project involves setting up specific module structures and dependency rules. This standardizes build configurations across your shared and platform-specific modules.