spring
Installation
SKILL.md
Spring Skill
Assists with Spring Boot 3 patterns used throughout this project: bean wiring, configuration classes, service/controller/repository layering, and transaction management. All patterns follow the conventions established in src/main/java/com/example/api/.
Quick Start
To add a new component, follow the existing layer structure:
- Define a JPA entity in
entity/ - Create a
JpaRepositoryextension inrepository/ - Add a
@Serviceclass inservice/with@Transactional(readOnly = true)at class level - Expose via a
@RestControllerincontroller/, a GraphQL resolver ingraphql/, or an MCP tool inmcp/
Key Concepts
Constructor Injection via Lombok
All beans use @RequiredArgsConstructor — never @Autowired on fields.