setup-kotlin-gradle

Scaffold a Kotlin and Spring Boot multi-module project with Gradle Kotlin DSL.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds a ready-to-use Kotlin + Spring Boot multi-module project skeleton, saving time by automating the base architecture setup.

Core Features & Use Cases

  • Generates the base layout (buildingBlocks, core, presenter-api, presenter-consumer, presenter-job)
  • Creates root build files, settings, and base contracts (Entity, Id, Command, Query, BusinessRule, Result)
  • Configures PostgreSQL + Flyway, docker-compose and Makefile for local development
  • Useful for starting new Kotlin/Spring projects; REST endpoints are generated by complementary skills such as setup-kotlin-crud or crud-kotlin.

Quick Start

Provide a project name when prompted and run the skill to scaffold the monorepo Kotlin + Spring Boot skeleton.

Frequently Asked Questions about setup-kotlin-gradle

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

FAQPage Schema
How do I scaffold a Kotlin Spring Boot multi-module Gradle project?

To scaffold a Kotlin Spring Boot multi-module Gradle project, you can use an automated skill that generates the base layout, root build files, and Docker configuration. It structures your monorepo with buildingBlocks, core, and presenter modules.

What is included in a Kotlin Gradle monorepo skeleton for local development?

A Kotlin Gradle monorepo skeleton includes base contracts like Entity, Id, Command, and Query. It also configures PostgreSQL with Flyway, a docker-compose file, and a Makefile to streamline your local development environment setup.

Can I generate REST endpoints when setting up a Spring Boot multimodule project?

This Spring Boot multimodule setup defers endpoint generation to complementary skills. It focuses on enforcing the modular layout and base architecture, allowing separate CRUD generation skills to handle REST endpoints later.

Does this Kotlin Gradle scaffold include database and Docker configuration?

Yes, the Kotlin Gradle scaffold includes database and Docker configuration. It automatically sets up PostgreSQL with Flyway for migrations and provides a docker-compose file to ensure your local development environment is ready to use.

What is the best way to structure a Kotlin Spring Boot monorepo with Gradle?

The best way to structure a Kotlin Spring Boot monorepo is by dividing it into buildingBlocks, core, and presenter modules. This separation enforces base contracts and modular layout before adding specific endpoint logic.