kta-module

Scaffolds Gradle library, feature, and dynamic feature modules in Kotlin Android projects.

Updated May 31, 2026
One-click install
npx skills add https://github.com/decoutkhanqindev/Lich-Viet-Loc-Phat --skill kta-module-decoutkhanqindev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: kta-module
Source: https://github.com/decoutkhanqindev/Lich-Viet-Loc-Phat/tree/main/.claude/skills/kta-module
Command: npx skills add https://github.com/decoutkhanqindev/Lich-Viet-Loc-Phat --skill kta-module-decoutkhanqindev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Adding a new module to a Kotlin Android project involves choosing between library, feature, and dynamic feature types, then wiring Gradle files, manifests, and settings correctly. This Skill guides that decision, discovers the project's existing conventions, and scaffolds a compiling module skeleton without hardcoded assumptions. ## Core Features & Use Cases - Guided module type selection: Walks through an intake conversation to recommend library, feature, or dynamic feature module, and pushes back on invalid combinations like utility code in a dynamic feature. - Convention discovery: Reads gradle/libs.versions.toml, settings.gradle.kts, and sibling modules to match plugin aliases, namespaces, DI/nav stacks, and SDK levels instead of guessing. - Complete scaffolding: Generates build.gradle.kts, manifest, package layout, settings.gradle.kts include, and dynamicFeatures registration for DFMs, then verifies with compileDebugKotlin. - Use Case: You want to add an on-demand premium feature to your app. The Skill detects your project already uses dynamic features, scaffolds a DFM with the correct manifest delivery options, registers it in the app module, and confirms it compiles. ## Quick Start Ask the assistant to create a new Android module in this project and describe its purpose, such as a settings feature or a shared utility library.

Frequently Asked Questions about kta-module

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new Gradle module in an Android Kotlin project?▼

Describe the module's purpose and the Skill runs an intake covering consumers, navigation routes, and delivery needs, then recommends library, feature, or dynamic feature type. It scaffolds build.gradle.kts, manifest, and package layout matching your project's conventions, and verifies with compileDebugKotlin.

What is the difference between a feature module and a dynamic feature module?▼

A feature module is a regular com.android.library that ships in the base APK and can be a dependency of other modules. A dynamic feature uses com.android.dynamic-feature, reverse-depends on the application module, and supports on-demand, conditional, or instant delivery via Play Feature Delivery.

Can a dynamic feature module be used as a dependency by other modules?▼

No. Dynamic feature modules reverse-depend on the application module, so other libraries cannot depend on them without creating a dependency cycle that fails to compile. Code shared across modules must live in a plain library module.

Does the module scaffolding work with version catalogs and convention plugins?▼

Yes. The Skill reads gradle/libs.versions.toml and any build-logic convention plugins first, then applies the project's existing plugin aliases, namespace patterns, and SDK levels instead of hardcoding vanilla AGP defaults.

When should I not use a dynamic feature module?▼

Avoid dynamic features for utility code, shared helpers, or code consumed by other modules, since DFMs cannot be dependencies and create cycles. Also skip them for tiny single composables with no navigation route; a plain library or inline code is appropriate.