android-architecture

Implement Android apps with Clean Architecture and Hilt-based dependency injection.

1|Updated Sep 7, 2025
One-click install
npx skills add https://github.com/sahuadarsh0/Wallet --skill android-architecture-sahuadarsh0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-architecture
Source: https://github.com/sahuadarsh0/Wallet/tree/main/.cursor/skills/android-architecture
Command: npx skills add https://github.com/sahuadarsh0/Wallet --skill android-architecture-sahuadarsh0

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Architects and engineers often struggle to design scalable, maintainable Android apps that enforce clear boundaries between UI, domain, and data layers. This skill provides a practical blueprint for enforcing Clean Architecture and Hilt-based dependency injection across modules.

Core Features & Use Cases

  • Three-layer architecture: UI, Domain, and Data layers with inward dependencies.
  • Hilt DI guidance: Structured dependency injection patterns using Hilt for testable components.
  • Modularization strategy: Multi-module setup with clear module boundaries and reuse.
  • Domain layer constraints: Pure Kotlin domain models with no Android dependencies.
  • Implementation checklist: A ready-to-follow checklist for migrating or building new projects.

Quick Start

Follow the guide to architect a new or refactor an existing Android project using Clean Architecture and Hilt.

Frequently Asked Questions about android-architecture

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

FAQPage Schema
How do I structure an Android app using Clean Architecture and Hilt?

Structure an Android app using Clean Architecture and Hilt by dividing it into UI, Domain, and Data layers with inward dependencies, enforcing an Android-free Domain layer, and applying structured Hilt dependency injection patterns for testable components.

What is the correct way to modularize a multi-module Android project?

The correct way to modularize a multi-module Android project is by establishing clear module boundaries that enforce inward dependencies, ensuring the Domain layer remains pure Kotlin with no Android dependencies, while reusing components across the UI and Data layers.

Does the Domain layer in Clean Architecture need to be free of Android dependencies?

Yes, the Domain layer in Clean Architecture must be free of Android dependencies. It uses pure Kotlin domain models to maintain strict boundary separation and ensure the business logic remains fully testable and independent from the UI and Data layers.

How do I migrate an existing Android app to Clean Architecture?

Migrate an existing Android app to Clean Architecture by following a practical implementation checklist that guides refactoring into a three-layer structure with Hilt-based dependency injection, enforcing inward dependencies and an Android-free Domain layer.

What are the limitations of using Hilt for dependency injection in a multi-module Android project?

Hilt limitations in a multi-module Android project involve strict boundary constraints, requiring structured patterns to maintain testable components while enforcing inward dependencies and a pure Kotlin Domain layer without Android dependencies.