Agent skill

Container Native Deployment

by rrezartprebreza in 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.

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-4/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
~706 tokens
SKILL.md length
305 words
Files
4
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

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

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

What it does

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

Its SKILL.md is about 710 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 Backend development, Containers 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 Spring Boot 4 as an OCI image
  • AOT application
  • 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

    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 706 tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 305 words of instructions outside code blocks.

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

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). 305 words, ~706 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 Spring Boot 4 as an OCI image, JVM container, AOT application, or GraalVM native executable. Covers buildpacks, layers, runtime hints, probes, security, and verification.

Container and Native Deployment

Choose JVM, AOT cache, checkpoint/restore, or native from measured requirements.

Container image

  • Prefer Boot build-image tasks with Cloud Native Buildpacks for standard services.
  • Preserve dependency, loader, snapshot, and application layers for cache reuse.
  • Pin compatible builder/run image families and promote immutable digests.
  • Run as non-root and use a read-only filesystem where possible.
  • Inject secrets at runtime; never copy credentials into a build context or image layer.
  • Configure graceful shutdown and platform termination timing together.

Runtime behavior

  • Verify JVM memory and CPU ergonomics under real container limits.
  • Expose Actuator liveness and readiness probes separately.
  • Use a startup probe for expensive initialization.
  • Keep writable paths explicit and bounded.

Native image and AOT

  • Use GraalVM 25 or newer with Boot 4 native build support.
  • Register narrow RuntimeHints for reflection, resources, serialization, JNI, or proxies.
  • Respect the closed-world model: runtime bean topology and classpath cannot change.
  • Review profile and conditional-bean behavior during AOT processing.
  • Run native integration tests against the produced executable.

Supply chain

  • Generate an SBOM, scan the final image, and regularly rebuild on patched run images.
  • Sign and attest release images where the delivery platform supports it.

Examples

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

The good example uses Boot's jarmode=tools extraction in a builder stage. A normal Maven package does not create target/dependencies/ or target/application/ directories by itself.

Official sources

Gotchas

  • Agent assumes a passing JVM suite proves native compatibility - run the actual native executable.
  • Agent adds broad reflection metadata - use the smallest runtime hints possible.
  • Agent bakes secrets into layers - inject them only at runtime.
  • Agent makes liveness depend on remote systems - use readiness for traffic dependencies.
  • Agent selects native only for fashion - benchmark startup, memory, throughput, and build time.
  • Agent copies nonexistent target/dependencies directories - extract the packaged jar in a builder stage.

© 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-4/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—~706Automated 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 14 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 18 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 18 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 18 days ago
    Auto-check passed
  • Container Native Deployment

    rrezartprebreza/spring-boot-skills

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

    298 GitHub stars~781 tokensUpdated 18 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 18 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 18 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 Spring Boot 4 as an OCI image, JVM container, AOT application, or GraalVM native executable. Container Native Deployment is an agent skill from rrezartprebreza/spring-boot-skills. Use when packaging Spring Boot 4 as an OCI image, JVM container, AOT application, or GraalVM native executable.

When should I use Container Native Deployment?

Container Native Deployment fits situations like: packaging Spring Boot 4 as an OCI image; AOT application; 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-4/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-4/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 1 domain. As links in the text: docs.spring.io. 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 706 tokens (SKILL.md is roughly 2.8k 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.