springboot-patterns
Spring Boot patterns including JPA repositories, REST controllers, layered services, and configuration
npx skills add rohitg00/awesome-claude-code-toolkit --skill springboot-patterns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Spring Boot Patterns ## Layered Architecture ``` src/main/java/com/example/app/ config/ # @Configuration beans controller/ # @RestController (thin, delegates to service) service/ # @Service (business logic) repository/ # @Repository (data access via JPA) model/ entity/ # @Entity JPA classes dto/ # Request/response DTOs mapper/ # MapStruct or manual mapping exception/ # @ControllerAdvice, custom exceptions security/ # SecurityFilterChain, JWT filters ``` Controllers handle HTTP concerns. Services contain business logic. Repositories handle persistence. ## REST Controller ```java @RestController @RequestMapping("/api/v1/orders") @RequiredArgsConstructor public class OrderController { private final OrderService orderService; @GetMapping public Page<OrderResponse> list( @RequestParam(defaultValue = "0") int page, @RequestParam(defaultValue = "20") int size) { return orderService.findAll(PageRequest.of(page, size)); } @PostMapping @ResponseStatus(HttpStatus.CREATED) public OrderResponse create(@Valid @RequestBody CreateOrderRequest request) { return orderService.create(request); } @GetMapping("/{id}") public OrderResponse getById(@PathVariable UUID id) { return orderService.findById(i
- Layered Architecture
- REST Controller
- JPA Entity and Repository
- Service Layer
- Global Exception Handler
- Anti-Patterns
- Checklist
What does the springboot-patterns skill do?
Spring Boot patterns including JPA repositories, REST controllers, layered services, and configuration
How do I install it?
Run `npx skills add rohitg00/awesome-claude-code-toolkit --skill springboot-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rohitg00/awesome-claude-code-toolkit, a repository with 2,438 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.