Architecture

From hanamizuki/solopreneur · View interactive version

Architecture is an AI agent skill from the GitHub repository hanamizuki/solopreneur. Expert guidance on setting up and maintaining a modern Android application architecture using Clean Architecture and Hilt. Use this when asked about project structure, module setup, or dependency injection.

How to use this skill

Skill file

Android Modern Architecture & Modularization

Instructions

When designing or refactoring an Android application, adhere to the Guide to App Architecture and Clean Architecture principles.

1. High-Level Layers

Structure the application into three primary layers. Dependencies must strictly flow inwards (or downwards) to the core logic.

2. Dependency Injection with Hilt

Use Hilt for all dependency injection.

3. Modularization Strategy

For production apps, use a multi-module strategy to improve build times and separation of concerns.

4. Checklist for implementation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.