android-clean-architecture

Enforce Clean Architecture layer separation and dependency rules in Android and Kotlin Multiplatform projects.

Updated Jun 25, 2026
One-click install
npx skills add https://github.com/sumeetonline90/fitup_all --skill android-clean-architecture-sumeetonline90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-clean-architecture
Source: https://github.com/sumeetonline90/fitup_all/tree/main/.cursor/skills/android-clean-architecture
Command: npx skills add https://github.com/sumeetonline90/fitup_all --skill android-clean-architecture-sumeetonline90

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the common pain points of disorganized, tightly coupled Android and Kotlin Multiplatform codebases by providing standardized Clean Architecture patterns that enforce strict separation of concerns, reduce technical debt, and make apps easier to test, maintain, and scale.

Core Features & Use Cases

  • Modular Project Structure: Pre-defined module boundaries (domain, data, presentation, core) with strict dependency rules to prevent circular dependencies and tight coupling.
  • Standardized Layer Patterns: Ready-to-use templates for UseCases, Repository interfaces and implementations, and data mappers for Room, SQLDelight, and Ktor network clients.
  • Real-World Use Case: For a new health tracking app, use this Skill to set up a layered codebase where business logic is fully isolated from UI and data sources, making it easy to swap out local storage or AI service integrations later without rewriting core logic.

Quick Start

Use the android-clean-architecture skill to set up a new Kotlin Multiplatform project with properly separated domain, data, and presentation layers following Clean Architecture dependency rules.

Frequently Asked Questions about android-clean-architecture

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

FAQPage Schema
How do I set up Clean Architecture in a Kotlin Multiplatform project?

Set up Clean Architecture in a Kotlin Multiplatform project by enforcing strict layer separation across domain, data, and presentation modules. This isolates pure business logic from framework and UI dependencies to ensure maintainability.

What is the best way to separate business logic from UI in Android?

The best way to separate business logic from UI in Android is using standardized Clean Architecture layer patterns. Implement UseCases and Repository interfaces to keep core logic independent of framework dependencies.

How do I structure Android modules to prevent circular dependencies?

Structure Android modules to prevent circular dependencies by defining strict boundaries for domain, data, presentation, and core layers. Enforcing dependency rules between these layers eliminates tightly coupled codebases.

Does this Clean Architecture approach work with Room, SQLDelight, and Ktor?

Yes, this Clean Architecture approach works with Room, SQLDelight, and Ktor. It provides standardized data layer design templates, including data mappers and repository implementations, to seamlessly integrate these local and network clients.

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

Yes, you can use Koin or Hilt for dependency injection in a clean Android architecture. The structure supports DI configuration to manage dependencies across isolated domain, data, and presentation layers.

Why use UseCase and Repository patterns in mobile app architecture?

Use UseCase and Repository patterns in mobile app architecture to isolate business logic and data sources from the UI. This makes apps easier to test, maintain, and scale without rewriting core logic when swapping integrations.