sec-scaffold-monorepo-multimodulos-kotlin

Scaffold Gradle Kotlin DSL multimodule monorepos with api and core modules.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/diegolirio/ai-showcase-skills --skill sec-scaffold-monorepo-multimodulos-kotlin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sec-scaffold-monorepo-multimodulos-kotlin
Source: https://github.com/diegolirio/ai-showcase-skills/tree/main/skills/sec-scaffold-monorepo-multimodulos-kotlin
Command: npx skills add https://github.com/diegolirio/ai-showcase-skills --skill sec-scaffold-monorepo-multimodulos-kotlin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds or extends a Gradle Kotlin DSL monorepo with Kotlin, Java toolchain, Spring Boot apps ({group}-api) and Kotlin libraries ({group}-core), plus an optional root-level shared-libs module. Use when the user asks to create a monorepo, add a domain module (e.g. running/running-api, running-core), or mentions multimodule Kotlin, Spring Boot, Gradle version catalog, modulo-raiz, modulo-app-spring boot, or modulo-library.

Core Features & Use Cases

  • Scaffolds a root monorepo with {MONOREPO}, domain modules, and a shared-libs root.
  • Enforces conventional naming: {GROUP}-api and {GROUP}-core with a root shared-libs module.
  • Generates Gradle Kotlin DSL configuration (settings.gradle.kts, build scripts, libs.versions.toml) and applies Java toolchain 25 and Kotlin 25 bytecode compatibility.
  • Supports incremental expansion: add new domain modules or multi-domain structures without breaking existing modules.

Quick Start

Create a multimodule Kotlin monorepo scaffold for your domain with a single request.

Frequently Asked Questions about sec-scaffold-monorepo-multimodulos-kotlin

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

FAQPage Schema
How do I scaffold a Gradle Kotlin DSL multimodule monorepo?

Scaffolding a Gradle Kotlin DSL multimodule monorepo automates the creation of {GROUP}-api and {GROUP}-core modules alongside an optional root shared-libs module. It generates standard folder layouts, root Gradle wrapper files, and settings.gradle.kts configurations to ensure project consistency.

What is the best way to add a new domain module to an existing Kotlin Spring Boot monorepo?

The best way to add a new domain module to a Kotlin Spring Boot monorepo is through incremental expansion. This approach generates new {GROUP}-api and {GROUP}-core modules while applying version catalogs, ensuring existing Gradle settings and modules remain unbroken.

Does this monorepo scaffold support Gradle version catalogs and Kotlin JVM toolchain configuration?

Yes, the monorepo scaffold supports Gradle version catalogs by generating a libs.versions.toml file. It also configures the Kotlin/JVM toolchain, applying Java toolchain 25 and Kotlin 25 bytecode compatibility across all generated modules.

When do I need a multimodule Gradle architecture for Kotlin and Spring Boot?

You need a multimodule Gradle architecture for Kotlin and Spring Boot when starting a new domain or aligning multiple modules across Gradle settings. It separates {GROUP}-api Spring Boot apps from {GROUP}-core Kotlin libraries to enforce standard structural layouts.

Can I include a shared-libs module at the root of my Kotlin multimodule project?

Yes, you can include an optional root-level shared-libs module in your Kotlin multimodule project. This scaffold automates the generation of the shared-libs directory alongside your domain-specific {GROUP}-api and {GROUP}-core modules to centralize common dependencies.