Agent skill

Container Native Deployment

by rrezartprebreza in rrezartprebreza/spring-boot-skills

A skill your agent uses when packaging a Spring Boot 3 application as an OCI image or GraalVM native executable.

MITAuto-check passedBackend & APIs

Install Container Native Deployment

skills CLI
$ npx skills add rrezartprebreza/spring-boot-skills --skill container-native-deployment -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rrezartprebreza/spring-boot-skills container-native-deployment --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rrezartprebreza/spring-boot-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/spring-boot-3/container-native-deployment .claude/skills/container-native-deployment && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
container-native-deployment
GitHub stars
298
Token cost
~781 tokens
SKILL.md length
345 words
Files
4
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when packaging a Spring Boot 3 application as an OCI image or GraalVM native executable.

  • Packaging a Spring Boot 3 application as an OCI image
  • SKILL.md covers Container image, Runtime behavior, Native image and Supply chain, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • GraalVM native executable

What it does

Container Native Deployment is an agent skill from rrezartprebreza/spring-boot-skills. Use when packaging a Spring Boot 3 application as an OCI image or GraalVM native executable. Covers buildpacks, layered images, JVM containers, AOT hints, probes, security, and verification.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `agents/openai.yaml`).

It sits in Backend & APIs, covering Containers, Backend development and Deployment. It works with Spring Boot. The repository describes itself as: Production-grade Claude Code and Codex skills for Spring Boot developers. The licence is MIT.

When your agent uses it

  • Packaging a Spring Boot 3 application as an OCI image
  • GraalVM native executable

Example prompts

  • “/container-native-deployment”

What it can do on your machine

Read from SKILL.md and the folder at commit f0c06a0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.spring.io
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Container Native Deployment loads about 781 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 345 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~781

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rrezartprebreza/spring-boot-skills at commit f0c06a0, republished under its MIT licence (© rrezartprebreza). 345 words, ~781 tokens.

Download SKILL.mdSave it as .claude/skills/container-native-deployment/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
container-native-deployment
description
Use when packaging a Spring Boot 3 application as an OCI image or GraalVM native executable. Covers buildpacks, layered images, JVM containers, AOT hints, probes, security, and verification.

Container and Native Deployment

Choose JVM or native from measured startup, memory, throughput, and build constraints.

Container image

  • Prefer the Spring Boot build-image task with Cloud Native Buildpacks for standard services.
  • Keep dependency and application layers separate to maximize cache reuse.
  • Pin builder and run-image families in reproducible release pipelines.
  • Run as a non-root user on a read-only filesystem where the application permits it.
  • Supply secrets at runtime; never bake credentials or environment files into an image.
  • Configure graceful shutdown and align platform termination grace with application timeouts.

Runtime behavior

  • Set memory and CPU limits, then verify JVM ergonomics inside those limits.
  • Expose dedicated readiness and liveness probes through Actuator.
  • Keep startup probes for slow initialization instead of weakening liveness.
  • Write temporary files only under an explicit writable location.

Native image

  • Use Spring AOT and the supported GraalVM native build tools.
  • Add RuntimeHints for reflection, resources, serialization, or proxies that analysis cannot infer.
  • Avoid runtime bean-shape changes and other closed-world violations.
  • Run native integration tests; a successful JVM test suite is not sufficient.

Supply chain

  • Generate an SBOM, scan the final image, and patch builder/run images regularly.
  • Use immutable image digests for promotion between environments.

Examples

  • See examples/good-dockerfile and examples/bad-dockerfile.

The good example targets Boot 3.3+ and uses jarmode=tools extraction in a builder stage. For Boot 3.0-3.2, use the older -Djarmode=layertools ... extract command. A normal Maven package does not create target/dependencies/ or target/application/ directories by itself.

Official sources

Gotchas

  • Agent copies one fat jar into a mutable root container - use layers and a non-root runtime.
  • Agent bakes secrets into image layers - inject secrets only at runtime.
  • Agent adds broad reflection configuration to make native builds pass - register narrow runtime hints.
  • Agent uses liveness to test every dependency - use readiness for traffic-affecting dependencies.
  • Agent chooses native without measuring throughput and build cost - benchmark both deployment modes.
  • Agent copies nonexistent target/dependencies directories - extract the packaged jar in a builder stage.
  • Agent uses jarmode=tools on Boot 3.0-3.2 - use layertools until the project reaches Boot 3.3.

© rrezartprebreza, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files in skills/spring-boot-3/container-native-deployment of rrezartprebreza/spring-boot-skills.

  • SKILL.md
  • agents/openai.yaml
  • examples/bad-dockerfile
  • examples/good-dockerfile

Open the folder on GitHubat commit f0c06a0

Compare with similar skills

Container Native Deployment next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Container Native Deployment compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Container Native Deployment this skillrrezartprebreza/spring-boot-skills298—~781Automated safety check: PassMIT
Spring Boot DeploymentHoangNguyen0403/agent-skills-standard571—~515Automated safety check: PassMIT
Dr Jskilljdubois/dr-jskill342—~4.6kAutomated safety check: NotesApache-2.0
AI ServerOpentrons/opentrons523—~2.5kAutomated safety check: NotesApache-2.0
Spring Boot Skillpiomin/sample-spring-modulith144—~668Automated safety check: PassNone
Spring Boot Project Creatorgiuseppe-trisciuoglio/developer-kit356—~3.4kAutomated safety check: NotesMIT

Similar skills

  • Spring Boot Deployment

    HoangNguyen0403/agent-skills-standard

    Deploy Spring Boot apps with Docker, GraalVM native images, and graceful shutdown.

    571 GitHub stars~515 tokensUpdated today
    Backend & APIsAuto-check passed
  • Dr Jskill

    jdubois/dr-jskill

    Creates Java + Spring Boot projects: Web applications, full-stack apps with Vue.js or Angular or React or vanilla JS, PostgreSQL, REST APIs, and Docker.

    342 GitHub stars~4.6k tokensUpdated 9 days ago
    Backend & APIsAuto-check: notes
  • AI Server

    Opentrons/opentrons

    Conventions for the opentrons-ai-server FastAPI service — project structure, uv dependency management, settings, testing, Docker, and deployment.

    523 GitHub stars~2.5k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Spring Boot Skill

    piomin/sample-spring-modulith

    Build Spring Boot 4.x applications following the best practices.

    144 GitHub stars~668 tokensUpdated 13 days ago
    Backend & APIsAuto-check passed
  • Spring Boot Project Creator

    giuseppe-trisciuoglio/developer-kit

    Creates and scaffolds a new Spring Boot project (3.x or 4.x) by downloading from Spring Initializr, generating package structure (DDD or Layered architecture), configuring JPA, SpringDoc OpenAPI…

    356 GitHub stars~3.4k tokensUpdated 29 days ago
    Backend & APIsAuto-check: notes
  • Model Deployment

    secondsky/claude-skills

    Deploy ML models with FastAPI, Docker, Kubernetes. An agent skill from secondsky/claude-skills.

    227 GitHub stars~2.4k tokensUpdated 11 days ago
    DevOps & CloudAuto-check passed

More from rrezartprebreza/spring-boot-skills

All 51 skills in this repo
  • AI Observability

    rrezartprebreza/spring-boot-skills

    A skill your agent uses when adding Spring AI-specific model observations, token usage, latency, externally configured cost attribution, advisor telemetry, or protected prompt and completion logging.

    298 GitHub stars~1.6k tokensUpdated 17 days ago
    Auto-check passed
  • API Versioning

    rrezartprebreza/spring-boot-skills

    A skill your agent uses when versioning Spring MVC or WebFlux APIs in Spring Boot 3 / Spring Framework 6.

    298 GitHub stars~516 tokensUpdated 17 days ago
    Auto-check passed
  • API Versioning

    rrezartprebreza/spring-boot-skills

    A skill your agent uses when versioning Spring MVC or WebFlux APIs in Spring Boot 4 / Spring Framework 7.

    298 GitHub stars~643 tokensUpdated 17 days ago
    Auto-check passed
  • Container Native Deployment

    rrezartprebreza/spring-boot-skills

    A skill your agent uses when packaging Spring Boot 4 as an OCI image, JVM container, AOT application, or GraalVM native executable.

    298 GitHub stars~706 tokensUpdated 17 days ago
    Auto-check passed
  • Domain Driven Design

    rrezartprebreza/spring-boot-skills

    A skill your agent uses when evolving aggregate invariants, value objects or domain events in an existing DDD-style Spring Boot 3 application, or when DDD is explicitly requested.

    298 GitHub stars~2.1k tokensUpdated 17 days ago
    Auto-check passed
  • Domain Driven Design

    rrezartprebreza/spring-boot-skills

    A skill your agent uses when evolving aggregate invariants, value objects or domain events in an existing DDD-style Spring Boot 4 application, or when DDD is explicitly requested.

    298 GitHub stars~2.1k tokensUpdated 17 days ago
    Auto-check passed

Works with

Questions about Container Native Deployment

What does Container Native Deployment do?

A skill your agent uses when packaging a Spring Boot 3 application as an OCI image or GraalVM native executable. Container Native Deployment is an agent skill from rrezartprebreza/spring-boot-skills. Use when packaging a Spring Boot 3 application as an OCI image or GraalVM native executable.

When should I use Container Native Deployment?

Container Native Deployment fits situations like: packaging a Spring Boot 3 application as an OCI image; graalVM native executable.

How do I install Container Native Deployment in Claude Code?

Run `npx skills add rrezartprebreza/spring-boot-skills --skill container-native-deployment -a claude-code`. Or copy the skill folder (skills/spring-boot-3/container-native-deployment in rrezartprebreza/spring-boot-skills) into .claude/skills/container-native-deployment in your project. Claude Code loads it when a task matches its description.

How do I install Container Native Deployment in Codex?

Run `npx skills add rrezartprebreza/spring-boot-skills --skill container-native-deployment -a codex`. Or copy the skill folder (skills/spring-boot-3/container-native-deployment in rrezartprebreza/spring-boot-skills) into .agents/skills/container-native-deployment in your project. Codex loads it when a task matches its description.

Can I use Container Native Deployment in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rrezartprebreza/spring-boot-skills --skill container-native-deployment -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/container-native-deployment, .gemini/skills/container-native-deployment, .github/skills/container-native-deployment and .opencode/skills/container-native-deployment in your project.

What does Container Native Deployment need to run?

SKILL.md names no scripts, command-line tools or credentials: Container Native Deployment is instructions for the agent only.

Does Container Native Deployment access the network?

SKILL.md names 2 domains. As links in the text: docs.spring.io and github.com. This is read from the text; nothing was executed.

Is Container Native Deployment safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Container Native Deployment use?

Container Native Deployment is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Container Native Deployment use?

About 781 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Container Native Deployment?

Skills that share tags, products or a category with Container Native Deployment: Spring Boot Deployment (HoangNguyen0403/agent-skills-standard, 571 stars), Dr Jskill (jdubois/dr-jskill, 342 stars), AI Server (Opentrons/opentrons, 523 stars) and Spring Boot Skill (piomin/sample-spring-modulith, 144 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Container Native Deployment?

rrezartprebreza (a GitHub user) maintains it in rrezartprebreza/spring-boot-skills, which has 298 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on September 21, 2026.

Source: rrezartprebreza/spring-boot-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.