Spring Boot 3 Enterprise Patterns is a development Claude Skill built by Walter Pogantsch. Best for: Enterprise Java engineers scaffold, test, and deploy Spring Boot microservices with observability and fail-state recovery procedures..
Execute production-grade Spring Boot 3+ applications using JDK 21, idiomatic patterns, and resilience patterns.
agents:
java-systems-specialist category: parallel description: 'Tactical Blueprint for production-grade Spring Boot 3+ applications. Focuses on procedural execution, tool-calling sequences, and idiomatic excellence.
' knowledge:
none name: building-spring-enterprise related_skills:
none templates:
none tools:
none type: skill version: 1.0.0 references:
none settings: auto_approve: false retry_limit: 3 timeout_seconds: 300 safe_to_parallelize: false orchestration_pattern: routing
This blueprint provides the procedural truth for engineering, testing, and deploying high-fidelity Spring Boot 3+ services in the Antigravity Agent Factory.
records, sealed classes, and switch expressions.Follow these procedures to build enterprise-grade Spring Boot applications:
Execute these steps in sequence to ensure standard factory hygiene:
mvn archetype:generate -Dfilter=antigravity-service-pattern (or use internal scaffold.py).src/main/java follows com.antigravity.[domain].[service] pattern.pom.xml contains the spring-boot-starter-validation and spring-boot-starter-actuator.@WebMvcTest for API or @DataJpaTest for Persistence).
mvn test -Dtest=MyFeatureTestrecord for DTOs. Never leak Entities through the Controller.mvn checkstyle:check and mvn pmd:check./actuator/health and /actuator/metrics are exposed but secured.logback-spring.xml with JSON output for ELK/Loki.| Symptom | Probable Cause | Recovery Operation |
| :--- | :--- | :--- |
| BeanDefinitionOverrideException | Duplicate bean names in context. | Check for @Component vs @Bean duplication in @Configuration classes. Use @Primary only as a last resort. |
| LazyInitializationException | Accessing proxy outside transaction. | Never use spring.jpa.open-in-view=true. Use DTO mapping within the @Service layer or EntityGraph. |
| ConnectionTimeout | DB Pool saturation. | Check hikari.maximum-pool-size. Verify all DB streams/connections are within try-with-resources. |
public record UserResponse(
UUID id,
@NotBlank String username,
@Email String email,
LocalDateTime createdAt
) {}
@Service
@RequiredArgsConstructor
@Transactional(readOnly = true)
public class OrderService {
private final ObservationRegistry observationRegistry;
@Transactional
public OrderResponse placeOrder(OrderRequest request) {
return Observation.createNotStarted("order.place", observationRegistry)
.observe(() -> {
// Business logic here
return new OrderResponse(...);
});
}
}
| Action | Command |
| :--- | :--- |
| Build & Check | mvn clean verify |
| Fast Test Loop | mvn test -DskipITs |
| Check Vulnerabilities | mvn ossindex:audit |
| Format Code | mvn spotless:apply |
Use this blueprint whenever building, refactoring, or debugging a Java/Spring service. It is the authoritative source for "How we build" vs "What Spring is."
/plugin install spring-boot-3-enterprise-patterns@gitwalterRequires Claude Code CLI.
Enterprise Java engineers scaffold, test, and deploy Spring Boot microservices with observability and fail-state recovery procedures.
No reviews yet. Be the first to review this skill.
Walter Pogantsch
@gitwalter