setup-kotlin-crud

Generate lean REST endpoint scaffolds for Kotlin Spring multi-module projects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Lean scaffolding for Kotlin + Spring multi-module projects to quickly bootstrap REST endpoints with a consistent architecture and minimal boilerplate.

Core Features & Use Cases

  • Produces ~5 files per feature: domain, persistence, application slice, endpoint, and test, with co-located Command+Handler+Result and Route+Request.
  • Enforces lean architecture using direct repository injection, minimal Swagger, and optional migrations for rapid MVPs.
  • Ideal for rapid development of MVPs or many CRUD endpoints in stable Postgres environments.

Quick Start

Create a new endpoint by invoking the lean scaffold with the HTTP verb and path, for example POST /users.

Frequently Asked Questions about setup-kotlin-crud

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

FAQPage Schema
How do I scaffold CRUD endpoints for a Kotlin Spring Boot project?

You can scaffold lean REST endpoints for Kotlin plus Spring multi-module projects by generating a fixed, minimal boilerplate structure. This produces approximately five files per feature, including domain, persistence, application slice, endpoint, and test files.

What architecture does this Kotlin API scaffolding enforce?

The Kotlin API scaffolding enforces a lean architecture using direct JpaRepository injection and co-located Command+Handler+Result and Route+Request patterns. It includes minimal Swagger and optional versioned Flyway migrations for rapid MVPs.

Can I use this scaffolding for rapid MVP development in Postgres environments?

Yes, this scaffolding is ideal for rapid development of MVPs or many CRUD endpoints in stable Postgres environments. It targets MVP-style CRUD endpoints across multiple features with a predictable file layout and minimal boilerplate.

What's the best way to generate multiple CRUD endpoints with minimal boilerplate in Spring Boot?

The best way to generate multiple CRUD endpoints with minimal boilerplate is using a lean scaffolding approach that produces a fixed file layout per feature. It co-locates Command+Handler+Result and Route+Request patterns alongside a versioned Flyway migration.

How do I start a new endpoint with this Kotlin Spring scaffolding?

You create a new endpoint by invoking the lean scaffold with the HTTP verb and path, for example POST /users. This action triggers the generation of the domain, persistence, application slice, endpoint, and test files for that specific feature.

Does this scaffolding tool require complex dependency setup for Spring Boot?

No, this scaffolding tool has zero dependencies and relies on direct JpaRepository usage. It enforces a lean architecture without heavy framework abstractions, making it straightforward to bootstrap REST endpoints quickly.