affaan-m avatar

Java Coding Standards

Enforces Java 17+ conventions across Spring Boot and Quarkus projects, with automatic framework detection from your build file. Covers the practical stuff: naming (PascalCase classes, camelCase methods), immutability defaults with records, Optional instead of nulls, constructor injection patterns, and Quarkus-specific bits like Panache entities with public fields and reactive Uni/Multi pipelines. Also handles exception mappers, project layout, and the subtle differences between Spring's @Service/@RestController and Quarkus's @ApplicationScoped/@Path resources. Useful during code reviews or when onboarding developers who need consistent patterns without memorizing framework quirks. The Quarkus reactive guidance alone saves you from common blocking mistakes in event loop contexts.

skills.sh installs
6.2K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --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/ecc
Categories
Frontend Development, Code Review & Quality, Java & JVM
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1vinvcn avatarimprove-codebase-architecturevinvcn/mattpocock-skills-zh-cn扫描代码库中的深化机会,生成可视化 HTML 报告,然后围绕你选中的候选项继续追问。6.1Kskills.sh installs
2affaan-m avatarremotion-video-creationaffaan-m/eccBest practices for Remotion - Video creation in React. 29 domain-specific rules covering 3D, animations, audio, captions, charts, transitions, and more.6Kskills.sh installs
3forcedotcom avatarplatform-custom-tab-generateforcedotcom/sf-skillsUse this skill when users need to create or configure Salesforce Custom Tabs. Trigger when users mention tabs, navigation tabs, object tabs, web tabs, Visualfor6Kskills.sh installs
4jeffallan avatarfullstack-guardianjeffallan/claude-skillsBuilds security-focused full-stack web applications by implementing integrated frontend and backend components with layered security at every level. Covers the 5.9Kskills.sh installs
5bencium avatarbencium-impact-designerbencium/bencium-marketplaceCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat5.9Kskills.sh installs
6figma avatarimplement-designfigma/mcp-server-guideTranslates Figma designs into production-ready code with 1:1 visual fidelity. Use when implementing UI from Figma files, when user mentions "implement design", 5.9Kskills.sh installs