criar-endpoint-rest

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically scaffolds a complete REST endpoint structure for a Kotlin + Spring Boot multi-module project, including domain, infrastructure, application, and presenter layers, saving engineers from repetitive boilerplate.

Core Features & Use Cases

  • Generates Route, Request, Command/Query, Handler, Result, domain Entity, and Repository artifacts following Kotlin + Spring Boot conventions.
  • Creates a Flyway migration skeleton, JPA mappings, and test scaffolds for end-to-end readiness.
  • Use Case: quickly bootstrap a REST endpoint for a new resource with full wiring in a multi-module architecture.

Quick Start

Scaffold a new endpoint by specifying the HTTP verb and path along with a sample request body, and let the tool generate all required files.

Frequently Asked Questions about criar-endpoint-rest

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

FAQPage Schema
How do I scaffold a REST endpoint in a Kotlin Spring Boot project?

You can scaffold a complete Kotlin Spring Boot REST endpoint by providing the HTTP verb, path, and a sample request body. It automatically generates Route, Request, Command/Query, Handler, Result, domain Entity, Repository, migration scripts, and tests across architectural layers.

What is DDD scaffolding for Kotlin Spring Boot multi-module architectures?

DDD scaffolding for Kotlin Spring Boot generates domain-driven design artifacts like domain Entities, Repositories, Commands, and Queries across multi-module layers. It enforces DDD conventions, validates naming consistency, and eliminates repetitive boilerplate code.

Does the generated endpoint scaffold include database migration scripts?

Yes, the generated endpoint scaffold includes a Flyway migration skeleton. Along with the REST endpoint files, it creates JPA mappings and test scaffolds to ensure the new resource is fully wired and ready for end-to-end usage.

Can I use this to bootstrap a multi-module Spring Boot REST endpoint with JPA mappings?

Yes, you can bootstrap a multi-module Spring Boot REST endpoint. It generates JPA mappings, Repository interfaces, and domain Entities across core, infrastructure, and presenter layers, ensuring full architectural wiring for new resources.

What's the best way to eliminate boilerplate when creating Spring Boot REST endpoints in Kotlin?

The best way to eliminate boilerplate is auto-scaffolding the complete REST endpoint structure. By specifying the HTTP verb, path, and sample request body, the tool generates all required files including Routes, Handlers, and Flyway migrations, saving engineers from repetitive manual setup.