본문으로 건너뛰기
cccskills
무료GitHub에 공개

spring-boot-skill

Build Spring Boot 4.x applications following the best practices. Use this skill: * When developing Spring Boot applications using Spring MVC, Spring Data JPA, Spring Modulith, Spring Security * To create recommended Spring Boot package structure * To implement REST APIs, entities/repositories, service layer, modular monoliths * To use Thymeleaf view templates for building web applications * To write tests for REST APIs and Web applications * To write ArchUnit tests for testing architecture * To configure the recommended plugins and configurations to improve code quality, and testing while using Maven. * To use Spring Boot's Docker Compose support for local development * To create Taskfile for easier execution of common tasks while working with a Spring Boot application

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Docker
설치 방법 보기

포함된 파일(20)

  • SKILL.md6.1 KB
  • references/archunit.md3.2 KB
  • references/code-organization.md5.4 KB
  • references/spring-boot-docker-compose.md1.0 KB
  • references/spring-boot-maven-config.md5.2 KB
  • references/spring-boot-rest-api-testing.md9.0 KB
  • references/spring-boot-webapp-testing-with-mockmvctester.md3.6 KB
  • references/spring-data-jpa.md6.9 KB
  • references/spring-modulith.md3.6 KB
  • references/spring-service-layer.md3.4 KB
  • references/spring-webmvc-rest-api.md7.7 KB
  • references/taskfile.md2.1 KB
  • references/test-data-setup.md2.3 KB
  • references/testcontainers-wiring.md6.8 KB
  • references/testing-integration.md10.9 KB
  • references/testing-slices-persistence.md5.2 KB
  • references/testing-slices-web.md3.7 KB
  • references/testing-strategy.md7.6 KB
  • references/testing-unit-mocking.md2.9 KB
  • references/thymeleaf.md3.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Spring Boot Skill

Apply the practices below when developing Spring Boot applications. Read the linked reference only when working on that area.

Maven pom.xml Configuration

Read references/spring-boot-maven-config.md for Maven pom.xml configuration with supporting plugins and configurations to improve code quality, and testing.

Package structure

Read references/code-organization.md for domain-driven, module-based package layout and naming conventions.

Spring Data JPA

Implement the repository and entity layer using references/spring-data-jpa.md.

Service layer

Implement business logic in the service layer using references/spring-service-layer.md.

Spring MVC REST APIs

Implement REST APIs with Spring MVC using references/spring-webmvc-rest-api.md.

Spring Modulith

Build a modular monolith with Spring Modulith using references/spring-modulith.md.

Thymeleaf

If Thymeleaf is used for view templates, refer references/thymeleaf.md

Testing

Write tests at complementary levels — unit, sliced Spring tests, and at least one end-to-end/smoke test; the levels are not either/or. Most framework-touching tests belong at the fast sliced level (@SpringBootTest(classes = …) or a slice annotation); keep full-context @SpringBootTest for a smoke test plus a request-level end-to-end. For why the levels are complementary and how to keep a large suite fast (context caching, one container for the suite), read references/testing-strategy.md.

What you're testingLevelReference
Business/domain logic, no frameworkUnit (no Spring context)testing-unit-mocking.md
JPA / JDBC / JdbcClient / Spring Data JDBC / jOOQ queriesPersistence slice + Testcontainerstesting-slices-persistence.md
Controller, JSON serialization, or a REST clientWeb slice (@WebMvcTest/@JsonTest/@RestClientTest)testing-slices-web.md
A few components together, external HTTP (WireMock), or a startup/request-level smoke testSliced @SpringBootTest(classes = …) or smoke testtesting-integration.md
Full REST API over a real port, full BaseIT suite (RestTestClient)End-to-endspring-boot-rest-api-testing.md
A view-rendering controller (MockMvcTester)Web slicespring-boot-webapp-testing-with-mockmvctester.md
Wiring a container (@ServiceConnection / dynamic properties)—testcontainers-wiring.md

All persistence and integration tests use Testcontainers with a real database (never in-memory H2); see references/testcontainers-wiring.md for @ServiceConnection vs dynamic-property wiring.

Test Data Setup

Prefer SQL fixtures with @Sql("classpath:/test-data.sql") before every test method. When setting up data programmatically, prefer exposed Services or ModuleAPI classes over Repositories, JdbcTemplate, or JdbcClient. Unless absolutely necessary, avoid using JdbcTemplate, JdbcClient, or TransactionTemplate to execute SQL for test data setup, which couples tests to internal implementation details. Read references/test-data-setup.md when creating or changing test fixtures.

Write ArchUnit Tests

To write tests for testing the architecture using ArchUnit, refer references/archunit.md

Spring Boot Docker Compose Support

To use Docker Compose support for local development, refer references/spring-boot-docker-compose.md.

Taskfile

Use references/taskfile.md for easier commands execution.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Apply the changes from all open Renovate bot pull requests of a GitHub repository into the local working tree. Use this skill when asked to apply, merge locally, consolidate, batch, or try out Renovate/dependabot-style dependency update PRs so the combined upgrade can be built and tested in one go. This skill only modifies local files; it never commits, pushes, merges, or closes anything on GitHub.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sivaprasadreddy/sivalabs-agent-skills1902026년 10월 12일 업데이트

Review Java code for bugs, duplicate code, correctness risks, maintainability improvements, and missing tests. By default review files modified in git; when the user explicitly names files, classes, packages, or a diff, review that scope instead. Generate a detailed review.md report with actionable comments and fixes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sivaprasadreddy/sivalabs-agent-skills1902026년 10월 12일 업데이트

Use this skill when asked to perform any of the following actions in a Java project: - To add jspecify support - To prevent NullPointerExceptions - To better handle Nullability This skill will add jspecify dependency, configure Maven or Gradle build to automatically use jspecify for checking Nullability issues.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sivaprasadreddy/sivalabs-agent-skills1902026년 10월 12일 업데이트

Collaboratively design, implement, review, and refine software features with a human developer using an iterative pair programming workflow. Prioritize understanding, explicit approval, small reviewable changes, and synchronized specifications.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sivaprasadreddy/sivalabs-agent-skills1902026년 10월 12일 업데이트

progen

무료

Use when the user wants to create/generate/scaffold a new Spring Boot project (Maven or Gradle, REST API / Web App / Spring Boot + Angular full stack). Derives progen CLI inputs from the user's plain-English project description, asks for any missing mandatory info, ensures the progen binary is available, and runs it to generate the project. If the user asks for features progen doesn't support natively, generate the base project first, then add those features on top of the generated code.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sivaprasadreddy/sivalabs-agent-skills1902026년 10월 12일 업데이트

Verifies whether code follows Spring Modulith code structure or not. Show list of violations along with recommendations on how to fix them. Use this skill: * When reviewing Spring Boot applications which uses Spring Modulith * When verifying whether Spring Boot application code follows Spring Modulith package structure

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sivaprasadreddy/sivalabs-agent-skills1902026년 10월 12일 업데이트

sivaprasadreddy의 스킬 모두 보기

이 스킬의 문제 신고