Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By leonardo-marzialiv1.1.0Apache-2.0In 1 marketplace
Java standards for Claude Code: Eclipse JDT formatting, source rules, NullAway and ArchUnit checks at Stop, and standards skills — opt-in per project.
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
JDK homes for project buildsjdk_homes
JDKs the plugin may use to run your projects' own Maven or Gradle, e.g. a Java 8 and a Java 11 home. Picked by the module's Java version.
string list
Plugin that makes Claude Code follow an opinionated standard for cloud-native, domain- and event-driven Java and Spring Boot services. It formats Java with a shipped Eclipse JDT engine and checks the standard with syntax-tree rules, [NullAway][nullaway] and [ArchUnit][archunit]. All of it runs outside the project's build, and every opinion is opt-in per project.
The standard itself is standards/java-standards.md (rules J1–J26, B1–B10, S1–S62, D1–D29, T1–T7).
Nothing opinionated happens until a project commits
.claude/java-standards.json (/java:setup writes it). Without it, the
plugin only formats the lines Claude changed, and only with the project's
own Eclipse formatter profile, so a legacy project keeps its
conventions.
With it, include and exclude (gitignore syntax) scope the standard to
part of a repository: for example a new v2 package next to a frozen v1.
When the session or a subagent stops, the Java files it touched are
formatted with Eclipse JDT, only on the lines that changed (new files
whole). The profile is, in order: the one the config names, a committed
Eclipse formatter export, .settings/org.eclipse.jdt.core.prefs, and — only
in an opted-in project — the plugin's default profile.
In an opted-in project, the same Stop hook checks the touched files and
blocks the stop while findings remain on lines the session changed
(findings on older lines are listed but never block). Lines the session
already committed still count as changed, and Claude's git commit is
denied while touched files are waiting on this check. Claude gets one
report with these sections, capped at 3 attempts per session:
@Autowired (S3), @Value("${…}") (S4), @Data on entities (S15),
expression = "java(…)" in mappers (S21), verbs in paths (S28), URLs in
production code (S60), controller paths not taken from
api-paths.properties (public) or internal-api-paths.properties
(@Hidden) (S62), three or more fields that share a prefix in
an entity, JDBC row, DTO or domain class (D23, a heuristic), and the JSpecify
annotation rules for J20 (@NullMarked packages, JSpecify as the one
nullness library,
return null only from @Nullable methods). REST path rules skip
@Hidden internal endpoints (S37) and check a ${…} path as resolved
from the module's src/main/resources/*.properties, and the test rules
(T2, T7) check *Test classes under src/test. S59 (generated OpenAPI
clients) and S61 (property key names) are guidance only.pom.xml / build.gradle(.kts).execute taking one
step-built *Command and returning nothing or an identifier; S12:
@Service only on application.*Service). They also check the S24
vocabulary of repositories, query services and mappers, S7 ports
without DTOs or entities, D15 domain purity, D19 reconstitute
callers, S47 audit fields, S40 error advice, S6 visibility and S25
cycles.When a rule genuinely doesn't apply, mark the line (or the line above) with
// java-rules:allow <ID> <reason>. The reason is required; an allow
without one suppresses nothing and is itself a finding (J0).
A tool that can't run (no JDK, no engine, a failing build tool) prints a warning and is skipped; it never blocks the session.
In an opted-in project, a ~9 kB must-follow digest of the standard and its scope is added to Claude's context at session start (again after a compaction) and when a subagent starts.
Nine skills carry the full standard, generated from the standard file by
scripts/build-skills.js: java-language-standards,
java-build-standards, spring-boot-architecture, mapstruct-mapping,
spring-rest-api-design, spring-data-persistence,
spring-boot-integrations, java-ddd-events, java-testing-standards.
Each starts by checking the config, and tells Claude to follow the existing
code instead when the file is out of scope.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
Needs jdtls-lsp from Anthropic's anthropics/claude-plugins-official; add it first.
/plugin marketplace add anthropics/claude-plugins-official/plugin install jdtls-lsp@claude-plugins-officialnpx claudepluginhub leonardo-marziali/agentic-development-kit --plugin java