/java:setup [new | brownfield]from java
Use when the user asks to "set up the java plugin", "enable the Java standard in this project", "opt this project in", "install the Java engine", or "create the ArchUnit baseline". Installs the plugin's pinned JDT, Error Prone and ArchUnit tools, writes .claude/java-standards.json for a new or brownfield project, and optionally records the ArchUnit freeze baseline.
Ships in java. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Opt a project into the Java standard. Arguments given: $ARGUMENTS
Nothing here touches the project's pom.xml or build.gradle: the
plugin's tools run outside the build, and the opt-in lives in
.claude/java-standards.json.
Run node "${CLAUDE_PLUGIN_ROOT}/scripts/install-engine.js". It downloads
the pinned jars (about 40 MB, checksums verified) into the plugin's data
directory and compiles the engine. It needs a JDK 21 or newer on
JAVA_HOME or PATH; if it reports an older or missing JDK, stop and tell
the user. Offline: --from-dir <dir> installs from a directory holding the
jars under their Maven file names; JAVA_PLUGIN_ARTIFACT_BASE_URL points it
at a Maven mirror.
pom.xml or build.gradle(.kts), and the modules
(git ls-files for build files).src/main/java (e.g. com.acme.orders)..settings/org.eclipse.jdt.core.prefs.v2 package) and which to leave alone (e.g. a
frozen v1 package)..claude/java-standards.jsonShow the file you will write and ask before writing it. Every section is optional; omit what keeps its default.
{
"include": ["src/main/java/com/acme/orders/v2/", "src/test/java/**/v2/"],
"exclude": ["**/v1/", "**/generated/"],
"formatter": {
"enabled": true,
"profile": "config/eclipse-formatter.xml",
"scope": "changed-lines"
},
"checks": { "enabled": true, "disabledRules": [] },
"nullaway": { "enabled": true, "annotations": "jspecify" },
"archunit": {
"enabled": true,
"basePackage": "com.acme.orders",
"packages": ["com.acme.orders.v2.."],
"disabledRules": [],
"compile": "auto"
},
"javaVersion": null
}
include/exclude (the whole repository), the
plugin's default formatter profile unless the project has its own.include the new paths, exclude the legacy ones
(gitignore syntax), archunit.packages the new packages.javaVersion only if the build doesn't declare one the plugin can
read.Offer to record the current ArchUnit violations so only new ones block:
node "${CLAUDE_PLUGIN_ROOT}/scripts/check.js" --create-archunit-store, run
from the repository. It compiles the modules if their classes are stale
and writes .claude/archunit-store/; commit it with the config. The Stop
hook never creates or refreezes this store.
Summarize what was installed and written, and remind the user that
projects with old builds (Java 8 or 11) can list their JDKs in the
plugin's jdk_homes option (/config) so the project's own Maven or
Gradle runs on the right JDK.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub leonardo-marziali/agentic-development-kit --plugin java13 skills in this plugin
/checkUse when the user asks to "check the Java standard", "run the java rules", "check these Java files", "run NullAway / ArchUnit on this", or wants pre-existing Java files checked, not just the lines a session changed. Reports every finding of the plugin's source rules, build-file rules, NullAway and ArchUnit./formatUse when the user asks to "format Java", "format these Java files", "run the Eclipse formatter", or wants Java files the session never touched formatted. Formats whole Java files with the plugin's Eclipse JDT engine and the project's formatter profile, including pre-existing files./java-build-standardsUse when editing pom.xml, build.gradle or lombok.config in a project that follows the java-standards opt-in. Covers choosing and parameterizing dependency versions, declaring the Java version, Eclipse JDT formatting, Spring Modulith and ArchUnit together, the OpenAPI contract check, coverage gates and configuring Lombok with MapStruct through one lombok.config (rules B1 to B10).Other plugins' skills for the same job