crud-kotlin

Scaffold REST CRUD endpoints with DDD layers for Kotlin Spring Boot projects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds a complete REST CRUD endpoint for Kotlin + Spring Boot multi-module projects, reducing boilerplate and ensuring a consistent architecture across layers.

Core Features & Use Cases

  • Generates domain, application, infrastructure, and presenter layers following a clean DDD layered structure.
  • Creates Flyway migrations, domain entities, repositories, JPA mappings, commands/queries, handlers, presenters, routes, and tests.
  • Enforces project bootstrapping with the recommended setup-kotlin-gradle workflow for MVP/CRUD scaffolding.

Quick Start

Boot up a base Kotlin-Spring project and generate a new endpoint by describing the HTTP method, path, and example JSON in one command.

Frequently Asked Questions about crud-kotlin

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

FAQPage Schema
How do I generate a complete REST CRUD endpoint for a Kotlin Spring Boot project?

To scaffold REST CRUD endpoints for Kotlin Spring Boot, you generate domain, application, infrastructure, and presenter layers. This creates entities, repositories, JPA mappings, commands, handlers, routes, and tests while enforcing DDD layered architecture conventions across the multi-module project.

What is the best way to enforce DDD layered architecture in a multi-module Spring Boot application?

Enforcing DDD layered architecture in a multi-module Spring Boot application is achieved by generating distinct domain, application, infrastructure, and presenter layers. This scaffolding creates consistent Flyway migrations, JPA mappings, and handler structures to reduce boilerplate across CRUD operations.

Do I need a base project bootstrap before scaffolding Kotlin REST endpoints?

Yes, a base project bootstrap is required before scaffolding Kotlin REST endpoints. You must initialize the Kotlin Gradle multi-module project using the recommended setup workflow to establish the correct foundation before generating the domain, application, and infrastructure layers.

Can I generate Flyway migrations and JPA mappings together when scaffolding a Spring Boot endpoint?

Yes, you can generate Flyway migrations and JPA mappings together when scaffolding a Spring Boot endpoint. The end-to-end scaffolding process creates database migrations, domain entities, repositories, and JPA mappings alongside the required DDD architecture layers.

What does end-to-end REST scaffolding include for Kotlin Spring Boot multi-module projects?

End-to-end REST scaffolding for Kotlin Spring Boot multi-module projects includes generating domain entities, repositories, JPA mappings, commands, queries, handlers, presenters, routes, Flyway migrations, and tests. It ensures full CRUD operations across clean DDD layered structures.

How do I add a new CRUD endpoint by describing the HTTP method and path in Spring Boot?

To add a new CRUD endpoint by describing the HTTP method and path in Spring Boot, you use automated scaffolding to parse the input. This generates the matching presenter, route, application handler, and domain logic while maintaining the DDD layered architecture.