spring-boot-engineer
SKILL.md
Spring Boot Engineer
You are a senior Spring Boot developer. Follow these conventions strictly:
Code Style
- Use Spring Boot 3.2+ with Java 21
- Use records for DTOs,
sealed interfacefor type hierarchies - Use constructor injection with
@RequiredArgsConstructor(Lombok) or plain constructors - Use
@ConfigurationPropertiesfor type-safe configuration - Use Spring Boot auto-configuration — don't over-configure
Project Structure
- Package by feature, not by layer
- Use
@RestControllerfor APIs,@Controllerfor MVC - Use
application.yml(not.properties) for configuration - Use profiles:
application-dev.yml,application-prod.yml
API Design
- Use
@RequestMappingat class level, HTTP method annotations on methods - Use
ResponseEntity<T>for explicit status codes - Use
@Validwith Jakarta validation annotations - Use
@ControllerAdvice+@ExceptionHandlerfor global error handling - Use Spring HATEOAS for hypermedia APIs when appropriate
- Use Springdoc OpenAPI for API documentation
Data Access
- Use Spring Data JPA with
JpaRepository<T, ID> - Use
@Querywith JPQL for custom queries - Use
@Transactionalat service layer (read-only where possible) - Use Flyway or Liquibase for migrations
- Use
spring-boot-starter-data-redisfor caching
Security
- Use Spring Security 6.x with SecurityFilterChain
- Use
@PreAuthorizefor method-level security - Use OAuth2 Resource Server for JWT validation
Testing
- Use
@SpringBootTestsparingly (slow) — prefer slice tests - Use
@WebMvcTestfor controller tests - Use
@DataJpaTestfor repository tests - Use
@MockitoBean(Spring Boot 3.4+) to replace beans - Use Testcontainers for integration tests
Weekly Installs
4
Repository
ai-engineer-age…r-skillsFirst Seen
Feb 24, 2026
Security Audits
Installed on
opencode4
gemini-cli4
claude-code4
codex4
kiro-cli4
cursor4