android-architecture

Guide Android app architecture with Clean Architecture, Hilt, and modularization.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/jperezdelreal/GymBro --skill android-architecture-jperezdelreal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-architecture
Source: https://github.com/jperezdelreal/GymBro/tree/main/.squad/skills/android/android-architecture
Command: npx skills add https://github.com/jperezdelreal/GymBro --skill android-architecture-jperezdelreal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Android apps often suffer from tangled architectures that hinder testing, scalability, and maintainability. This skill provides expert guidance on structuring Android projects using Clean Architecture and Hilt to promote testability, modularity, and clear dependency rules.

Core Features & Use Cases

  • Clear three-layer architecture (UI, Domain, Data) with strict inward dependencies to improve testability and maintainability.
  • Hilt-based dependency injection guidance, including module setup, scoping, and ViewModel integration for robust DI.
  • Modularization strategy that supports scalable apps: separate app, core, data, domain, ui, and feature modules, with well-defined boundaries.

Quick Start

Outline the three core layers, create modular project skeletons for core and feature areas, and configure Hilt for dependency injection.

Frequently Asked Questions about android-architecture

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

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

Structure your Android app by enforcing a three-layer separation (UI, Domain, Data) with strict inward dependencies. Use Hilt for dependency injection to configure modules, manage scoping, and integrate ViewModels across the separated layers.

What is the best way to modularize a large-scale Android application?

Modularize large-scale Android applications by dividing them into app, core, data, domain, ui, and feature modules. This strategy defines clear module boundaries, supports scalable app growth, and maintains strict dependency rules for better maintainability.

How does dependency injection work with ViewModels in a modular Android project?

Dependency injection for ViewModels in a modular Android project works through Hilt. It provides guidance on setting up modules, defining scopes, and binding ViewModels across feature modules to ensure robust and testable DI configurations.

Can I use this Android architecture approach for multi-module configurations?

Yes, this Android architecture approach explicitly supports multi-module configurations. It applies Clean Architecture principles and modularization strategies to project structures, making it suitable for scaling large-scale Android projects with distinct core and feature areas.

Why should I enforce strict inward dependencies in my Android Clean Architecture?

Enforce strict inward dependencies in your Android Clean Architecture to improve testability and maintainability. By ensuring the UI and Data layers depend on the Domain layer, you prevent tangled architectures that hinder scalable app development.

What are the limitations of using Clean Architecture for Android apps?

Clean Architecture for Android apps introduces overhead through strict three-layer separation and multi-module setups. While it improves testability and scalability, this modularization strategy requires significant initial configuration for Hilt and module boundaries.