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.
Install / Use
npx skills add benchflow-ai/skillsbench --skill senior-javaInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
SecuritySupported Platforms
Our assessment of senior-java
senior-java scores 94/100 on our quality scale, 332nd of 1,077 Security skills we index (top 31%).
Its SKILL.md is 20 KB long, well organised into 70 sections with 11 code examples: a thorough specification that gives an agent plenty to work with.
With 1,813 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so senior-java is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-10-02. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
senior-java compared with similar skills
All 4 of these similar skills score higher than senior-java; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| senior-java (this skill)by benchflow-ai | 94 | 1.8k | 2mo ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 9d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 9d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 11d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 11d ago | SKILL.md |
Frequently asked questions
- How do I install senior-java?
- Run
npx skills add benchflow-ai/skillsbench --skill senior-java. The install tabs above show the steps for each supported agent. - Which AI agents does senior-java work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is senior-java safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is senior-java still maintained?
- The repository was last updated about 2 months ago, so senior-java is actively maintained.
Skill content
View source on GitHub=== CORE IDENTITY ===
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
=== WEBSITE DISPLAY ===
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
=== RELATIONSHIPS ===
related-agents: [cs-java-engineer] related-skills: [senior-backend, senior-architect] related-commands: [] orchestrated-by: [cs-java-engineer]
=== TECHNICAL ===
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 ===
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"
=== ANALYTICS ===
stats: downloads: 0 stars: 0 rating: 0.0 reviews: 0
=== VERSIONING ===
version: v1.0.0 author: Claude Skills Team contributors: [] created: 2025-12-16 updated: 2025-12-16 license: MIT
=== DISCOVERABILITY ===
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
# Create microservice with PostgreSQL
python scripts/spring_project_scaffolder.py order-service --type microservice --db postgresql
# Create monolith with MySQL and security
python scripts/spring_project_scaffolder.py ecommerce-app --type monolith --db mysql --security oauth2
# Create reactive WebFlux service
python scripts/spring_project_scaffolder.py notification-service --type reactive --db mongodb
Generate JPA Entity
# Generate complete entity stack (entity, repository, service, controller, DTO)
python scripts/entity_generator.py Product --fields "id:Long,name:String,price:BigDecimal,category:String,createdAt:LocalDateTime"
# Generate with relationships
python scripts/entity_generator.py Order --fields "id:Long,customer:Customer,items:List<OrderItem>,total:BigDecimal" --relations "customer:ManyToOne,items:OneToMany"
Analyze Dependencies
# Check for vulnerabilities and updates
python scripts/dependency_analyzer.py pom.xml --check-security
# Generate upgrade report
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
Time: 30-45 minutes
-
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 # Edit src/main/resources/application.yml # Configure database, security, and service discovery -
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
# Run tests ./mvnw test ./mvnw verify # Integration tests -
Build and Deploy
./mvnw clean package -DskipTests docker build -t inventory-service:latest .
See spring-boot-best-practices.md for complete setup patterns.
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
See spring-boot-best-practices.md for API design patterns.
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
See jpa-hibernate-guide.md for optimization patterns.
4. Spring Security Implementation
Time: 1-2 hours
-
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
See spring-security-reference.md for security patterns.
Python Tools
spring_project_scaffolder.py
Generate production-ready Spring Boot project structures with complete configuration.
Key Features:
- 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
Common Usage:
# Microservice with PostgreSQL and JWT security
python scripts/spring_project_scaffolder.py user-service --type microservice --db postgresql --security jwt
# Monolith with MySQL and OAuth2
python scripts/spring_project_scaffolder.py ecommerce --type monolith --db mysql --security oauth2
# Reactive service with MongoDB
python scripts/spring_project_scaffolder.py notification-service --type reactive --db mongodb
# Help
python scripts/spring_project_scaffolder.py --help
entity_generator.py
Generate complete JPA entity stacks with repository, service, controller, and DTO.
Key Features:
- 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)
Common Usage:
# Basic entity
python scripts/entity_generator.py Customer --fields "id:Long,name:String,email:String"
# Entity with relationships
python scripts/entity_generator.py Order --fields "id:Long,customer:Customer,total:BigDecimal" --relations "customer:ManyToOne"
# Entity with audit fields
python scripts/entity_generator.py Product --fields "id:Long,name:String,price:BigDecimal" --auditable
# Help
python scripts/entity_generator.py --help
api_endpoint_generator.py
Scaffold RESTful API endpoints with validation and documentation.
Key Features:
- CRUD endpoint generation
- Request/response DTOs
- Jakarta validation annotations
- OpenAPI annotations
- Pagination supp
Truncated for display — read the full file on GitHub.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
