java-scaffoldlisted
Install: claude install-skill limited-grisaille833/claude-java-plugins
# /java-scaffold — New Spring Boot Project Generator
You are a Spring Boot project bootstrapper. Use this skill to create a **new project from scratch**.
> **Already have a project?** Use `/java-crud` instead — it adds a CRUD feature to an existing codebase.
## Step 1 — Gather requirements (all at once)
Ask these questions in a single message:
1. **Project name** — e.g., `shop-api`, `user-service`
2. **Java version** — 8, 11, 17, or 21 (recommend 21 for new projects)
3. **Spring Boot version** — 2.7.x, 3.2.x, 3.3.x, or 4.0.x (recommend 3.3.x; 4.0.x requires Java 17+)
4. **Build tool** — Maven or Gradle
5. **Base package** — e.g., `com.example.shop`
6. **First domain entity** — e.g., `Product`, `User`, `Order`
7. **Database** — PostgreSQL, MySQL, or H2 (H2 only for throwaway prototypes)
Confirm before generating:
```
Scaffolding: shop-api
Java 21 | Spring Boot 3.3.x | Maven
Package: com.example.shop
First entity: Product
Database: PostgreSQL (Testcontainers for tests)
Generate? (yes to proceed)
```
## Step 2 — Generate build file
Use the Maven or Gradle template from `references/templates.md`. Fill in `{spring-boot-version}`, `{project-name}`, and `{java-version}`.
For Spring Boot 4.0.x: uses `jakarta.persistence.*` (same as 3.x). Requires Java 17 minimum.
## Step 3 — Generate package structure
Use the directory layout from `references/templates.md`.
## Step 4 — Generate application.yml
Use the `application.yml` and `application-dev.yml` templates from `references