Spring Boot Feature Creation

Generate Spring Boot feature scaffolding with layered Kotlin architecture.

Updated May 7, 2026
One-click install
npx skills add https://github.com/lgzarturo/codeconductor --skill spring-boot-feature-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Spring Boot Feature Creation
Source: https://github.com/lgzarturo/codeconductor/tree/main/.agents/skills/spring-boot-feature
Command: npx skills add https://github.com/lgzarturo/codeconductor --skill spring-boot-feature-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides developers to build a complete Spring Boot feature with a clean, layered Kotlin architecture, ensuring consistency across entities, services, controllers, and tests.

Core Features & Use Cases

  • End-to-end feature scaffolding: entity, repository, service, controller, DTOs, and tests using established conventions.
  • Kotlin-first Spring Boot patterns: JPA mappings, Bean Validation, MockK testing, and versioned contracts for reliable development.
  • Robust error handling: domain exceptions and a shared GlobalExceptionHandler for predictable client responses.

Quick Start

Create the initial scaffolding for an entity and repository, then incrementally add service, controller, DTOs, and tests while following the defined conventions.

Frequently Asked Questions about Spring Boot Feature Creation

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

FAQPage Schema
How do I scaffold a complete Spring Boot REST API feature in Kotlin?

Scaffolding a Spring Boot REST API feature in Kotlin involves generating layered components: JPA entities, Spring Data repositories, transactional services, DTOs with validation, and REST controllers, followed by MockK test suites for reliable development.

What is the standard layered architecture for a Spring Boot feature?

Standard Spring Boot layered architecture separates concerns into JPA entities, repositories, transactional services, DTOs with Bean Validation, and REST controllers, while a GlobalExceptionHandler maps domain exceptions to predictable client responses.

How do I test Spring Boot controllers and services in Kotlin?

Testing Spring Boot controllers and services in Kotlin uses MockK to mock dependencies, verifying the behavior of transactional services and REST controllers while asserting that domain exceptions are properly mapped by the GlobalExceptionHandler.

Can I use MockK with Spring Boot to test JPA repositories and services?

Yes, MockK integrates with Spring Boot to test JPA repositories and transactional services, allowing you to mock dependencies and validate the behavior of layered Kotlin components and domain exception handling.

Does Spring Boot handle domain exceptions consistently across REST API features?

Spring Boot handles domain exceptions consistently by using a shared GlobalExceptionHandler that maps domain-specific exceptions to predictable client responses, ensuring uniform error handling across all REST controllers in the application.

When do I need DTOs with Bean Validation in a Spring Boot REST API?

DTOs with Bean Validation are needed in a Spring Boot REST API to enforce data integrity at the controller layer, ensuring that incoming request payloads are validated before being processed by transactional services and mapped to JPA entities.