module-architecture-governance
Module Architecture Specialist (module-architecture-governance)
This skill ensures that the project's multi-module structure remains healthy and strictly follows Clean Architecture boundaries across both Layer-Based and Feature-First topologies.
[!IMPORTANT] Reference Values (SDKs): SDK Versions (
minSdk,targetSdk,compileSdk) MUST be dynamically resolved. The Android Studio New Project Wizard typically definesminSdkandtargetSdk/compileSdkinside:app/build.gradle.ktsupon project creation. Agents MUST checkgradle/libs.versions.tomlfirst, and if not present there, strictly extract the exact values generated by the wizard in the:appmodule. Reference Values (Java): Java 17 (JDK 17) is the MANDATORY minimum baseline for modern tooling (AGP 8.x+) and Kotlin 2.0+ (K2) performance. However, if the project is already using a newer version (e.g., Java 21) in:apporlibs.versions.toml, agents MUST detect and apply that newer version to all new modules to ensure consistency.
1. Topology Detection & Modularization Strategy
Before creating or modifying modules, the agent MUST inspect settings.gradle.kts and AGENTS.md to identify the active Module Topology: