옵션
집집 Skill DevOps 및 CI/CD create-spring-boot-java-project

create-spring-boot-java-project

github/awesome-copilot github/awesome-copilot

Spring Boot 자바 프로젝트 스켈릿 생성하기

...모든 것을 확장하십시오
59
업데이트 된 시간 2026년 6월 30일

create-spring-boot-java-project에 대하여

create-spring-boot-java-project 기술은 Spring Boot Java 프로젝트의 설정을 자동화하여 프로젝트 개발의 초기 단계를 간소화하도록 설계되었습니다. 필수적인 구성 요소와 의존성이 포함된 준비된 템플릿을 제공함으로써, 이 기술은 처음부터 새로운 Spring Boot 프로젝트를 만드는 데 필요한 수동 작업을 줄여줍니다. 이를 통해 프로젝트가 올바른 구조로 설정되고, Docker 및 Docker Compose와 같은 현대적인 Java 개발에 필요한 프레임워크와 도구가 갖춰지도록 보장합니다.

이 기술의 주요 기능으로는 미리 정의된 의존성이 포함된 Spring Boot 스타터 템플릿 다운로드, Java 21 호환성 설정, Redis, PostgreSQL, MongoDB와 같은 핵심 서비스 구성 등이 있습니다. 또한 API 문서화를 위한 SpringDoc과 ArchUnit과 같은 추가 테스트 프레임워크도 포함되어 있습니다. 이 기술은 사용자가 프로젝트 파일을 압축 해제하고, 임시 파일을 삭제하며, pom.xml에 추가 의존성을 설정하고, application.properties에 연결 및 프레임워크 관련 설정을 적용하는 과정을 안내합니다. 더불어, 필수한 백엔드 서비스를 신속하게 시작할 수 있도록 Docker Compose 설정도 제공합니다.

이 기술은 새로운 Spring Boot 프로젝트를 자주 시작하는 Java 개발자, DevOps 엔지니어 및 소프트웨어 팀에게 특히 유용합니다. 여러 프로젝트에서 일관성을 유지하면서 설정 시간을 최소화하고자 하는 사람들에게 이상적입니다. 또한 교육 목적으로도 활용할 수 있으며, 학생이나 초보자가 현대적인 개발 방식과 통합된 서비스를 사용하여 완전한 Spring Boot 프로젝트 환경을 빠르게 설정하는 데 도움이 됩니다.

자주 묻는 질문

이 기술을 사용하려면 어떤 소프트웨어를 설치해야 하나요?

이 기술을 효과적으로 사용하려면 Java 21, Docker, Docker Compose가 시스템에 설치되어 있어야 합니다.

프로젝트 이름과 패키지 이름을 커스터마이징할 수 있나요?

네, 템플릿 다운로드 설정에서 artifactId를 변경하여 프로젝트 이름을, packageName을 업데이트하여 패키지 이름을 커스터마이징할 수 있습니다.

프로젝트의 Spring Boot 버전을 어떻게 업데이트하나요?

템플릿 다운로드 명령어에서 bootVersion 파라미터를 변경하여 원하는 Spring Boot 버전을 지정할 수 있습니다.

생성된 프로젝트에는 미리 정의된 의존성이 포함되어 있나요?

네, 프로젝트에는 Lombok, web, JPA, PostgreSQL, Redis, MongoDB, 유효성 검사, 캐싱 및 테스트 컨테이너와 같은 의존성이 포함되어 있습니다. SpringDoc과 ArchUnit과 같은 추가 의존성은 pom.xml에 수동으로 추가됩니다.

이 기술은 데이터베이스 서비스를 자동으로 설정해 주나요?

네, docker-compose.yaml 설정 파일을 포함하고 있어서 Redis, PostgreSQL, MongoDB가 기본 비밀번호와 매핑된 포트로 자동으로 시작됩니다.

GitHub에서 보기

Create Spring Boot Java project prompt

  • Please make sure you have the following software installed on your system:

    • Java 21
    • Docker
    • Docker Compose
  • If you need to custom the project name, please change the artifactId and the packageName in download-spring-boot-project-template

  • If you need to update the Spring Boot version, please change the bootVersion in download-spring-boot-project-template

Check Java version

  • Run following command in terminal and check the version of Java
java -version

Download Spring Boot project template

  • Run following command in terminal to download a Spring Boot project template
curl https://start.spring.io/starter.zip \  -d artifactId=${input:projectName:demo-java} \  -d bootVersion=3.4.5 \  -d dependencies=lombok,configuration-processor,web,data-jpa,postgresql,data-redis,data-mongodb,validation,cache,testcontainers \  -d javaVersion=21 \  -d packageName=com.example \  -d packaging=jar \  -d type=maven-project \  -o starter.zip

Unzip the downloaded file

  • Run following command in terminal to unzip the downloaded file
unzip starter.zip -d ./${input:projectName:demo-java}

Remove the downloaded zip file

  • Run following command in terminal to delete the downloaded zip file
rm -f starter.zip

Change directory to the project root

  • Run following command in terminal to change directory to the project root
cd ${input:projectName:demo-java}

Add additional dependencies

  • Insert springdoc-openapi-starter-webmvc-ui and archunit-junit5 dependency into pom.xml file
<dependency>  <groupId>org.springdoc</groupId>  <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>  <version>2.8.6</version></dependency><dependency>  <groupId>com.tngtech.archunit</groupId>  <artifactId>archunit-junit5</artifactId>  <version>1.2.1</version>  <scope>test</scope></dependency>

Add SpringDoc, Redis, JPA and MongoDB configurations

  • Insert SpringDoc configurations into application.properties file
# SpringDoc configurationsspringdoc.swagger-ui.doc-expansion=nonespringdoc.swagger-ui.operations-sorter=alphaspringdoc.swagger-ui.tags-sorter=alpha
  • Insert Redis configurations into application.properties file
# Redis configurationsspring.data.redis.host=localhostspring.data.redis.port=6379spring.data.redis.password=rootroot
  • Insert JPA configurations into application.properties file
# JPA configurationsspring.datasource.driver-class-name=org.postgresql.Driverspring.datasource.url=jdbc:postgresql://localhost:5432/postgresspring.datasource.username=postgresspring.datasource.password=rootrootspring.jpa.hibernate.ddl-auto=updatespring.jpa.show-sql=truespring.jpa.properties.hibernate.format_sql=true
  • Insert MongoDB configurations into application.properties file
# MongoDB configurationsspring.data.mongodb.host=localhostspring.data.mongodb.port=27017spring.data.mongodb.authentication-database=adminspring.data.mongodb.username=rootspring.data.mongodb.password=rootrootspring.data.mongodb.database=test

Add docker-compose.yaml with Redis, PostgreSQL and MongoDB services

  • Create docker-compose.yaml at project root and add following services: redis:6, postgresql:17 and mongo:8.

    • redis service should have
      • password rootroot
      • mapping port 6379 to 6379
      • mounting volume ./redis_data to /data
    • postgresql service should have
      • password rootroot
      • mapping port 5432 to 5432
      • mounting volume ./postgres_data to /var/lib/postgresql/data
    • mongo service should have
      • initdb root username root
      • initdb root password rootroot
      • mapping port 27017 to 27017
      • mounting volume ./mongo_data to /data/db

Add .gitignore file

  • Insert redis_data, postgres_data and mongo_data directories in .gitignore file

Run Maven test command

  • Run maven clean test command to check if the project is working
./mvnw clean test

Run Maven run command (Optional)

  • (Optional) docker-compose up -d to start the services, ./mvnw spring-boot:run to run the Spring Boot project, docker-compose rm -sf to stop the services.

Let's do this step by step

모든 파일

1개 파일

create-spring-boot-java-project 설치

스킬 파일을 다운로드하여 .claude/skills/ 디렉터리에 압축 해제하세요.

ZIP 다운로드

저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.

git clone https://github.com/github/awesome-copilot/blob/main/skills/create-spring-boot-java-project/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

복사 복사
빠른 설정: 스킬 폴더를 .claude/skills/Claude로 복사하면 자동으로 스킬을 감지하여 사용합니다.

관련 스킬

Verification &amp; Quality Assurance
업데이트 된 시간 2026년 6월 29일
klingai-upgrade-migration
업데이트 된 시간 2026년 7월 3일
base44-cli
업데이트 된 시간 2026년 6월 29일
Railway CLI Management
업데이트 된 시간 2026년 7월 2일
OR