Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jeffallan avatar

Java Architect

  • 4.6k installs
  • 10.8k repo stars
  • Updated May 20, 2026
  • jeffallan/claude-skills

java-architect is an agent skill for enterprise Spring Boot 3.x apps with WebFlux, JPA, OAuth2 JWT, and coverage gates.

About

The java-architect skill is an enterprise Java specialist for Spring Boot 3.x, microservices, and cloud-native development on Java 21 LTS. The six-step workflow covers architecture analysis, DDD domain design with boundary verification, Spring Boot implementation, JPA data layer optimization with ./mvnw verify query checks, Spring Security OAuth2 JWT configuration with filter chain tests, and quality assurance requiring 85 percent plus JaCoCo coverage before close. Must-do rules include Java 21 records and sealed classes, Flyway or Liquibase migrations, OpenAPI documentation, proper exception hierarchies, and externalized configuration. Must-not rules forbid deprecated Spring APIs, skipped validation, unencrypted sensitive data, blocking code in reactive apps, and ignored transaction boundaries. Reference guides load for spring-boot-setup, reactive-webflux, jpa-optimization, spring-security, and testing-patterns. Output templates ship WebFlux controllers, JOIN FETCH repositories, and OAuth2 resource server SecurityFilterChain examples with TestContainers guidance.

  • Six-step workflow from architecture analysis through 85 percent JaCoCo coverage gate.
  • Targets Java 21 LTS with Spring Boot 3.x, WebFlux, JPA, and OAuth2 JWT security.
  • Requires Flyway or Liquibase migrations and OpenAPI API documentation.
  • Provides WebFlux controller, JOIN FETCH repository, and SecurityFilterChain code templates.
  • Forbids blocking code in reactive apps and deprecated Spring API usage.

Java Architect by the numbers

  • 4,621 all-time installs (skills.sh)
  • +95 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #4 of 89 Java & JVM skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
At a glance

java-architect capabilities & compatibility

Capabilities
spring boot 3.x architecture workflow · webflux reactive endpoint implementation · jpa query optimization with join fetch · oauth2 jwt securityfilterchain configuration · testcontainers and 85 percent coverage gates
Works with
github
Use cases
api development · security audit · testing
From the docs

What java-architect says it does

Enterprise Java specialist focused on Spring Boot 3.x, microservices architecture, and cloud-native development using Java 21 LTS.
SKILL.md
Use blocking code in reactive applications
SKILL.md
npx skills add https://github.com/jeffallan/claude-skills --skill java-architect

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4.6k
repo stars10.8k
Security audit3 / 3 scanners passed
Last updatedMay 20, 2026
Repositoryjeffallan/claude-skills

How do I implement or debug enterprise Spring Boot services with correct reactive, JPA, and security patterns?

Build enterprise Spring Boot 3.x applications with WebFlux, JPA optimization, OAuth2 JWT security, and 85 percent test coverage gates.

Who is it for?

Java developers building Spring Boot 3.x microservices with WebFlux, JPA, and OAuth2 resource servers.

Skip if: Skip when you need API contract design only; use api-designer before java-architect implementation.

When should I use this skill?

User builds Spring Boot, Java microservices, WebFlux endpoints, JPA queries, or OAuth2 JWT security.

What you get

Production-ready Spring Boot code with migrations, OpenAPI docs, security filter chain, and 85 percent test coverage.

  • Domain models and DTOs
  • Service and repository layers
  • WebFlux or REST controllers with tests

By the numbers

  • Java 21 LTS target
  • 85 percent JaCoCo coverage gate
  • Spring Boot 3.x focus

Files

SKILL.mdMarkdownGitHub ↗

Java Architect

Enterprise Java specialist focused on Spring Boot 3.x, microservices architecture, and cloud-native development using Java 21 LTS.

Core Workflow

1. Architecture analysis - Review project structure, dependencies, Spring config 2. Domain design - Create models following DDD and Clean Architecture; verify domain boundaries before proceeding. If boundaries are unclear, resolve ambiguities before moving to implementation. 3. Implementation - Build services with Spring Boot best practices 4. Data layer - Optimize JPA queries, implement repositories; run ./mvnw verify -pl <module> to confirm query correctness. If integration tests fail: review Hibernate SQL logs, fix queries or mappings, re-run before proceeding. 5. Security & config - Apply Spring Security, externalize configuration, add observability; run ./mvnw verify after security changes to confirm filter chain and JWT wiring. If tests fail: check SecurityFilterChain bean order and token validation config, then re-run. 6. Quality assurance - Run ./mvnw verify (Maven) or ./gradlew check (Gradle) to confirm all tests pass and coverage reaches 85%+ before closing. If coverage is below threshold: identify untested branches via JaCoCo report (target/site/jacoco/index.html), add missing test cases, re-run.

