spring-boot-4-conventions

Community

Adopt Spring 7 / Boot 4 conventions.

Authorloiane
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Spring Framework 7 / Spring Boot 4 conventions codify modern idioms and defaults to keep Spring projects consistent, maintainable, and aligned with the latest platform capabilities.

Core Features & Use Cases

  • Package layout — by feature, not by layer, with public api at the feature boundary and typed sub-packages for internal classes.
  • Dependency injection — constructor injection only; avoid Lombok; enforce explicit constructors.
  • HTTP clients — prefer declarative HttpExchange clients for external calls and avoid RestTemplate.
  • Web layer and DTOs — controllers expose DTOs, validate inputs, and avoid returning entities.
  • Observability and configuration — per-module configuration properties, structured logging, and AOT-friendly setup.

Quick Start

Restructure your codebase to feature-based packages, switch to constructor injection, and implement HTTP clients using @HttpExchange to align with the conventions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: spring-boot-4-conventions
Download link: https://github.com/loiane/specs-driven-development-spring-angular/archive/main.zip#spring-boot-4-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.