android-architecture

Enforce Clean Architecture and Hilt dependency injection across Android UI, Domain, and Data layers.

Updated Nov 3, 2025
One-click install
npx skills add https://github.com/devanfer02/telnetquiz --skill android-architecture-devanfer02
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-architecture
Source: https://github.com/devanfer02/telnetquiz/tree/main/.claude/skills/android-architecture
Command: npx skills add https://github.com/devanfer02/telnetquiz --skill android-architecture-devanfer02

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guidance on designing and maintaining Android app architecture using Clean Architecture and Hilt. It helps teams structure projects with clear separation of concerns, consistent module boundaries, and robust DI.

Core Features & Use Cases

  • Clear three-layer structure: UI, Domain, Data with inward dependencies.
  • Hilt-based dependency injection: Application, Activities, Fragments, ViewModels.
  • Modularization strategy: feature modules and shared core organization, scalable for teams.

Quick Start

Create an Android app skeleton that follows Clean Architecture and Hilt with UI, Domain, and Data layers and a sample feature module.

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 your Android app into UI, Domain, and Data layers with inward dependencies, using Hilt for dependency injection across Application, Activities, Fragments, and ViewModels. Keep the Domain layer Android-free with repository interfaces and data sources.

What is the best way to modularize an Android project for scalability?

The best way to modularize an Android project is by creating feature modules and shared core organizations. This strategy enforces clear module boundaries and separation of concerns, making the architecture scalable for larger teams.

How do I configure Hilt dependency injection across Android UI, Domain, and Data layers?

Configure Hilt dependency injection by annotating your Application, Activities, Fragments, and ViewModels. Define repository interfaces and data sources across the Domain and Data layers, ensuring the Domain layer remains completely Android-free.

Does Clean Architecture for Android require keeping the Domain layer framework-free?

Yes, Clean Architecture for Android requires keeping the Domain layer strictly Android-free. You must define repository interfaces and data sources in this layer to enforce separation of concerns and maintain inward dependencies.

Can I use this Android architecture approach for Kotlin projects with a standard toolchain?

Yes, you can use this approach for Kotlin projects with a standard Android toolchain. It requires Kotlin code to generate an app skeleton following Clean Architecture and Hilt with distinct UI, Domain, and Data layers.