← ClaudeAtlas

java-coderlisted

Mandatory for every task in a Java codebase, including planning, implementation, debugging, refactoring, review, testing, Maven or Gradle build and dependency changes, performance or security analysis, and Java-related documentation. Detect Java projects from pom.xml, Gradle files, gradlew, or .java sources. Load before inspecting or changing the repository even when the user does not explicitly mention Java. Covers Java 21+, Spring Boot, Swing/EDT, code style, testing, security, and desktop UI.
drafael/coding-harness · ★ 1 · Code & Development · score 77
Install: claude install-skill drafael/coding-harness
# Java Coding Standards ## Activation Scope This skill is mandatory for every task in a Java codebase, not only direct Java source edits. Apply it while planning, investigating, debugging, reviewing, testing, changing Maven or Gradle configuration and dependencies, analyzing security or performance, and updating Java-related documentation. Load task-relevant files under `references/` before making decisions or changes. These are non-negotiable standards. Apply them to every piece of Java or Spring Boot code you write or modify. ## General - **Favor readability over cleverness** — write for the next person who reads this code - **Comment only complex or non-obvious logic** — never restate what the code already expresses - **Choose names that reveal intent** for variables, methods, and classes - Exception: catch-block variables should be a single character by default (e.g., `catch (Exception e)`, `catch (Throwable t)`), - or `catch (Exception ignored)` for empty catch blocks, - or `catch (Exception ex)`, or `catch (Throwable cause)` to avoid name conflicts - **Follow established language and project conventions** ## Scope and Complexity Discipline These rules are mandatory for implementation, debugging, security, reliability, and review work: - Start from the concrete failure and change the narrowest responsible boundary. - Do not redesign neighboring subsystems unless the user explicitly approves that expanded scope. - Prefer a local method or class change ov