spring-boot-project-creator
Creates and scaffolds a new Spring Boot project (3.x or 4.x) by downloading from Spring Initializr, generating package structure (DDD or Layered architecture), configuring JPA, SpringDoc OpenAPI, and Docker Compose services (PostgreSQL, Redis, MongoDB). Use when creating a new Java Spring Boot project from scratch, bootstrapping a microservice, or initializing a backend application.
Security Assessment
About spring-boot-project-creator
This skill scaffolds a new Spring Boot project (3.x or 4.x) from scratch by downloading a base project from the Spring Initializr API and then generating a standardized package structure and configuration. It solves the boilerplate-heavy task of bootstrapping a backend service by walking the user through project parameters, letting them choose an architecture style, and wiring in data stores and local infrastructure so the result is a build-ready project.
The workflow gathers configuration through AskUserQuestion (group ID, artifact ID, package name, Spring Boot and Java versions, architecture, Docker services, and build tool) with sensible defaults, then uses curl to download the scaffold from start.spring.io with a base set of dependencies (web, validation, data-jpa, testcontainers) plus conditional ones for PostgreSQL, Redis, or MongoDB. It generates either a Layered (controller/service/repository/model) or DDD (domain/application/infrastructure/presentation) package layout, creates placeholder classes such as OpenAPI configuration, a global exception handler, and a standard error-response record, configures application.properties for the selected data stores, and sets up Docker Compose for local development.
It targets Java backend developers starting a new Spring Boot application, bootstrapping a microservice, or initializing a backend with JPA, SpringDoc OpenAPI, and containerized dependencies. Prerequisites include a JDK (17+, Java 21 recommended), Maven, Docker and Docker Compose, and curl/unzip. The skill declares Read, Write, Edit, Bash, Glob, Grep, and AskUserQuestion; its Bash usage centers on downloading the official Initializr archive and creating project files.
FAQ
What does it generate?
A build-ready Spring Boot 3.x or 4.x project downloaded from Spring Initializr, with a chosen package structure, JPA, SpringDoc OpenAPI, application.properties, placeholder classes, and Docker Compose for local data stores.
What architecture styles are supported?
Two: a Layered structure (controller, service, repository, model) or a Domain-Driven Design structure (domain, application, infrastructure, presentation).
What are the prerequisites?
A JDK 17 or newer (Java 21 recommended), Apache Maven, Docker and Docker Compose for local services, and curl and unzip to download and extract the Initializr archive.
Which data stores can it configure?
PostgreSQL, Redis, and MongoDB, selectable individually; each adds the matching Spring dependency and Docker Compose service plus application.properties entries.
Where does the base project come from?
It is downloaded from the official Spring Initializr service at start.spring.io using curl, then customized locally.
Install spring-boot-project-creator
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
giuseppe-trisciuoglio/developer-kit