Index of every page on this site: llms.txt
All skills
github avatar

/create-spring-boot-java-project

@f10fdb8 official
by githubgithub/awesome-copilot41k stars
5,399
Run it yourself

Create a new Spring Boot Java project (Maven or Gradle) from start.spring.io with sensible defaults for configuration, PostgreSQL, logging, security, testing and Docker. Use when asked to scaffold, bootstrap or generate a Spring Boot application. Detects existing project versions and never upgrades implicitly.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/create-spring-boot-java-project

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesspring-boot-4.md

≈551 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Spring Boot 3 vs 4 (when generating or editing code)

Detect the project's Spring Boot major first (see versions.md); apply only the section that matches. Verify against the Spring Boot 4.0 migration guide.

Baselines

Boot 3.x Boot 4.x
Spring Framework 6.x 7.x
Java 17+ 17+ (25 recommended)
Jakarta EE 10 11
Jackson 2 (com.fasterxml.jackson.databind) 3 (tools.jackson.databind)
Testcontainers 1.x 2.x

Things that commonly break in Boot 4

  1. Modular starters. Web is spring-boot-starter-webmvc (not -web), and each technology has a matching test starter (spring-boot-starter-webmvc-test, spring-boot-starter-data-jpa-test...). Generate with start.spring.io rather than guessing artifact names.
  2. Jackson 3. Only API classes move (tools.jackson.databind.ObjectMapper); annotations stay in com.fasterxml.jackson.annotation.
  3. Test annotations moved, for example @WebMvcTest is now org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest. @MockitoBean / @MockitoSpyBean replace @MockBean / @SpyBean (deprecated since 3.4 and removed in Boot 4; use the new ones everywhere Boot 3.4+ allows). See the spring-boot-testing skill.
  4. Testcontainers 2.x. Artifacts are prefixed (testcontainers-postgresql, testcontainers-junit-jupiter) and classes moved (org.testcontainers.postgresql.PostgreSQLContainer). With Boot 3 keep the 1.x names.
  5. Main class for AOT/native. If process-aot cannot find the main class, set <start-class> (Maven property) to the fully qualified @SpringBootApplication class.
  6. Make the generated TestcontainersConfiguration public if tests live in sub-packages.

Boot 3 projects

Stay on Boot 3 when the project is on Boot 3 (start.spring.io cannot generate new 3.x projects, see versions.md): use spring-boot-starter-web, org.testcontainers.containers.PostgreSQLContainer (Testcontainers 1.x), @MockBean, Jackson 2. Do not migrate unless asked; Boot 3.5 → 4.0 is a separate, deliberate upgrade.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1d5 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill scaffolds a Spring Boot project using official and well-known industry services with strong security best practices, including non-root Docker images and secure secret management instructions.

  • Socket1d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

  • Runlayer8mo

    1/1 file flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
  • spring-boot
  • java
  • maven
  • postgres
  • redis
  • mongodb
  • docker
  • scaffold

README badge

README badge for github/awesome-copilot/create-spring-boot-java-project

Scaffolds a Spring Boot 3.4.5 Maven project with Java 21, preconfigured with PostgreSQL, Redis, MongoDB, and Docker Compose services. Includes SpringDoc OpenAPI for API documentation and ArchUnit for architecture testing, with default credentials and port mappings ready to use.

Generated from the current SKILL.md.

What Java version does this skill require?
Java 21. The skill generates a Spring Boot 3.4.5 project configured for Java 21.
Can I customize the project name and Spring Boot version?
Yes. You can modify the `artifactId`, `packageName`, and `bootVersion` parameters in the download command before running it.
What databases and services are included?
The skill sets up PostgreSQL, Redis, and MongoDB via docker-compose, along with SpringDoc OpenAPI for API documentation and ArchUnit for architecture testing.
Do I need Docker installed?
Yes. The skill requires both Docker and Docker Compose to run the included database services (Redis, PostgreSQL, MongoDB).

Generated from the current SKILL.md. These answers refresh after source changes.