Skip to main content
senior-java World-class Java and Spring Boot development skill for enterprise applications, microservices, and cloud-native systems. Expertise in Spring Framework, Spring Boot 3.x, Spring Cloud, JPA/Hibernate, and reactive programming with WebFlux. Includes project scaffolding, dependency management, security implementation, and performance optimization.
インストールへ移動 Skills Marketplace コミュニティが作成したAIスキルを発見・探索
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/benchflow-ai/skillsbench --skill senior-javaコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
Zipをダウンロード ダウンロード中... SkillsBench task PR review — classifies the task track (standard / research / multimodal), runs static policy checks against the track-specific rubric, benchmarks the task across oracle plus Claude and Codex (with and without skills), audits trajectories for cheating and skill invocation, and produces a `pr-N-task-timestamp-run.txt` review report alongside a `prN.zip` bundle of trajectories. Use when reviewing a SkillsBench task PR (by number, branch, or local task path), when the user asks to review a task, run benchmarks on a PR, audit a submission, classify a task as research or multimodal track, or prepare a comment to post on a SkillsBench PR.
name senior-java title Senior Java Skill Package description World-class Java and Spring Boot development skill for enterprise applications, microservices, and cloud-native systems. Expertise in Spring Framework, Spring Boot 3.x, Spring Cloud, JPA/Hibernate, and reactive programming with WebFlux. Includes project scaffolding, dependency management, security implementation, and performance optimization. domain engineering subdomain java-development difficulty advanced time-saved 60%+ on project scaffolding, 40% on security implementation frequency Daily for enterprise development teams use-cases ["Building enterprise Spring Boot applications with production-ready configuration","Designing microservices with Spring Cloud and service discovery","Implementing JPA/Hibernate data layers with optimized queries","Setting up Spring Security with OAuth2 and JWT authentication","Performance tuning JVM applications and reactive WebFlux systems"] related-agents ["cs-java-engineer"] related-skills ["senior-backend","senior-architect"] related-commands [] orchestrated-by ["cs-java-engineer"] dependencies {"scripts":["spring_project_scaffolder.py","dependency_analyzer.py","entity_generator.py","api_endpoint_generator.py","security_config_generator.py","performance_profiler.py"],"references":["spring-boot-best-practices.md","microservices-patterns.md","jpa-hibernate-guide.md","spring-security-reference.md","java-performance-tuning.md"],"assets":[]} compatibility Python 3.8+; platforms: macos, linux, windows tech-stack ["Java 17/21 LTS","Spring Boot 3.x","Spring Framework 6.x","Spring Cloud","Spring Security","Spring Data JPA","Hibernate ORM","Maven/Gradle","JUnit 5","Mockito","Docker","Kubernetes"] examples [{"title":"Spring Boot Project Scaffolding","input":"python scripts/spring_project_scaffolder.py my-service --type microservice --db postgresql","output":"Complete Spring Boot 3.x project with layered architecture, Docker setup, and CI/CD pipeline"},{"title":"Entity Generation","input":"python scripts/entity_generator.py User --fields 'id:Long,email:String,name:String,createdAt:LocalDateTime'","output":"JPA entity with repository, service, controller, and DTO classes"}] stats {"downloads":0,"stars":0,"rating":0,"reviews":0} version v1.0.0 author Claude Skills Team contributors [] created "2025-12-16T00:00:00.000Z" updated "2025-12-16T00:00:00.000Z" license MIT tags ["java","spring-boot","spring-framework","microservices","jpa","hibernate","spring-cloud","webflux","enterprise","cloud-native","maven","gradle","api","backend"] featured false verified true
Senior Java
World-class Java and Spring Boot development skill for enterprise applications, microservices, and cloud-native systems. Expertise in Spring Framework, Spring Boot 3.x, Spring Cloud, JPA/Hibernate, and reactive programming with WebFlux.
Overview
This skill provides production-ready Java and Spring Boot development capabilities through six Python automation tools and comprehensive reference documentation. Whether building enterprise monoliths, microservices architectures, or reactive systems, this skill ensures best practices, scalable architecture, and enterprise-grade security.
What This Skill Provides:
Spring Boot project scaffolding with layered architecture
JPA entity and repository generation with optimized queries
RESTful API endpoint scaffolding with proper error handling
Spring Security configuration (OAuth2, JWT, RBAC)
Dependency analysis and upgrade recommendations
JVM performance profiling and optimization guidance
Use this skill when:
Starting new Spring Boot projects or microservices
Implementing JPA/Hibernate data layers
Designing RESTful APIs with Spring MVC or WebFlux
Setting up authentication and authorization
Optimizing JVM and application performance
Reviewing Java code for quality and patterns
Core Value: Save 60%+ time on project scaffolding while ensuring enterprise-grade architecture, security compliance, and performance optimization.
Core Capabilities
Spring Boot Scaffolding - Generate production-ready Spring Boot 3.x projects with layered architecture, Docker configuration, and CI/CD pipelines
Entity Generation - Create JPA entities with repositories, services, controllers, DTOs, and mappers following DDD patterns
API Development - Scaffold RESTful endpoints with validation, error handling, pagination, and OpenAPI documentation
Security Implementation - Configure Spring Security with OAuth2, JWT, role-based access control, and security best practices
Dependency Management - Analyze dependencies for vulnerabilities, outdated versions, and upgrade paths
Performance Optimization - Profile JVM applications, identify bottlenecks, and generate optimization recommendations
Quick Start
Create Spring Boot Project
python scripts/spring_project_scaffolder.py order-service -- microservice --db postgresql
python scripts/spring_project_scaffolder.py ecommerce-app -- monolith --db mysql --security oauth2
python scripts/spring_project_scaffolder.py notification-service -- reactive --db mongodb
type
type
type
Generate JPA Entity
python scripts/entity_generator.py Product --fields "id:Long,name:String,price:BigDecimal,category:String,createdAt:LocalDateTime"
python scripts/entity_generator.py Order --fields "id:Long,customer:Customer,items:List<OrderItem>,total:BigDecimal" --relations "customer:ManyToOne,items:OneToMany"
Analyze Dependencies
python scripts/dependency_analyzer.py pom.xml --check-security
python scripts/dependency_analyzer.py build.gradle --output report.md
Access Documentation
Spring Boot patterns: references/spring-boot-best-practices.md
Microservices design: references/microservices-patterns.md
JPA/Hibernate guide: references/jpa-hibernate-guide.md
Security reference: references/spring-security-reference.md
Performance tuning: references/java-performance-tuning.md
Key Workflows
1. New Spring Boot Microservice
Scaffold Project - Generate microservice with Spring Boot 3.x, Docker, and CI/CD
python scripts/spring_project_scaffolder.py inventory-service --type microservice --db postgresql --security jwt
Configure Environment - Set up application.yml with profiles (dev, staging, prod)
cd inventory-service
Generate Entities - Create domain model with JPA entities
python scripts/entity_generator.py Inventory --fields "id:Long,productId:Long,quantity:Integer,warehouse:String"
python scripts/entity_generator.py InventoryMovement --fields "id:Long,inventory:Inventory,quantity:Integer,type:MovementType,timestamp:LocalDateTime"
Implement Business Logic - Add service layer logic and validation rules
Add Tests - Generate unit and integration tests
./mvnw test
./mvnw verify
Build and Deploy
./mvnw clean package -DskipTests
docker build -t inventory-service:latest .
2. REST API Development Time: 20-30 minutes per endpoint group
Design API Contract - Define endpoints following REST conventions
python scripts/api_endpoint_generator.py products --methods GET,POST,PUT,DELETE --paginated
Implement Validation - Add Jakarta validation annotations and custom validators
Configure Error Handling - Set up global exception handler with problem details (RFC 7807)
Add OpenAPI Documentation - Configure SpringDoc for automatic API docs
Test Endpoints - Generate integration tests with MockMvc or WebTestClient
3. JPA/Hibernate Optimization Time: 1-2 hours for complex data models
Analyze Current Queries - Profile repository methods for N+1 problems
python scripts/performance_profiler.py --analyze-queries src/
Optimize Fetch Strategies - Configure lazy/eager loading appropriately
Add Query Hints - Implement entity graphs and query hints for complex queries
Configure Caching - Set up Hibernate second-level cache with Hazelcast or Redis
Implement Pagination - Use Spring Data's Slice or Page for large datasets
4. Spring Security Implementation
Generate Security Config - Create security configuration for chosen auth method
python scripts/security_config_generator.py --type jwt --roles ADMIN,USER,MANAGER
Configure OAuth2/JWT - Set up token generation, validation, and refresh
Implement RBAC - Add role-based access control to endpoints
Add Method Security - Configure @PreAuthorize and @PostAuthorize annotations
Test Security - Generate security integration tests
Python Tools
spring_project_scaffolder.py Generate production-ready Spring Boot project structures with complete configuration.
Spring Boot 3.x with Java 17/21 support
Multiple project types (microservice, monolith, reactive)
Database configuration (PostgreSQL, MySQL, MongoDB, H2)
Docker and Docker Compose setup
GitHub Actions CI/CD pipeline
Layered architecture (controller, service, repository)
Lombok and MapStruct integration
python scripts/spring_project_scaffolder.py user-service --type microservice --db postgresql --security jwt
python scripts/spring_project_scaffolder.py ecommerce --type monolith --db mysql --security oauth2
python scripts/spring_project_scaffolder.py notification-service --type reactive --db mongodb
python scripts/spring_project_scaffolder.py --help
entity_generator.py Generate complete JPA entity stacks with repository, service, controller, and DTO.
JPA entity with Lombok annotations
Spring Data JPA repository with custom queries
Service layer with transaction management
REST controller with validation
DTO and mapper (MapStruct)
Relationship support (OneToMany, ManyToOne, ManyToMany)
python scripts/entity_generator.py Customer --fields "id:Long,name:String,email:String"
python scripts/entity_generator.py Order --fields "id:Long,customer:Customer,total:BigDecimal" --relations "customer:ManyToOne"
python scripts/entity_generator.py Product --fields "id:Long,name:String,price:BigDecimal" --auditable
python scripts/entity_generator.py --help
api_endpoint_generator.py Scaffold RESTful API endpoints with validation and documentation.
CRUD endpoint generation
Request/response DTOs
Jakarta validation annotations
OpenAPI annotations
Pagination support
Error handling
python scripts/api_endpoint_generator.py orders --methods GET,POST,PUT,DELETE
python scripts/api_endpoint_generator.py reports --methods GET --paginated
python scripts/api_endpoint_generator.py --help
security_config_generator.py Generate Spring Security configuration for various authentication methods.
JWT authentication setup
OAuth2 resource server configuration
Role-based access control
Method security configuration
CORS and CSRF configuration
Security filter chain
python scripts/security_config_generator.py --type jwt --roles ADMIN,USER
python scripts/security_config_generator.py --type oauth2 --issuer-uri https://auth.example.com
python scripts/security_config_generator.py --help
dependency_analyzer.py Analyze Maven/Gradle dependencies for vulnerabilities and updates.
Security vulnerability scanning
Outdated dependency detection
Upgrade path recommendations
Dependency tree analysis
License compliance checking
python scripts/dependency_analyzer.py pom.xml
python scripts/dependency_analyzer.py build.gradle --check-security
python scripts/dependency_analyzer.py pom.xml --output report.md
python scripts/dependency_analyzer.py --help
performance_profiler.py Profile JVM applications and generate optimization recommendations.
Query analysis for N+1 detection
Memory usage patterns
GC behavior analysis
Thread pool recommendations
Connection pool optimization
JVM flag recommendations
python scripts/performance_profiler.py --analyze-queries src/
python scripts/performance_profiler.py --profile http://localhost:8080/actuator
python scripts/performance_profiler.py src/ --output performance-report.md
python scripts/performance_profiler.py --help
Reference Documentation
When to Use Each Reference
Project structure and layered architecture
Configuration management with profiles
API design and error handling
Testing strategies (unit, integration, contract)
Production readiness (actuator, monitoring)
Service decomposition strategies
Spring Cloud components (Config, Gateway, Discovery)
Inter-service communication (REST, gRPC, messaging)
Distributed tracing and observability
Circuit breaker and resilience patterns
Entity design and mapping strategies
Repository patterns and custom queries
Fetch optimization and N+1 prevention
Caching strategies (first-level, second-level)
Transaction management
Authentication methods (JWT, OAuth2, SAML)
Authorization patterns (RBAC, ABAC)
Security filter chain configuration
Method security annotations
Security testing
JVM tuning and GC optimization
Connection pool configuration
Caching strategies
Async processing and virtual threads
Profiling and monitoring tools
Best Practices
Quality Standards
Code Coverage: Target 80%+ for business logic, 60%+ overall
API Documentation: 100% endpoint coverage with OpenAPI
Security Scanning: Zero critical/high vulnerabilities
Performance: P99 latency < 200ms for CRUD operations
Common Pitfalls to Avoid
N+1 Queries - Always use entity graphs or fetch joins for relationships
Missing Transactions - Ensure @Transactional on service methods modifying data
Blocking in WebFlux - Never use blocking calls in reactive pipelines
Hardcoded Configuration - Use externalized configuration with profiles
Missing Validation - Always validate input at controller layer
Open Sessions in View - Disable OSIV anti-pattern in production
Performance Metrics
Project scaffolding time (target: < 30 minutes)
Entity stack generation (target: < 5 minutes per entity)
Security setup time (target: < 1 hour)
Test coverage (target: 80%+)
Static analysis issues (target: 0 critical/high)
Documentation coverage (target: 100% public APIs)
P99 latency (target: < 200ms)
Throughput (target: > 1000 RPS per instance)
Memory efficiency (target: < 512MB heap for typical service)
Integration This skill works best with:
senior-backend - For general API patterns and database design
senior-architect - For system design and microservices architecture decisions
senior-devops - For CI/CD pipeline and Kubernetes deployment
senior-security - For security audits and penetration testing
Composability & Integration
Skill Composition Patterns This skill receives input from:
senior-architect - Architecture decisions inform project scaffolding choices
business-analyst-toolkit - Requirements define entity models and API contracts
product-manager-toolkit - User stories guide feature implementation
This skill provides output to:
senior-devops - Generated projects include Dockerfile and CI/CD configuration
senior-qa - Generated code includes test scaffolding for QA automation
technical-writer - OpenAPI specs feed API documentation generation
Recommended Skill Combinations Workflow Pattern 1: Microservices Development
senior-architect → senior-java → senior-devops
Use this pattern for designing and deploying microservices with proper architecture review.
Workflow Pattern 2: Full-Stack Feature
senior-java → senior-frontend → senior-qa
Use this pattern for end-to-end feature implementation with backend API, frontend UI, and testing.
Benefits
60% faster project scaffolding vs. manual setup
50% reduction in boilerplate code through generation
40% faster security implementation with templates
Consistent architecture across projects
Built-in security best practices
Comprehensive test coverage templates
Faster time-to-market for new services
Reduced technical debt through standardization
Lower maintenance costs through consistency
Next Steps
Run python scripts/spring_project_scaffolder.py my-service --type microservice --db postgresql to create your first project
Review generated structure and customize configuration
Generate entities with python scripts/entity_generator.py
Configure Spring Cloud for service discovery
Implement reactive patterns with WebFlux
Set up distributed tracing with Micrometer
Additional Resources
Documentation: Full skill guide and workflows available in this file
Support: For issues or questions, refer to domain guide at ../CLAUDE.md
Version: 1.0.0 | Last Updated: 2025-12-16 | Status: Production Ready