Skip to content
affaan-m avatar

Java Coding Standards

Java coding standards for Spring Boot and Quarkus services covering naming, immutability, Optional, streams, and CDI.

CCM score
73 of 100
skills.sh installs
14.5K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers naming, immutability, Optional and stream usage, exceptions, generics, dependency injection, reactive patterns, and project layout
  • Applies framework-specific rules by reading the build file: quarkus triggers Quarkus conventions and spring-boot triggers Spring conventions
  • Enforces constructor injection over field @Autowired in Spring, and flags @Singleton where interception or lazy init is needed
  • Designed for reviewing and writing Java 17+ code in Spring Boot or Quarkus services

Install

$ npx -y skills add affaan-m/ecc --skill java-coding-standards -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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; minimize shared mutable state
  • Fail fast with meaningful exceptions
  • Consistent naming and package structure
  • [QUARKUS]: Favor build-time over runtime processing; avoid runtime reflection where possible

Examples

Details

Repository
github.com/affaan-m/ecc
Categories
Java & JVM, Backend & APIs
First seen
Jul 14, 2026

Questions

What does the java-coding-standards skill do?

It sets coding standards for readable Java 17+ code in Spring Boot and Quarkus services, covering naming, immutability, Optional, streams, exceptions, generics, CDI, reactive patterns and project layout. It detects the framework from the build file and applies the matching conventions automatically.

How do I install the java-coding-standards skill?

Run npx -y skills add affaan-m/ecc --skill java-coding-standards -y inside your project. Once installed, the agent applies these Java standards when writing or reviewing Spring Boot or Quarkus code.

Where does java-coding-standards rank among Java and JVM skills?

It ranks in the top 3 of the Java and JVM category on Claude Marketplaces, alongside java-springboot, springboot-patterns and jpa-patterns. It stands out by covering both Spring Boot and Quarkus conventions in one set of standards.

More from affaan-m/ecc

All 257

Similar to Java Coding Standards

More Java & JVM