How to install java
npx skills add https://github.com/mindrally/skills --skill javaFull instructions (SKILL.md)
Source of truth, from mindrally/skills.
name: java description: Expert in Java development with Spring Boot and enterprise patterns
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
@ControllerAdviceand@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)
Related skills
More from mindrally/skills and the wider catalog.

java-quarkus-development
Java Quarkus development guidelines for building cloud-native applications with fast startup, minimal memory footprint, and GraalVM native builds

java-spring-development
Java Spring Boot development guidelines with best practices for building robust, secure, and maintainable enterprise applications

jwt-security
Guidelines for implementing JWT authentication with security best practices for token creation, validation, and storage

kafka-development
Best practices for Apache Kafka event streaming and distributed messaging. Use when building event-driven architectures, implementing producer/consumer patterns, designing topic partitioning strategies, setting up Kafka Streams, configuring schema registries, or integrating change data capture pipelines.

kubernetes
Expert in Kubernetes and DevOps with infrastructure-as-code and cloud-native patterns

lottie
Expert guidelines for implementing performant Lottie animations on the web