affaan-m avatar

Java Coding Standards

This enforces modern Java conventions for Spring Boot and Quarkus services, automatically detecting your framework from the build file and applying the right idioms. It covers the basics you'd expect (naming, immutability, Optional and stream usage) plus framework-specific patterns like constructor injection in Spring versus field injection in Quarkus, Panache entity conventions, and reactive Uni/Multi pipelines. The reactive section is solid, calling out common mistakes like blocking inside async flows or double-subscribing to shared Unis. Useful if your team keeps mixing Spring and Quarkus idioms or needs consistent guardrails around Java 17+ features like records and sealed classes.

skills.sh installs
6.6K
GitHub stars
229.1K
last updated
Jul 14, 2026

Install

$ npx -y skills add affaan-m/everything-claude-code --skill java-coding-standards --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/affaan-m/everything-claude-code
Category
Java & JVM

More from affaan-m/everything-claude-code

All 256

Recommended

More Java & JVM
1affaan-m avatarspringboot-securityaffaan-m/everything-claude-codespringboot security6.4Kskills.sh installs
2affaan-m avatarjpa-patternsaffaan-m/everything-claude-codejpa patterns5.8Kskills.sh installs
3affaan-m avatarspringboot-verificationaffaan-m/everything-claude-codespringboot verification5.4Kskills.sh installs
4affaan-m avatarquarkus-verificationaffaan-m/everything-claude-codequarkus verification1.6Kskills.sh installs
5mindrally avatarquarkusmindrally/skillsExpert guidance for Quarkus framework development with Jakarta EE, MicroProfile, GraalVM native builds, and reactive programming patterns1.1Kskills.sh installs
6alinaqi avatarandroid-javaalinaqi/claude-bootstrapandroid java583skills.sh installs