module-architecture-governance

Installation
SKILL.md

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 defines minSdk and targetSdk/compileSdk inside :app/build.gradle.kts upon project creation. Agents MUST check gradle/libs.versions.toml first, and if not present there, strictly extract the exact values generated by the wizard in the :app module. 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 :app or libs.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:

Installs
7
First Seen
Sep 29, 2026