java-coding-standards
Enforce consistent Java conventions across Spring Boot and Quarkus services with automatic framework detection. Covers naming, immutability, dependency injection, reactive patterns, exception handling, and project structure tailored to each framework's idioms.
java-coding-standards applies framework-aware conventions for Spring Boot and Quarkus projects covering naming, immutability, dependency injection, and reactive patterns.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-27
java-coding-standards applies framework-aware conventions for Spring Boot and Quarkus projects covering naming, immutability, dependency injection, and reactive patterns. Enforce consistent Java conventions across Spring Boot and Quarkus services with automatic framework detection. Covers naming, immutability, dependency injection, reactive patterns, exception handling, and project structure tailored to each framework's idioms.
Use it when
- java-coding-standards detects Quarkus projects and applies framework-specific patterns including CDI dependency injection.
- java-coding-standards reviews and enforces modern Java 17 naming conventions including sealed classes.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
affaan-m/ECC/java-coding-standards · repository language: JavaScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What java coding standards does this skill cover for Spring Boot?
java-coding-standards enforces consistent Java conventions tailored to Spring Boot projects, including naming conventions, immutability patterns, exception handling strategies, and dependency injection best practices. The skill applies framework-specific idioms to help you structure Spring Boot services with proper bean configuration, REST controller naming, and centralized exception mapping aligned with Spring's ecosystem.
How does java-coding-standards handle Quarkus best practices?
java-coding-standards detects Quarkus projects and applies framework-specific patterns including CDI dependency injection, reactive Uni/Multi patterns, Panache entity conventions, and dev services testing approaches. It enforces naming and immutability standards within Quarkus's lightweight, container-native context while respecting the framework's distinct architectural choices.
What java 17 naming conventions are recommended?
java-coding-standards reviews and enforces modern Java 17 naming conventions including sealed classes, records for immutable data structures, and consistent package/class/method naming patterns. It validates that naming reflects intent clearly, follows camelCase for methods and variables, PascalCase for classes, and UPPER_SNAKE_CASE for constants across your codebase.
How does java-coding-standards structure Java projects with best practices?
java-coding-standards guides project layout organization covering package hierarchies, separation of concerns (controllers, services, repositories, entities), configuration management, and resource placement. It ensures your Spring Boot or Quarkus project follows industry-standard directory structures that scale with team size and promote maintainability.
Does java-coding-standards cover exception handling and null validation?
Yes. java-coding-standards enforces centralized exception mapping, proper exception hierarchy usage, and null handling strategies including Optional usage patterns and validation frameworks. It promotes fail-fast approaches, meaningful error messages, and framework-appropriate exception handlers for both Spring Boot and Quarkus environments.
What reactive patterns and dependency injection does this skill teach?
java-coding-standards covers reactive programming with streams and Optional, Spring's @Autowired/@Inject patterns, and Quarkus CDI conventions. It validates correct dependency injection configuration, reactive type usage (Uni/Multi in Quarkus, Mono/Flux in Spring), and helps avoid common code smells in both frameworks.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Java Coding Standards
Standards for readable, maintainable Java (17+) code in Spring Boot and Quarkus services.
When to Use
- Writing or reviewing Java code in Spring Boot or Quarkus projects
- Enforcing naming, immutability, or exception handling conventions
- Working with records, sealed classes, or pattern matching (Java 17+)
- Reviewing use of Optional, streams, or generics
- Structuring packages and project layout
- [QUARKUS]: Working with CDI scopes, Panache entities, or reactive pipelines
How It Works
Framework Detection
Before applying standards, determine the framework from the build file:
- Build file contains
quarkus→ apply [QUARKUS] conventions - Build file contains
spring-boot→ apply [SPRING] conventions - Neither detected → apply shared conventions only
Core Principles
- Prefer clarity over cleverness
- Immutable by default;
(truncated - see the full file via the links below)
File tree — 1 file
skills/java-coding-standards/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Apply Java coding standards to Spring Boot or Quarkus projects”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Learn production-ready patterns for Quarkus development, from reactive REST APIs and type-safe configuration to native image optimization and observability. This skill covers the full development lifecycle including dependency injection, data access with Panache, testing strategies, and containerization for serverless deployments.
Java Rules enforces coding standards across style conventions, framework usage, design patterns, and security practices. It covers Spring Boot, Spring Data JPA, Hibernate, build tools, and modern Java features like records and pattern matching. Apply these rules when writing or reviewing Java code to maintain consistency and best practices.
Master Spring Boot architecture through practical patterns for REST API design, service layering, data access, caching, and async operations. Covers controller-service-repository organization, validation, exception handling, pagination, and observability for production-grade Java applications.
Master test-driven development for Spring Boot services targeting 80%+ code coverage. This skill covers the complete TDD cycle—writing failing tests first, implementing minimal code to pass, refactoring safely, and enforcing coverage with JaCoCo. Learn unit testing with JUnit 5 and Mockito, web layer testing with MockMvc, integration testing with SpringBootTest, and persistence layer testing with DataJpaTest and Testcontainers.
This skill equips you with proven patterns for Quarkus 3.x backend development, covering layered service design, Apache Camel routing to RabbitMQ, and Hibernate Panache persistence. Learn structured approaches to validation, async processing, logging context propagation, and environment-specific configuration for production-ready event-driven systems.
Java teaches Spring Boot 3.x development with enterprise architecture patterns, SOLID principles, and modern Java 17+ features. It covers layered code organization, RESTful APIs, proper exception handling, and testing strategies for production applications.
More skills graalvm (Apache-2.0) · spring-framework (Apache-2.0) · cpp-coding-standards (MIT) · java-architect (MIT)