android-modularization
Installation
SKILL.md
Android Modularization
When To Use
- Use this skill when the request is about: android module split, feature modularization in android, break cyclic module dependency.
- Primary outcome: Design Android repositories with feature, core, and build-logic modules that scale without cyclic dependencies.
- Reach for this skill when the problem is dependency direction, API ownership, or feature/data/core boundaries, not task-level build speed tuning.
- Handoff skills when the scope expands:
android-gradle-build-logicandroid-architecture-clean
Workflow
- Map the current module graph first: app, feature, data, core, build-logic, and any dynamic-feature or test-only modules.
- Identify which direction is wrong: feature-to-feature coupling, framework leakage into domain/data, API surface too wide, or duplicated shared code with unclear ownership.
- Split by ownership and change rate, not by abstract theory; create the smallest module boundary that removes the current coupling problem.
- Keep
apivsimplementation, public surface area, and test fixture ownership explicit so the new boundary stays stable. - Hand off build-speed or plugin-architecture issues only after the module graph itself is coherent.