create-core-module

Generate build.gradle.kts files, repository interfaces, and Hilt modules for AndroidApkAnalyzer core modules.

343|68|Updated Jun 14, 2017
One-click install
npx skills add https://github.com/MartinStyk/AndroidApkAnalyzer --skill create-core-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-core-module
Source: https://github.com/MartinStyk/AndroidApkAnalyzer/tree/main/.claude/skills/create-core-module
Command: npx skills add https://github.com/MartinStyk/AndroidApkAnalyzer --skill create-core-module

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates architectural drift and boilerplate overhead when adding new domain or utility modules to the AndroidApkAnalyzer project, ensuring consistent dependency injection and structure.

Core Features & Use Cases

  • Automated Scaffolding: Generates the necessary build files, repository interfaces, and Hilt modules for new core components.
  • Architecture Enforcement: Ensures all new modules follow the project's strict dependency rules, such as depending on core:common and using DispatcherProvider.
  • Use Case: When adding a new data layer for a feature like user-preferences or network-sync, this skill provides the exact template to maintain the project's multi-module integrity.

Quick Start

Use the create-core-module skill to generate a new core module named app-export.

Frequently Asked Questions about create-core-module

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

FAQPage Schema
How do I scaffold a new Android core module with Gradle and Hilt?

To scaffold an Android core module, generate the build.gradle.kts files, repository interfaces, implementation classes, and Hilt dependency injection modules. This enforces architectural consistency and strict dependency rules across your multi-module Gradle project.

What is the best way to enforce architecture consistency in a multi-module Gradle project?

Enforcing architecture consistency requires standardized module creation that mandates project-specific dependency directions and naming conventions. By automating the generation of build files and Hilt modules, you eliminate architectural drift and boilerplate overhead when adding new domain components.

Do I need to use Kotlin and Hilt to standardize my Android shared library modules?

Yes, you need Kotlin and Hilt to standardize Android shared library modules. The standardization process specifically generates Kotlin-based build.gradle.kts files and Hilt dependency injection modules to maintain multi-module project integrity and ensure proper dependency injection.

Why does adding new domain modules cause architectural drift in Android projects?

Adding new domain modules causes architectural drift because manual boilerplate creation often ignores strict dependency rules, such as depending on core:common and using DispatcherProvider. Standardized scaffolding prevents this by enforcing project-specific dependency directions and naming conventions automatically.

When do I need to generate a new core module for an Android feature like user-preferences?

You need to generate a new core module when adding a data layer for a feature like user-preferences or network-sync. This provides the exact template to maintain your multi-module project integrity and ensures consistent Hilt dependency injection and architectural structure.