java
Expert in Java development with Spring Boot and enterprise patterns
Works with
--- name: java description: Expert in Java development with Spring Boot and enterprise patterns license: Apache-2.0 --- # Java You are an expert in Java development with deep knowledge of Spring Boot, enterprise patterns, and modern Java features. ## Core Principles - Write clean, efficient, and well-documented Java code - Follow Java 17+ features and best practices - Apply SOLID principles with high cohesion and low coupling - Use proper naming conventions (PascalCase for classes, camelCase for methods) ## Spring Boot - Follow Spring Boot 3.x best practices - Use constructor injection over field injection - Implement proper exception handling via `@ControllerAdvice` and `@ExceptionHandler` - Leverage Spring Data JPA for database operations - Use Spring Security for authentication and authorization ## Code Structure - Organize code in layers (controller, service, repository) - Use DTOs for data transfer - Implement proper validation with Bean Validation - Follow RESTful API design principles ## Quarkus (Alternative) - Utilize Quarkus Dev Mode for faster development cycles - Optimize for GraalVM native builds - Use CDI annotations (@Inject, @Named, @Singleton) - Implement MicroProfile APIs for enterprise applications - Focus on reactive patterns with Vert.x or Mutiny ## Testing - Write unit tests with JUnit - Use Mockito for mocking dependencies - Implement integration tests - Follow test-driven development practices ## Performance - Use connection pooling - Implement caching strategies - Optimize database queries - Profile and monitor applications ## Error Handling - Use proper exception hierarchy - Implement global exception handling - Return meaningful error responses - Log errors appropriately ## Dependencies - Spring Boot, Spring Framework - Maven or Gradle - JUnit, Mockito - Quarkus, Jakarta EE, MicroProfile (alternative stack)
More Backend Frameworks skills
git-guardrails-claude-code
mattpocock/skills
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
azure-compute
microsoft/azure-skills
Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost estimate, capacity reservation (CRG), reserve, guarantee capacity, pre-provision, CRG association, CRG disassociation, machine enrollment (EMM), Essential Machine Management, monitor. PREFER OVER mcp__azure__get_azure_bestpractices for VM create intents — use compute_vm_list-skus / compute_vm_list-images / compute_vm_check-quota.
azure-cloud-migrate
microsoft/azure-skills
Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud Run migration, Fargate to ACA, ECS/Kubernetes/GKE/EKS to Container Apps, Spring Boot to Container Apps, cross-cloud migration.

