Java Code Standards

Write and review Java 21 to the standards in this workspace: records and immutability, null and Optional handling, a domain exception hierarchy carrying stable ErrorCodes, logging, pattern matching and text blocks, naming, and method/class size limits. Use when writing a new Java class, reviewing a Java diff, cleaning up hard-to-read code, deciding on an exception shape or return type, or enforcing Spotless formatting. Do not use for endpoint shape (rest-api-contract), queries and entities (quarkus-persistence), or module structure and CDI (quarkus-service).

hi-donwi Updated

File contents

hi-donwi/Agent-Skills/tree/main/skills/java-code-standards commit 9ecb08d08a

Frequently asked questions

npx skillmds@latest add hi-donwi/java-code-standards