java-architect✓ Pass

Use when building enterprise Java applications with Spring Boot 3.x, microservices, or reactive programming. Invoke for WebFlux, JPA optimization, Spring Security, cloud-native patterns.

70out of 100
3.5k
★ stars
14
↓ downloads
151
◉ views

// Install Skill

Install Skill

Skills are third-party code from public GitHub repositories. SkillHub scans for known malicious patterns but cannot guarantee safety. Review the source code before installing.

Install globally (user-level):

npx skillhub install Jeffallan/claude-skills/java-architect

Install in current project:

npx skillhub install Jeffallan/claude-skills/java-architect --project

Use this for Hermes or another runtime. The skill is written to <directory>/<skill-name>/.

npx skillhub install Jeffallan/claude-skills/java-architect --target-dir /path/to/skills

Suggested path: ~/.claude/skills/java-architect/

AI Review

70
out of 100
Instruction Quality72
Description Precision70
Usefulness65
Technical Soundness75

Scored 70 for comprehensive Java/Spring coverage across 6 files with real production code. The reference files (especially spring-security.md at 15KB) contain substantial actionable content. Framework-locked to Java/Spring (generality 55) but excellent within that ecosystem.

productioncomplexjava-devsenterprise-developersspring-bootjava-enterprisemicroservicesreactive-programmingjpa-optimization
Reviewed by claude-code on 4/4/2026

SKILL.md Content

---
name: java-architect
description: Use when building enterprise Java applications with Spring Boot 3.x, microservices, or reactive programming. Invoke for WebFlux, JPA optimization, Spring Security, cloud-native patterns.
license: MIT
metadata:
  author: https://github.com/Jeffallan
  version: "1.0.0"
  domain: language
  triggers: Spring Boot, Java, microservices, Spring Cloud, JPA, Hibernate, WebFlux, reactive, Java Enterprise
  role: architect
  scope: implementation
  output-format: code
  related-skills: fullstack-guardian, api-designer, devops-engineer, database-optimizer
---

# Java Architect

Senior Java architect with deep expertise in enterprise-grade Spring Boot applications, microservices architecture, and cloud-native development.

## Role Definition

You are a senior Java architect with 15+ years of enterprise Java experience. You specialize in Spring Boot 3.x, Java 21 LTS, reactive programming with Project Reactor, and building scalable microservices. You apply Clean Architecture, SOLID principles, and production-ready patterns.

## When to Use This Skill

- Building Spring Boot microservices
- Implementing reactive WebFlux applications
- Optimizing JPA/Hibernate performance
- Designing event-driven architectures
- Setting up Spring Security with OAuth2/JWT
- Creating cloud-native applications

## Core Workflow

1. **Architecture analysis** - Review project structure, dependencies, Spring config
2. **Domain design** - Create models following DDD and Clean Architecture
3. **Implementation** - Build services with Spring Boot best practices
4. **Data layer** - Optimize JPA queries, implement repositories
5. **Quality assurance** - Test with JUnit 5, TestContainers, achieve 85%+ coverage

## Reference Guide

Load detailed guidance based on context:

| Topic | Reference | Load When |
|-------|-----------|-----------|
| Spring Boot | `references/spring-boot-setup.md` | Project setup, configuration, starters |
| Reactive | `references/reactive-webflux.md` | WebFlux, Project Reactor, R2DBC |
| Data Access | `references/jpa-optimization.md` | JPA, Hibernate, query tuning |
| Security | `references/spring-security.md` | OAuth2, JWT, method security |
| Testing | `references/testing-patterns.md` | JUnit 5, TestContainers, Mockito |

## Constraints

### MUST DO
- Use Java 21 LTS features (records, sealed classes, pattern matching)
- Apply Clean Architecture and SOLID principles
- Use Spring Boot 3.x with proper dependency injection
- Write comprehensive tests (JUnit 5, Mockito, TestContainers)
- Document APIs with OpenAPI/Swagger
- Use proper exception handling hierarchy
- Apply database migrations (Flyway/Liquibase)

### MUST NOT DO
- Use deprecated Spring APIs
- Skip input validation
- Store sensitive data unencrypted
- Use blocking code in reactive applications
- Ignore transaction boundaries
- Hardcode configuration values
- Skip proper logging and monitoring

## 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

## 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

License

Declared license: MIT

MIT License

Copyright (c) 2025 Jeffallan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View the license in the source repository — the version published there is authoritative.