java-docker — Claude Code skill: what it does, how to install
java-docker prepares lean, hardened Docker containers for Java and Spring Boot workloads with container-aware JVM flags.
LicenseRef-Proprietary 267 installs ★ 42 updated 2026-01-05
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a claude-codeWhat java-docker does
The skill guides your agent in drafting multi-stage container builds for Java services. When working with Spring Boot, it splits application artifacts using layertools. Dependency updates get cached cleanly.
Memory configuration addresses container constraints directly. The instructions inject UseContainerSupport, set MaxRAMPercentage to 75.0, pick G1GC, and activate ExitOnOutOfMemoryError. Runtimes older than Java 11 cannot inspect cgroup limits reliably, leading directly to OOMKilled terminations.
Hardening comes enabled in the generated files. Root execution is disabled via a dedicated app user, and readiness probes link to actuator/health.
What it helps with
- write a multi-stage Dockerfile for a Spring Boot service
- tune container-aware JVM memory flags to prevent sudden kills
- shrink container footprint using Alpine or Distroless bases
- isolate the runtime process under an unprivileged user
Example prompts for the agent
- Create a multi-stage Dockerfile for my Spring Boot app on Java 21
- Configure JVM container options with MaxRAMPercentage set to 75.0
- Harden this Java Docker container with a non-root user and distroless base
How to install java-docker
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a claude-code2Manually: put the files in place
~/.claude/skills/java-docker/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/java-docker/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a codex2Manually: put the files in place
.agents/skills/java-docker/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a cursor2Manually: put the files in place
.cursor/skills/java-docker/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pluginagentmarketplace/custom-plugin-java skills/java-docker2Manually: put the files in place
.github/skills/java-docker/SKILL.md1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a gemini-cli2Platform CLI
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-java --path skills/java-dockerManually: put the files in place
.devin/skills/java-docker/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about java-docker
How to install java-docker in Claude Code?
Run npx skills add pluginagentmarketplace/custom-plugin-java --skill java-docker -a claude-code in your terminal. The configuration installs to ~/.claude/skills/java-docker/SKILL.md.
What does java-docker do?
It standardizes Java containerization workflows. The skill sets up dependency caching for Spring Boot, configures JVM heap parameters, and removes root privileges from production images.
Which base container images are supported?
It supports Temurin, Alpine, and Distroless targets. The distroless setup delivers the smallest image around 80MB without shell binaries, while Temurin Alpine lands around 100MB.