Reference Guide

Load detailed guidance based on context:

TopicReferenceLoad When
Spring Bootreferences/spring-boot-setup.mdProject setup, configuration, starters
Reactivereferences/reactive-webflux.mdWebFlux, Project Reactor, R2DBC
Data Accessreferences/jpa-optimization.mdJPA, Hibernate, query tuning
Securityreferences/spring-security.mdOAuth2, JWT, method security
Testingreferences/testing-patterns.mdJUnit 5, TestContainers, Mockito

Constraints

MUST DO

  • Use Java 21 LTS features (records, sealed classes, pattern matching)
  • Apply database migrations (Flyway/Liquibase)
  • Document APIs with OpenAPI/Swagger
  • Use proper exception handling hierarchy
  • Externalize all configuration (never hardcode values)

MUST NOT DO

  • Use deprecated Spring APIs
  • Skip input validation
  • Store sensitive data unencrypted
  • Use blocking code in reactive applications
  • Ignore transaction boundaries

Output Templates

When implementing Java features, provide: 1. Domain models (entities, DTOs, records) 2. Service layer (business logic, transactions) 3. Repository interfaces (Spring Data) 4. Controller/REST endpoints 5. Test classes with comprehensive coverage 6. Brief explanation of architectural decisions

Code Examples

Minimal WebFlux REST Endpoint

@RestController
@RequestMapping("/api/v1/orders")
@RequiredArgsConstructor
public class OrderController {

    private final OrderService orderService;

    @GetMapping("/{id}")
    public Mono<ResponseEntity<OrderDto>> getOrder(@PathVariable UUID id) {
        return orderService.findById(id)
                .map(ResponseEntity::ok)
                .defaultIfEmpty(ResponseEntity.notFound().build());
    }

    @PostMapping
    @ResponseStatus(HttpStatus.CREATED)
    public Mono<OrderDto> createOrder(@Valid @RequestBody CreateOrderRequest request) {
        return orderService.create(request);
    }
}

JPA Repository with Optimized Query

public interface OrderRepository extends JpaRepository<Order, UUID> {

    // Avoid N+1: fetch association in one query
    @Query("SELECT o FROM Order o JOIN FETCH o.items WHERE o.customerId = :customerId")
    List<Order> findByCustomerIdWithItems(@Param("customerId") UUID customerId);

    // Projection to limit fetched columns
    @Query("SELECT new com.example.dto.OrderSummary(o.id, o.status, o.total) FROM Order o WHERE o.status = :status")
    Page<OrderSummary> findSummariesByStatus(@Param("status") OrderStatus status, Pageable pageable);
}

Spring Security OAuth2 JWT Configuration

@Configuration
@EnableMethodSecurity
public class SecurityConfig {

    @Bean
    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
        return http
                .csrf(AbstractHttpConfigurer::disable)
                .sessionManagement(s -> s.sessionCreationPolicy(STATELESS))
                .authorizeHttpRequests(auth -> auth
                        .requestMatchers("/actuator/health").permitAll()
                        .anyRequest().authenticated())
                .oauth2ResourceServer(oauth2 -> oauth2.jwt(Customizer.withDefaults()))
                .build();
    }
}

Knowledge Reference

Spring Boot 3.x, Java 21, Spring WebFlux, Project Reactor, Spring Data JPA, Spring Security, OAuth2/JWT, Hibernate, R2DBC, Spring Cloud, Resilience4j, Micrometer, JUnit 5, TestContainers, Mockito, Maven/Gradle

Documentation

Related skills

How it compares

java-architect is an agent skill for enterprise Spring Boot 3.x apps with WebFlux, JPA, OAuth2 JWT, and coverage gates, not a generic alternative.

FAQ

Who is java-architect for?

Enterprise Java developers implementing Spring Boot 3.x with reactive, data, and security best practices.

When should I use java-architect?

When implementing WebFlux APIs, optimizing JPA queries, or configuring OAuth2 JWT Spring Security.

Is java-architect safe to install?

Review the Security Audits panel on this page before installing in production.

Java & JVMbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.